1. 程式人生 > >【Linux開發】Linux下jpeglib庫的安裝詳解

【Linux開發】Linux下jpeglib庫的安裝詳解

echo "please add following lines in you /etc/profile"
  echo "("
  echo " tip:"
  echo " you can add these lines in a file named /etc/profile.jpeg,"
  echo " and then add a line on the end of /etc/profile:"
  echo " . /etc/profile.jpeg"
  echo " it is simple,:)"
  echo "):"
  echo " PATH=""$""PATH:$jpeg/bin"
  echo " CPLUS_INCLUDE_PATH=""$""CPLUS_INCLUDE_PATH:$jpeg/include"
  echo " LD_LIBRARY_PATH=""$""LD_LIBRARY_PATH:$jpeg/lib"
  echo " LIBRARY_PATH=""$""LIBRARY_PATH:$jpeg/lib"
  echo " MANPATH=""$""MANPATH:$jpeg/man"
  echo ""
  echo " export PATH CPLUS_INCLUDE_PATH LD_LIBRARY_PATH LIBRARY_PATH MANPATH"