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

Re: Installing a single .deb file



Doh! forgot a step :0

On Mon, 2005-03-14 at 11:56 -0800, Rich Rudnick wrote:
> On Mon, 2005-03-14 at 13:47 +0000, Michael Sry wrote:
> > Hello,
> > I have got a single .deb file that I have downloaded, that I want to install 
> > and  that it is not in the package list in apt! Does any one know an easy 
> > way to install it?
> 
> Maybe not so easy to start with, but handier in the long run:
> 
> 1. Create a directory to keep stray debs in.
> 
> 2. Create a small shell script (scan), drop it into that directory:
> 	#! /bin/bash
> 	dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

2a. Add to your /etc/apt/sources.list
	# my debs
	deb file:[path_to_stray_deb_directory] ./

> 3. Drop the new deb in the stray deb directory.
> 
> 4. cd to the stray deb directory and run './scan' .
> 
> 5. Run apt-get/aptitude update
> 
> You can now manage your stray debs using apt-get/aptitude.
> 
> For any new deb, just repeat 3, 4 and 5.
> 
> 



Reply to: