Skip to content

Instantly share code, notes, and snippets.

@filipsPL
Created March 30, 2020 07:43
Show Gist options
  • Save filipsPL/6580962c26de3e84f6ec466d71c3209a to your computer and use it in GitHub Desktop.
Save filipsPL/6580962c26de3e84f6ec466d71c3209a to your computer and use it in GitHub Desktop.
Debian/Ubuntu: update pymol repo and (re)compile
#!/bin/bash -e
# Single time - install packages, clone repos
# apt-get install git build-essential python3-dev libglew-dev \
# libpng-dev libfreetype6-dev libxml2-dev \
# libmsgpack-dev python3-pyqt5.qtopengl libglm-dev libnetcdf-dev
# git clone --depth=1 https://github.com/schrodinger/pymol-open-source.git
# git clone --depth=1 https://github.com/rcsb/mmtf-cpp.git
# mv mmtf-cpp/include/mmtf* pymol-open-source/include/
# cd pymol-open-source
#
# update repositories
#
git pull
prefix=$HOME/progs/pymol-open-source-build
mkdir -p $prefix
python3 setup.py build install --home=$prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment