Installing MiModD - Examples¶
The simple case - all required software pre-installed¶
# system-wide installation
# requiring admin rights
sudo python3 -m pip install MiModD -v
Installation for just the current user¶
# no admin rights required
python3 -m pip install MiModD --user -v
Installation for the current user without pip on OS X¶
# MiModD-0.1.7.3 wheel file for Python 3.5 got downloaded
# to /Users/jsmith/Downloads
# and renamed (for readability of the example) MiModD-0.1.7.3-cp35.whl
python3 /Users/jsmith/Downloads/MiModD-0.1.7.3-cp35.whl --user
Installation for the current user without pip on Linux¶
# self-installing source zip file for MiModD-0.1.7.3 got downloaded
# to /home/jsmith/Downloads
python3 /home/jsmith/Downloads/MiModD-0.1.7.3-source-install.zip --user
Installation from scratch on a VERY naive Ubuntu system¶
sudo apt-get install zlib1g-dev
sudo apt-get install g++ python3-dev make
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo python3 -m pip install MiModD -v
Installation on a fresh Fedora 23 system¶
sudo dnf install zlib-devel
sudo dnf install python3-devel
sudo dnf install gcc
sudo dnf install gcc-c++
sudo dnf install redhat-rpm-config
python3 -m pip install MiModD --user -v
Installation into virtual environment¶
Requirement
Python 3.4+
# create virtualenv named wgs
# assuming there is no pip installed with system python3
python3 -m venv wgs --without-pip
# activate the virtualenv
# will need to do this at the beginning of every new session
. wgs/bin/activate
# get pip into virtualenv and install MiModD
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install MiModD -v
# remove link to python if you are using MiModD from Galaxy
rm wgs/bin/python
# end the virtualenv session
deactivate