Skip to content

Instantly share code, notes, and snippets.

@filipsPL
Created July 7, 2020 08:11
Show Gist options
  • Select an option

  • Save filipsPL/79da3606530545f7d032dbf7bc5567c9 to your computer and use it in GitHub Desktop.

Select an option

Save filipsPL/79da3606530545f7d032dbf7bc5567c9 to your computer and use it in GitHub Desktop.

Revisions

  1. filipsPL created this gist Jul 7, 2020.
    46 changes: 46 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    # Single time procedure

    ```bash
    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/
    ```

    # Update/compile

    This procedure can be executed to update and (re)compile pymol

    ```bash

    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
    ```