Installation under Linux¶
This section lists the commands to install Pyrocko and its prerequisites on most popular Linux distributions.
System-wide installation from source¶
cd ~/src/ # or wherever you keep your source packages
git clone https://git.pyrocko.org/pyrocko/pyrocko.git pyrocko
cd pyrocko
python install.py deps system # installs prerequisites using apt/yum/pacman
python install.py system # installs with pip, but uses system deps
User installation from source into isolated environment¶
cd ~/src/ # or wherever you keep your source packages
git clone https://git.pyrocko.org/pyrocko/pyrocko.git pyrocko
cd pyrocko
python -m venv myenv
source myenv/bin/activate
pip install . # pip auto-resolves prerequisites (!)
pip install --only-binary :all: PyQt5 # for Snuffler
User installation from source using system packages for the prerequisites¶
cd ~/src/ # or wherever you keep your source packages
git clone https://git.pyrocko.org/pyrocko/pyrocko.git pyrocko
cd pyrocko
python -m venv --use-system-packages myenv
source myenv/bin/activate
python install.py deps system # installs prerequisites using apt/yum/pacman
python install.py user # installs with pip, but uses system deps
Distribution specific details and prerequisite package lists¶
For instructions on how to install Pyrocko on other systems or if the installation with any of the above procedures fails, see System specific installation instructions or Detailed installation instructions.