evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.74k stars 498 forks source link

Installing opensnitch #81

Closed Caver1 closed 7 years ago

Caver1 commented 7 years ago

trying to install opensnitch in Ubuntu 16.04. Installed dependencies as per the readme > cd to opensnitch>sudo python setup.py install I get back the following; Traceback (most recent call last): File "setup.py", line 26, in sys.version_info[0])) RuntimeError: Unsupported python version "2" python 3 is installed. Thanks, Doug

adisbladis commented 7 years ago

Replace sudo python setup.py install with sudo python3 setup.py install

@evilsocket The README is too distro specific, what do you say we remove it completely? I think it does more harm than good at the moment.

evilsocket commented 7 years ago

@adisbladis mmm not sure that removing it is a good idea, maybe improving it with instructions for other major distros would be better?

adisbladis commented 7 years ago

@evilsocket I think that is a good idea but maybe move it to the github wiki and have a reference to that in the readme

cwh1te commented 7 years ago

@evilsocket Long term, a wiki entry with instructions for a variety of distributions seems sensible. In the short term, based on your reasoning expressed elsewhere (https://github.com/evilsocket/opensnitch/issues/19), it seems like removing the instructions might make sense. If a dev on a system with 2 installed Python versions can't figure out how to run setup, are they really in your current target audience?

arielf commented 7 years ago

As a developer (not of opensnitch, but generally), I vote to keep the instructions. They are actually very helpful and allowed me to try this software for the 1st time quickly without getting into the nitty-gritty.

I would just change python to python3 in the setup line (which is what made it work for me).

evilsocket commented 7 years ago

@cwh1te well, not really ... the installation itself might be trivial, but not everybody remember the name of every single dependency on every possible distro ( for instance, I don't :D ), so having at least the "apt-get install ..." side of things would help, regardless what the audience is.