How to Install Anything in Ubuntu Condensed

This is a very condensed excerpt of the excellent article How to install ANYTHING in Ubuntu.

Search, install, remove available packages (preferred method)

sudo aptitude search ABC
sudo aptitude install ABC
sudo aptitude remove ABC

.deb (you have to take care of dependencies on your own)

sudo dpkg -i ABC.deb

.rpm (requires sudo aptitude install alien)

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 sudo aptitude install wine)

wine ABC.exe

6 Responses to “How to Install Anything in Ubuntu Condensed”

  1. Bibo Blog on May 1st, 2007 6:47 pm

    Uuuubuntu!…

    Es rumort wieder. Scheint immer im Frühlung zu passieren.Dell macht sich an Linux ran. Es soll ein Ubuntu werden.Außerdem hab ich bei Martin Ankerl eine nette Zusammenfassung über Softwareinstallationen unter Ubuntu gefunden….

  2. bibo on May 13th, 2007 9:51 am

    ich hab zu danken für die nette zusammenfassung :)

  3. How to Install Anithing in Ubuntu! « ahlan wa sahlan on July 27th, 2008 5:41 am
  4. Andy on December 11th, 2008 1:04 am

    These commands are to be used in an application called Terminal: u access : Application/Accessories/Terminal :
    (it would look something like this)

    @-desktop:~$

    user@user-desktop:~$ sudo aptitude search (what?)
    sudo aptitude install (what?)
    sudo aptitude remove (what?)
    there are so many commands that if you need to learn what they are suggest:
    https://help.ubuntu.com/community/UsingTheTerminal
    great place to start….if u get the chance to you should register and u can get help from community. For myself I am still learning..Good luck everyone;)

  5. usman on January 24th, 2009 4:54 am

    You can use * to install some ‘package’ with many .deb files.
    For example i was download openoffice3 package for my Kubuntu Intrepid Ibex. I choose OOo_3.0.0_LinuxIntel_install_en-US_deb.tar.gz from openoffice.org. After download finish and after extract that package i get many .deb files. So i used this command :

    sudo dpkg -i *.deb

    Better than install that many .deb files one by one.

    Sorry for my “broken” English. I hope you understand what i mean.

  6. falky on August 19th, 2010 5:26 pm

    msiexec /i for .msi (wine required) ;-)

Leave a Reply