Step1 Pre Your System for Building Packages
sudo apt-get install build-essential checkinstall
sudo apt-get install cvs subversion git-core mercurial
sudo chown $USER /usr/local/src
sudo chmod u+rwx /usr/local/src
Step 2 Getting the Software You Want
MV .tar.gz .tar.bz2 .zip to /usr/local/src tar -xzvf tarballname.tar.gz tar -xjvf tarballname.tar.bz2
如果看不到./configure 文件,那么
autogen.sh
Step 3: Resolving Dependencies
./configure 的时候,如果有依赖的包未安装的什么的;解决依赖关系
To prepare, install the package apt-file, and then run sudo apt-file update.
apt-file search missingfilename.pc sudo apt-get install requiredpackage ./configure
Step 4: Build and install.
make
sudo checkinstall (instead of make install) if failed sudo checkinstall --fstrans=0