Posted inUncategorized

How to configure apt

cd to the folder where the deb files are kept.
Run following cmds

# dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

edit /etc/apt/sources.list file
deb file:/home/$username/repository/disk_1/ /

# apt-get update
# apt-get install <package name>

if apt-get update gives error for cdrom, run this command
# apt-cdrom add

Leave a Reply

Your email address will not be published. Required fields are marked *