ThePiKid
Posts: 6
Joined: Wed Dec 26, 2012 10:08 am
Location: Wales

Installing a .deb?

Tue Jan 01, 2013 9:28 pm

Hello,
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?

User avatar
joan
Posts: 12738
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Installing a .deb?

Tue Jan 01, 2013 9:48 pm

sudo dpkg -i debfile

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: Installing a .deb?

Tue Jan 01, 2013 9:58 pm

http://www.debian.org/doc/manuals/debia ... 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"

ThePiKid
Posts: 6
Joined: Wed Dec 26, 2012 10:08 am
Location: Wales

Re: Installing a .deb?

Tue Jan 01, 2013 10:17 pm

Thank you for your help, I'm installing the raspbmc for a dual boot

RibShark
Posts: 9
Joined: Wed Jul 04, 2012 6:10 pm

Re: Installing a .deb?

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

Return to “General discussion”

Who is online

Users browsing this forum: DarrenHill, jardino, tadd, Yahoo [Bot] and 68 guests