Laptop Finder

Search 6437 Laptops in Seconds

Start Search

Best Match Guaranteed.

A Beginner's Guide on How to Install Linux Software

January 19, 2009 at 03:01:14 AM, by Blair Mathis Rating: 3 out of 5

Installing Linux applications can be a bit tricky... but Laptop Logic's Linux guru Blair Mathis walks you through the do's and dont's in this extensive how-to.

How to Install Linux Applications

There are several different types of installation files for Ubuntu, and few of them are as easy to install as the EXE installation files found on Windows. If you need to download an application to your system that is not found in Add/Remove Applications, then you will find yourself with one of several different types of files: .deb, .rpm, .bin, .tar.gz, INSTALL, .sh, etc.

These different files all have a different method of execution. Below is instructions on installing these file types. This tutorial assumes you are running the latest version of Ubuntu, 8.10 Intrepid.

Installing DEB files

A .deb file is the easiest file to install on Ubuntu--if you are given an option for the type of file you want to download, choose this option.

Save the file to your Desktop. Once it is there, simply double click on the file and the system package installer will open. Click the button in the top right corner that says "Install Package", and wait for it to say finished. Close the window. Your application is now installed and ready to use.

Installing RPM files

DEB files are the default installation file for Ubuntu--if at all possible, you should choose a .deb file over any other file type. However, sometimes an application is only available in one or two formats, none of which are Ubuntu-flavored. RPM is one such file type. In order to install this file, you will need to convert it into something Ubuntu knows how to install--a .deb file!

To do this, open the Terminal and type: sudo apt-get install alien.

You will be prompted to enter your password. After entering, press the return key. You will see some code scroll by quickly, and then you will be presented with the option to continue or quit the installation. Type 'Y' and press the return key.

You will see the Alien application installing; this app will be used to convert your RPM file into a DEB file. Installation could take several minutes depending on your Internet and computer speeds.

Once finished, move the RPM file to your Desktop and open the Terminal. Type: cd Desktop. This will point your Terminal to your Desktop directory where you have the RPM file saved.

Now, to install the RPM file, in the Terminal, type: sudo alien -k filename.rpm

Replace filename.rpm with the actual name of the RPM file, then press the return key. It will convert the RPM file to a DEB file. Once finished, install the DEB file using the method above.

Install BIN files

A BIN file is similar to an RPM file, in that Ubuntu can't understand how to install it until you convert it into a different format. To do this, follow these instructions.

Download and save the BIN file to your systems Desktop. Once saved, open the Terminal and type: cd Desktop

Once you've cd'ed to the Desktop, type the following line into the Terminal: sudo chmod +x filename.bin

Change filename.bin to the name of your BIN file and press the return key. Nothing will show up in the Terminal, nothing will be copied to the Desktop--it will appear as if nothing at all happened. This is not the case, however, so do not worry. Type ./filename.bin and press the return key.

The program will install from within the Terminal.

Installing a Tar.Gz Archive

Many programs are still wrapped in a tar.gz archive folder. This is similar to a ZIP file, in that all the files are contained inside, but you can't simply extract an executable file. Installing an application from tar.gz is called install from source. To do that, follow the next instructions.

Download the tar.gz to your desktop, right click and choose extract here. A folder by the same name will be extracted to your desktop. Now, open the Terminal and type: cd desktop.

This will let your work within the Desktop directory. Now, within the same Terminal window, type: cd foldername

This will let you work from within the folder you extracted from the tar.gz. Inside this folder will be a file that says program-installer. To install this, type in the Terminal: sh program-installer

This will install the program from within the Terminal. Simply follow the directions as they appear.

Page:1/1

Hp Pavilion Dv4-2169nr Entertainment Notebook Pc DV4-2169NR

OfficeMax In Stock 494.99 Go to store >>
Article rating
3 out of 5
3/5 - 126 votes
Your rating

  • Stumble This
  • Delicious
    Add to Delicious

