cd /home/share/
tar -zxf jpegsrc.v9a.tar.gz
cd jpeg-9a
yum -y install gcc gcc-c++
./configure --prefix=/home/software/jpeg
make -j2 && make install
vi /home/software/modules/jpeg
-
#%Module1.0
-
-
-
set JPEG /home/software/jpeg
-
prepend-path PATH ${JPEG}/bin
-
prepend-path LD_LIBRARY_PATH ${JPEG}/lib
-
prepend-path INCLUDE ${JPEG}/include
module load jpeg
cd /home/share/
rm -rf jpeg*
阅读(1686) | 评论(0) | 转发(0) |