sudo 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 freeglut3-dev
pip3 install PyQt5
git clone --depth=1 https://github.com/schrodinger/pymol-open-source.git
cd pymol-open-source
git clone --depth=1 https://github.com/rcsb/mmtf-cpp.git
cd mmtf-cpp
git pull
cd ..
cp -r mmtf-cpp/include/mmtf* include/
This procedure can be executed to update and (re)compile pymol
cd pymol-open-source
cd mmtf-cpp
git pull
cd ..
cp -r mmtf-cpp/include/mmtf* include/
# pymol
git pull
prefix=$HOME/progs/pymol-open-source-build
rm -rf build $prefix
mkdir -p $prefix
python3 setup.py install --home=$prefix
#python3 setup.py --glut install --home=$prefix
Install freetype from
conda
if anyone faces the problem offt2build.h
.