Skip to content

Installation

keitaroyam edited this page Nov 27, 2024 · 2 revisions

If you have a recent version of CCP4, you typically do not need to install the monomer library separately. It's included within the CCP4 installation and accessible through the $CLIBD_MON environment variable. Please ensure you are using the latest version of CCP4.

Installation

To install the monomer library separately, follow these steps:

step 1. Clone the monomer library repository:

cd /where-you-want-to-install
git clone https://github.com/MonomerLibrary/monomers.git

step 2. Set the $CLIBD_MON environment variable to the path of the monomer library directory (for bash):

export CLIBD_MON=/where-you-installed/monomers/

Don't forget the trailing slash as some programs require it. You can add this line to your shell configuration file (e.g., ~/.bashrc). Remember to source the file after making changes for the changes to take effect (instructions for sourcing vary depending on your shell).

step 3. Check the installation by running the following command:

ls $CLIBD_MON/list/mon_lib_list.cif

This should show the path to the monomer library.

Note: Some CCP4 programs might override the $CLIBD_MON environment variable within their setup scripts, especially if they have their own copy of the monomer library.

Updating

cd /where-you-installed/monomers/
git pull

Clone this wiki locally