Instalasi Molden di Ubuntu

Pointers for installing Molden from source


Linux distributions susch as Redhat, Ubuntu, Centos and probably many more have a machanism to download missing packages form the internet. The program yum implements this mechanism. You must run it as root and you are required to have an internet connection. You need yum to install packages required for compiling molden if they are by default not installed. This includes the gcc, g77 and gfortran compilers, the Xwindows and OpenGL include files and run time libraries.

yum install kernel-header.i386
            gcc-gfortran.i386 or gcc-g77.i386

The last package installs a version of libXmu library but forgets to create a link with To remedy this go to the directory /usr/lib and type: ln -s Now you are ready to compile molden. Untar the source code: tar -zxvf molden4.7.tar.gz cd molden4.7 edit the makefile and choose the g77 or gfortran compiler. make >& make.log

Ubuntu: Using apt-get instead of yum sudo apt-get install gfortran sudo apt-get install libX11-6 sudo apt-get install libX11-dev sudo apt-get install libgl1-mesa-glx sudo apt-get install libgl1-mesa-dev sudo apt-get install build-essential sudo apt-get install mesa-common-dev sudo apt-get install libglu1-mesa-dev sudo apt-get install libxmu-dev sudo apt-get install makedepend or xutils-dev sudo apt-get install wget



Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *