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

Re: apt-get



Barry Pollock wrote:
You wil have to create a Packages file and a Release file and a Package
file.
You can simply download the package and do a dpkg -i  p`fullpagagename' .


The Release file and Package file are optional. A minimally functional Packages file can be created by running 'dpkg-scanpackages ./ /dev/null | gzip -c - > Packages.gz' in the directory with the debs and then you can add it to your sources by adding to your sources.list:

deb file:///path/to/deb/directory ./

and running apt-get update or some variant thereof. That being said, dpkg -i is easier if there are no dependencies and as Emma pointed out most people who distribute debs bother to create a Packages.gz so that you can just add the http address to your source.list




Reply to: