Wednesday, December 18, 2013

Linux: Installing from local deb files

In the event that you need to use aptitude to install from local deb files, try the following:
> cd
> apt-ftparchive --md5 packages ./ | gzip > ./Packages.gz
> echo "deb file:/ /" >> /etc/apt/sources.list
> aptitude update
Now you can do aptitude upgrade, aptitude install etc

No comments:

  • Book reviews