viernes, 26 de octubre de 2012

Linux local deb package directory

To build file Package.gz inside deb directory use:

cd to parent directory
build 

dpkg-scanpackages $directory-name /dev/null | gzip -9c > $directory-name/Packages.gz
 
Update /etc/apt/sources.list

deb file:$parent-directory/ $directory-name/

execute
apt-get update
 
Look for package from file
apt-get install apt-file
apt-file update

 
apt-file search $file-name 
 

No hay comentarios:

Publicar un comentario