To have a hard disk based local repository.... (for debian based distro)
1. Put all the debs in the folder (it can be copied from apt cache or compiled ones...) for eg. /home/~username/repository
2. change to directory
3. run dpkg-scanpackages
(This will created Packages.gz in the same folder)
4. Add the following line to /etc/apt/sources.list
That is all... fire up synaptic or adept or even apt for installation...
2. change to directory
- cd /home/~username/repository
3. run dpkg-scanpackages
- sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
(This will created Packages.gz in the same folder)
4. Add the following line to /etc/apt/sources.list
- deb file:/home/~username/repository ./
That is all... fire up synaptic or adept or even apt for installation...