Installing a .deb?

5 posts
by ThePiKid » Tue Jan 01, 2013 9:28 pm
Im new to the Pi, and I need some help
I know how to use the 'sudo apt-get xxx' command, but how do I install a .deb from a USB stick?
Posts: 6
Joined: Wed Dec 26, 2012 10:08 am
Location: Wales
by joan » Tue Jan 01, 2013 9:48 pm
sudo dpkg -i debfile
User avatar
Posts: 4143
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by Cloudcentric » Tue Jan 01, 2013 9:58 pm ... asics.html

The most important first step is to ensure the .DEB is compatible with your Linux Distro..

The second most important is ensure you have the dependencies

This is taken from a blog:

When you download packages for Linux Debian or Ubuntu they usually come in the .deb format and are installed automatically by your local package manager. If you download them from the internet instead of the repositorial way however you are given the .deb file and have to deal with it yourself. To install it, open a terminal, direct it to the folder where it has been downloaded to with cd and use the dpkg command:

cd /home/ctest/Downloads/
dpkg -i random_name.deb

I know everything about nothing"
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am
by ThePiKid » Tue Jan 01, 2013 10:17 pm
Thank you for your help, I'm installing the raspbmc for a dual boot
Posts: 6
Joined: Wed Dec 26, 2012 10:08 am
Location: Wales
by RibShark » Thu Jan 03, 2013 9:03 pm
You could also install gdebi using the command:
Code: Select all
sudo apt-get install gdebi
This is a graphical tool (also CLI if you want it) that automatically installs the package and it's dependencies, saving quite a lot of time :D
Posts: 9
Joined: Wed Jul 04, 2012 6:10 pm