Skip to content

Installation

Gustavo Iñiguez Goia edited this page Jun 24, 2020 · 32 revisions

Installation using DEB packages

Note: This packages are provided to you in the aim of being useful and ease the installation. They have some no-no's (like calling pip on post install scripts), and apart from that don't expect them to be bug free or lintian errors/warnings free.


The reason for installing some dependencies using pip is that they are not always packaged in all distributions and all versions (python3-grpcio on Ubuntu is only available from >= 19.x). Moreover, Ubuntu 20.04 python3-grpcio (version 1.16.1) differs from official 1.16.x that causes some working problems.

If you still don't want to install those pip packages, you'll need to install the following:

$ sudo apt install python3-grpcio python3-protobuf python3-slugify

tl;dr

$ sudo dpkg -i opensnitch*.deb python-opensnitch-ui*.deb; sudo apt -f install

  • On Ubuntu you may need to add universe repositories.
  • If you install them using a graphical installer and fails, launch a terminal and type the above commands. See the common errors for more information.

You can download them from the release section.


These packages have been (briefly) tested on:

  • Daemon (v1.0.0-rc5):

    • RedHat Enterprise >= 7.0
    • Debian >= 8
    • LinuxMint >= 18
    • Ubuntu >= 16 (works also on 14.04, but it lacks upstart service file. dpkg must be at least .1.17.x)
  • UI (v1.0.0-rc4):

    • Debian >= 9
    • Ubuntu >= 16.x
    • LinuxMint >= 18 (If you have troubles installing it on LinuxMint, see: #16 or apt-get install g++ python3-dev python3-wheel)
  • Window Managers:

    • Cinnamon
    • KDE
    • Gnome-Shell (NOTE: on >= 3.30 [and maybe others] there's no systray icon)
    • Xfce

Note: You can install the UI from the sources, using pip3, and it'll work in some more distributions. Not in Fedora <= 29 due to lack of PyQt5 libraries.


Uninstalling opensnitch

deb packages:

  • apt remove opensnitch python3-opensnitch-ui

UI dependencies

  • pip3 uninstall grpcio-tools unicode_slugify pyinotify