[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: directly installing a deb package



On Wed, Oct 03, 2001 at 10:10:36PM +0100, Alex Hunsley wrote:
> I've downloaded a .deb package from the net and want to install it. How do I
> tell apt-get that I'm giving it a direct file name rather than having it
> looking at the places in sources.list? The package is sitting in /tmp at the
> moment, and I've tried adding file:/tmp to sources.list, but still no luck - I
> think it's adding things like stable or main to the path.

The short answer is, you don't tell apt-get anything. Apt-get is
merely a frontend for dpkg, so you'd install your package like this:

# dpkg -i package

where package is the full name of the .deb file Note that, like its
cousin rpm, dpkg won't track satisfy dependencies automagically, etc.,
etc.

HTH,
-- 
Mike Alborn <malborn@odoitau.dyn.dhs.org>
# pgp keyid: C36DC30D

The longer the title, the less important the job.

Attachment: pgpto0wgr7qrW.pgp
Description: PGP signature


Reply to: