How to download and install a .deb file [duplicate]

I have looked at several pages and still am not getting clear instructions on how to download and install a .deb file. Specifically I would like to download this one: http://packages.ubuntu.com/raring/i386/libhal1/download

How can I do this?

Answer

The package seems to be unavailable, but, very basically, here it is:

  1. Go to the site you would like to download from
  2. Download the *.deb file here
  3. Go to the directory where you saved (Most likely the downloads folder) cd ~/Downloads
  4. ls
  5. if the libhal1_0.5.14-8ubuntu1_i386.deb package is listed,
  6. sudo dpkg -i libhal1_0.5.14-8ubuntu1_i386.deb
  7. input password, y and it should install.

Attribution
Source : Link , Question Author : user309264 , Answer Author : Hellreaver

Leave a Comment