Kodomo

Пользователь

Не получилось графическое окно потом открыть

wget http://sourceforge.net/projects/tcl/files/latest/download?source=files -O tcl-src.tar.gz tar xf tcl-src.tar.gz cd tcl8.5.11/unix/ ./configure --prefix=$HOME/soft/tcl --enable-treads make make install echo "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$HOME/soft/tcl/lib" >> ~/.bashrc source ~/.bashrc cd ~/soft

tar xf vmd-1.9.1.src.tar.gz mv plugins/ vmd-1.9.1/ cd vmd-1.9.1/plugins/

mv Make-arch Make-arch_orig grep -v " -lnetcdf" Make-arch_orig > Make-arch chmod +x Make-arch

export PLUGINDIR=$HOME/soft/vmd/plugins

make LINUXAMD64 TCLINC=-I$HOME/soft/tcl/include/ TCLLIB=-L$HOME/soft/tcl/lib make distrib

ln -s $PLUGINDIR/LINUXAMD64 .

cd ../

export VMDINSTALLLIBRARYDIR=$HOME/soft/vmd export VMDINSTALLBINDIR=$HOME/soft/vmd/bin export TCL_INCLUDE_DIR=$HOME/soft/tcl/include/ export TCL_LIBRARY_DIR=$HOME/soft/tcl/lib

./configure LINUXAMD64 IMD SILENT TCL PTHREADS OPENGL CUDA cd src/ make veryclean make make install

echo "alias vmd=~/soft/vmd/bin/vmd" >> ~/.bashrc echo "alias catdcd=~/soft/vmd/plugins/LINUXAMD64/bin/catdcd4.0/catdcd" >> ~/.bashrc

source ~/.bashrc