Skip to content

Instantly share code, notes, and snippets.

@paul-schwendenman
Last active September 21, 2015 22:04
Show Gist options
  • Save paul-schwendenman/861241ae31e7a01756df to your computer and use it in GitHub Desktop.
Save paul-schwendenman/861241ae31e7a01756df to your computer and use it in GitHub Desktop.
Ideas for installing sphinx

Installing

Add the universe repository:

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
sudo apt-get update

Install python virtual environment:

sudo apt-get install python-virtualenv

Make a tempory virtual enviroment in your folder:

virtualenv env

Activate the virtualenv:

source env/bin/activate

Install the requirements:

pip install -r requirements.txt

Removing

Remove virtualenv:

rm -r env/

Uninstall python-virtualenv:

sudo apt-get remove python-virtualenv
sudo apt-get autoremove

Remove the universe repository:

sudo mv /etc/apt/sources.list_backup /etc/apt/sources.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment