Laptop Finder

Search 6027 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

G71-340US Notebook

STAPLES In Stock 749.98 Go to store >>
HP Direct In Stock 699.99 Go to store >>
OfficeMax In Stock 749.99 Go to store >>
Article rating
3 out of 5
3/5 - 119 votes
Your rating

  • Stumble This
  • Delicious
    Add to Delicious

Comments

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

    pls

  2. 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 ?

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

    Thanks Blair, keep up the bad work.

  4. 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.

  5. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  15. 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?

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

    linu admin begineer

  17. 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.

  18. 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.

  19. 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).

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

    sweet good article

  21. 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

  • G71-340US Notebook

    Processor
    Intel Core 2 Duo Mobile
    Memory
    4000
    Memory
    8 GB
    Harddrive
    320 GB
    Weight
    107.52
    Display
    17.3
  • Inspiron 14 Notebook

    Processor
    Intel Core i3 Mobile
    Memory
    4000
    Memory
    4 GB
    Harddrive
    500 GB
    Weight
    79.36
    Display
    14
  • Pavilion Dv6-2150us Notebook

    Processor
    Intel Core i3 Mobile
    Memory
    4000
    Memory
    8 GB
    Harddrive
    320 GB
    Weight
    101.44
    Display
    15.6
  • Inspiron 15 Notebook

    Processor
    Intel Pentium Dual-Core Mobile
    Memory
    4000
    Memory
    4 GB
    Harddrive
    320 GB
    Weight
    92.8
    Display
    15.6
  • 13.3" MacBook Pro Notebook

    Processor
    Intel Core 2 Duo Mobile
    Memory
    2000
    Memory
    8 GB
    Harddrive
    160 GB
    Weight
    72
    Display
    13.3

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

"Mainstream/All-Purpose Laptop"
This is the standard laptop. Going between $600 and $1500 usually, mainstream notebooks offer reasonable performance (less than that of a desktop computer in most cases) at an acceptable weight (about 4-7lbs), being about 1.5 inches thick or less. Battery life generally goes up to about 4 hours, depending on processor, and feature 14â

Generate New Word See all Words...

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