How to install any package in Ubuntu


Picture:Clock Published on April 23rd, 2007 in Ubuntu

standard packages found in the repository (you can also use apt-get for this):

sudo aptitude search ABC (apt-cache search ABC)
sudo aptitude install ABC (sudo apt-get install ABC)
sudo aptitude remove ABC (sudo apt-get remove ABC)

.deb (watch out for unresolved dependencies!)

sudo dpkg -i ABC.deb

.rpm (use .deb packages preferably though)

sudo alien -i *.rpm

.tar.gz (requires sudo aptitude install checkinstall)

tar xzvf ABC.tar.gz
cd ABC
./configure
make
sudo checkinstall

.package, .sh, .bin (just download and execute)

chmod +x ABC
./ABC

.exe (requires you to have wine installed)

wine ABC.exe

Share This

Trackback URL for this post:
http://www.yatblog.com/2007/04/23/how-to-install-any-package-in-ubuntu/trackback/


Shout it out!