geting deb files to Synaptic Package Manager

Liz Young liz at kandew.com
Mon Feb 7 20:02:53 UTC 2005


Hi Ales,

On Sat February 5 2005 01:43 am, Aleš Žiberna wrote:
> I have downloaded a number of packages - .deb files from the net
> using another computer. I can not connect to the net usnig Ubuntu
> (modem problems). Is it possible to get this packages to be
> recognised by Synaptic Package Manager, so when I try to install one
> of them, all of them will be searched for dependecies.

For a disconnected system, I use the dpkg command. It also checks for 
(but will not try to download) dependencies.  For example, if you copy 
the debs to the /tmp folder (or wherever), you can install them from 
gnome-terminal with a command like "sudo dpkg -i *.deb".  Or, a single 
package with "sudo dpkg -i <filename>.deb". 
If you're missing a dependency, dpkg will complain and list what is 
needed.  Could be tedious if you're missing a lot of dependent 
packages.

Or, create a local apt repository, and update from there.  A document 
package called apt-howto is available in Universe.  Section 2.2 
describes how to use apt locally.  Here is a link to the online 
version:
http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-dpkg-scanpackages
for other languages:
http://www.debian.org/doc/user-manuals#apt-howto

HTH,
-Liz




More information about the ubuntu-users mailing list