Re: directly installing a deb package
--- Alex Hunsley <lard@miezekatze.com> (2001-10-03 22:10):
> 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.
You don't need to use apt for that, just dpkg. Try "dpkg -i
/tmp/filename.deb" and it'll install it for you. Apt is merely a
frontend to dpkg, have a look at dpkg's manpage for more info, and all
the other cool things you can do with it.
Cheers,
Sean
--
Sean Quinlan (smq@gmx.co.uk)
Reply to: