How To Install Firejail In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

How To Install Firejail In Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian?

firejail

Securely sandboxes processes to containers using built-in Linux capabilities.

Maintainer: Reiner Herrmann



Section: utils

Install firejail

  • Debian apt-get install firejail Click to copy
  • Ubuntu apt-get install firejail Click to copy
  • Alpine OS apk add firejail Click to copy
  • Arch Linux pacman -S firejail Click to copy
  • Kali Linux apt-get install firejail Click to copy
  • Fedora dnf install firejail Click to copy
  • Raspbian apt-get install firejail Click to copy

Securely sandboxes processes to containers using built-in Linux capabilities.

How to use firejail?

Below are few example commands for firejail that you can use in the terminal.

Integrate firejail with your desktop environment:
sudo firecfgClick to copy
Open a restricted Mozilla Firefox:
firejail firefoxClick to copy
Start a restricted Apache server on a known interface and address:
firejail --net=eth0 --ip=192.168.1.244 /etc/init.d/apache2 startClick to copy
List running sandboxes:
firejail --listClick to copy
List network activity from running sandboxes:
firejail --netstatsClick to copy
Shutdown a running sandbox:
firejail --shutdown=7777Click to copy
Installation of latest firejail command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.