Showing posts with label local repository. Show all posts
Showing posts with label local repository. Show all posts

Friday, January 11, 2008

എന്റെ ലിനക്സ് പരീക്ഷണങ്ങള്‍..

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

  • 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...