Installation of PhyloBayes 2.3
Additional libraries
gsl-bin
libgsl0-dev
% sudo apt-get -y install gsl-bin libgsl0-dev
Procedure
Here is the procedure to install PhyloBayes from source code:
- The archive with the source code is downloaded from the web in
/home/bioubuntu
, decompressed and the newly created folder moved into/opt/bio/sources
.
- This folder should belong to
root
and its permissions set to755
.
% sudo chown -R root:root /opt/bio/sources/phylobayes2.3c % sudo chmod 755 /opt/bio/sources/phylobayes2.3c
- Once you are in
/opt/bio/sources/phylobayes2.3c
, compilation is easily done:
% cd sources_gsl % sudo make
- To make the application available to all, you need to edit the
/etc/profile
file by adding these lines at the very end:
# # PhyloBayes specific environment variables # PATH=/opt/bio/sources/phylobayes2.3c/data:$PATH PBPATH=/opt/bio/sources/phylobayes2.3c/aux