Creating a Local APT repository

09 Feb, 2007 · 1 min read · #linux #debian

I have long been wanting to make a local directory, which contains all my Debian packages, as a repository to be added in, /etc/apt/sources.list. Finally, I did it.

This is what I did,

pkg-scanpackages . /dev/null >Packages
deb file:$DEBS_DIR ./

If you liked what you read, consider subscribing to the RSS feed in your favourite feed reader.