For a traditional Python installation of galaxy-lib, first set up a virtualenv for galaxy-lib (this example creates a new one in .venv) and then install with pip.

$ virtualenv .venv; . .venv/bin/activate
$ pip install galaxy-lib

When installed this way, galaxy-lib can be upgraded as follows:

$ . .venv/bin/activate
$ pip install -U galaxy-lib

To install or update to the latest development branch of galaxy-lib with pip, use the following pip install idiom instead:

$ pip install -U git+git://


Another approach for installing galaxy-lib is to use Conda (most easily obtained via the Miniconda Python distribution). Afterwards run the following commands.

$ conda config --add channels bioconda
$ conda install galaxy-lib

Other Applications

galaxy-lib is bundled with various other pieces of software that leverage it in various ways. Consider installing one those applications if they are correct for what you are trying to accomplish.