Open magenx opened 6 years ago
Indeed! Want to make a PR for the docs?
probably create local env?
That's the best method, which I also use locally. However, it takes quite a few steps to set up which are also different for several Linux distro's. So to keep the instructions easy, I have omitted that so far.
But feel free to submit good instructions for Centos?
Using pip-safe (uses virtualenvs seamlessly) in CentOS 7 and 8:
sudo yum install https://extras.getpagespeed.com/release-el$(rpm -E %{rhel})-latest.rpm
sudo yum install pip-safe
Then:
sudo pip-safe --system install mwscan
This installs symlink into /usr/local/bin/mwscan
, so simply typing mwscan
works fine (of course, provided that /usr/local/bin
dir is in the PATH
.
Alternatively, to install for current user only:
pip-safe --system install mwscan
This installs symlink over to ~/.local/bin/mwscan
, so typing mwscan
will work only for that user.
you need to check if python packages already installed and managed with yum or apt, instead of re-installing them with pip. this will break other python projects.