Comments

  1. Ayesha james at 01:05, August 16, 2010

    Plz help i wanna dowload..softwares on it.. but i can't make them downloaded..

  2. Ayesha james at 01:05, August 16, 2010

    Plz help i wanna dowload..softwares on it.. but i can't make them downloaded..

  3. vivek at 09:18, June 20, 2010

    thank you very much.this helped me a lot.

  4. Rebel at 08:48, June 03, 2010

    Suppose I have Downloaded Nvidia driver from nvidia site and file is nvdia.bin. If i install this using above method and suppose i want to uninstall it how can i do that. Will i be able to see Nvidia in add/remove programs... can i directly use synaptic to uninstall it.

  5. Pallab at 04:05, April 26, 2010

    I am new on linux,I am trying to install software from software center but there the install option is not available please help me e-mail me at thekiller48@gmail.com

  6. Mobile Phone review, at 05:37, April 22, 2010

    Good info thanks for sharing with us. Nice information, valuable and excellent, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which we all need, thanks for all the enthusiasm to offer such helpful information here. best regard Mobile Phone

  7. ashish at 14:39, April 16, 2010

    It is totally useless.. those people who are beginner don't follow this it is just like a scrap for me.

  8. ashish at 14:39, April 16, 2010

    It is totally useless.. those people who are beginner don't follow this it is just like a scrap for me.

  9. ashish at 14:39, April 16, 2010

    It is totally useless.. those people who are beginner don't follow this it is just like a scrap for me.

  10. stenlyraje at 06:19, April 12, 2010

    this article helped me a lot to know about Linux installation regards http://www.bioenabletech.com/

  11. stenlyraje at 06:19, April 12, 2010

    this article helped me a lot to know about Linux installation regards http://www.bioenabletech.com/

  12. MAKDEN at 12:29, March 05, 2010

    Wrong title, this applies for Ubuntu, other flavors don't use DEB files.

  13. nedludd at 18:33, February 10, 2010

    Too much info for a beginner. Id start with synaptic to explain repositories, because the idea is kind of the opposite to win32 apps where you google,go to the site,download the .exe etc. Plus, it reinforces the idea to newbies that you MUST use the commandline, this is enough to switch people off since they consider the commandline a relic of the 80s. Ofcourse infact it is the most efficient tool to use a pc but thats not our fault.

  14. Godswill at 04:17, February 05, 2010

    I want a more comprehensive information on how to instal softwares.Put it in a way that can be understood by a beginer

  15. Godswill at 04:17, February 05, 2010

    I want a more comprehensive information on how to instal softwares.Put it in a way that can be understood by a beginer

  16. vinod at 04:06, February 02, 2010

    trdtydt

  17. irfan at 14:46, January 12, 2010

    pls

  18. ihage39 at 07:13, December 20, 2009

    when i double click the deb program located at desktop i get the message The utility ar is not in your PATH What do i have to do ?

  19. Bill Gates at 02:48, December 10, 2009

    Thanks Blair, keep up the bad work.

  20. william at 20:54, November 02, 2009

    Totally useless. I know nothing about linux and this article re-enforces that. what is sudo? how do you get files transferred to the desktop? Why are you using a terminal window in a graphical interface? sn't there an easier way in a GUI program to install files.? I guess I will install windows on my netbook after all. This is for the birds.

  21. muriuki at 06:34, September 30, 2009

    hi. im new to linux and all i can say is thankyou for this article. there's only one problem though. i cant install .tar.gz files. i tried following your instructions, but to no avail. more information will be greatly appreciated. thankyou

  22. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  23. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  24. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  25. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  26. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  27. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  28. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  29. tim at 12:52, May 14, 2009

    i can´t install tar.gz archives even if because i read ur article:(

  30. simeon m at 01:39, March 28, 2009

    am a dell laptop user i want to retrieve my document from crach hard drive

  31. Thumbnail at 11:13, February 20, 2009

    You've completely omitted the concept of the package manager which is far simpler than bothering to go online and find .deb files to install and you've equated linux to ubuntu. All in all 6/10 for effort but 2/10 for actual content. Seriously, calling yourself a guru and you give people this steaming pile of hotspur?

  32. Tyagi at 05:52, February 11, 2009

    linu admin begineer

  33. john at 08:34, February 04, 2009

    Why do you equate Linux with Ubuntu? Your title suggests that you are talking about Linux in general when you are only addressing the process for Ubuntu.

  34. john at 08:34, February 04, 2009

    Why do you equate Linux with Ubuntu? Your title suggests that you are talking about Linux in general when you are only addressing the process for Ubuntu.

  35. Gunthy at 17:04, January 29, 2009

    Nice article for the beginner, but maybe it would also be good to explain to the user what exactly is happening when entering certain console-commands. The ability to actually manage and install an application is one thing, knowledge about what you're doing & what happens 'behind the scene' however is far more important (imho).

  36. robotcalvin at 05:51, January 24, 2009

    sweet good article

  37. Andrew at 02:51, January 20, 2009

    Nice article. Good info.

Post Comment




Verification Code
Verify (type this text in the box below the image)

LaptopLogic Newsletter

Stay up-to-date with the latest mobile technology news and laptop reviews with our free newsletter! Get free tips, news and information from Laptop Logic and find the best laptop deals online.


We value privacy

Take the LaptopLogic Quiz!

Shop LaptopLogic

Powered by PriceGrabber.com

  • Hp Pavilion Dv4-2169nr Entertainment Notebook Pc DV4-2169NR

  • MacBook Pro MC374LL/A Notebook - Core 2 Duo 2.40 GHz - 13.30" - Aluminum

    Memory
    4000
    Processor
    Intel Core 2 Duo
    Memory
    8 GB
    Harddrive
    250 GB
    Display
    13.30
  • MacBook MC516LL/A Notebook - Core 2 Duo 2.40 GHz - 13.3" - White

    Memory
    2000
    Processor
    Intel Core 2 Duo
    Memory
    4 GB
    Harddrive
    250 GB
    Display
    13.3
    Weight
    75.2
  • iPad Wi-Fi 16GB Tablet

    Memory
    2000
    Processor
    Apple A4
    Memory
    4 GB
    Harddrive
    Not bits
    Display
    9.70
    Weight
    24
  • G550 Notebook

    Memory
    2000
    Processor
    Apple A4
    Memory
    4 GB
    Harddrive
    Not bits
    Display
    9.70
    Weight
    24

We use Ajax to load this content for performance. Please enable Javascript in your browser to access this content. You can also search for laptops without JS.

Same as above.

Same as above.

Tech words explained

"Operating System"
An operating system instructs a computer on how to work when turned on. Windows, Mac OS X, and Linux are operating systems. The most basic operating system uses only a command line.

Generate New Word See all Words...

Want to write for LaptopLogic? - We want you opinions!