if command -v apt-get; then
sudo apt-get update -q
sudo apt-get install -y -qq libnetfilter-queue1
curl -SsL -o opensnitch.deb https://github.com/evilsocket/opensnitch/releases/download/v1.5.2/opensnitch_1.5.2-1_amd64.deb
sudo dpkg -i opensnitch.deb
sudo apt-get install -y -f
sudo dpkg -i opensnitch.deb
rm -f opensnitch.deb
curl -SsL -o opensnitch-gui.deb https://github.com/evilsocket/opensnitch/releases/download/v1.5.2/python3-opensnitch-ui_1.5.2-1_all.deb
sudo dpkg -i opensnitch-gui.deb
sudo apt-get install -y -f
sudo dpkg -i opensnitch-gui.deb
rm -f opensnitch-gui.deb
curl -SsL -o firejail.deb https://github.com/netblue30/firejail/releases/download/0.9.72/firejail_0.9.72-apparmor_1_amd64.deb
sudo dpkg -i firejail.deb && rm -f firejail.deb
fi
if command -v dnf; then
sudo dnf install -y https://github.com/evilsocket/opensnitch/releases/download/v1.5.2/opensnitch_1.5.2-1_amd64.rpm
sudo dnf install -y https://github.com/evilsocket/opensnitch/releases/download/v1.5.2/opensnitch-ui-1.5.2-1.noarch.f29.rpm
fi