On Wed, 2001-10-03 at 23:10, 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. >
Normally dpkg -i package-name is enough, but if you want to use apt, copy that package in /var/cacha/apt/archives (if you use sid, with potato the location where apt keeps the package are), or try with apt-get -o dir::cache::archives="/tmp/" install package-name (you need to create a directory in temp, apt will tell the details you)... Andrea