Saturday, December 13, 2008

Linux Tips - 1

1. Install packages at the command: sudo dpkg -i packagename.deb
2. Compiling from source.
Grab the package's build dependencies with sudo apt-get build-dep packagename. Don't make install when you compile from source -- use Checkinstall instead. Checkinstall will create a Debian package and install it for you, so you can remove or upgrade the software more easily later on. After you've run ./configure; make, just run sudo checkinstall and answer a few simple questions.

No comments: