How to create a local machine debian repository
Useful if you have a .deb package you can't find in any other deb repository, from Linux Questions. I wanted to check out Kasablanca ftp client [don't bother, by the way, it's not very impressive, except it does support encrypted secure ftp. Gftp or Kbear are both ok, but somewhat lacking compared to Filezilla, which by the way runs fine under Wine except the settings don't stick at all, probably a permissions issue.
:: Quote :: First step:
:: Code ::
cd /home/username/downloads/debs [note: change to your deb directory path] mkdir binary mv *.deb binary dpkg-scanpackages binary /dev/null | gzip -9c > binary/Packages.gz Then as root: :: Code :: nano /etc/apt/sources.listAdd the line: :: Code :: deb file:/home/username/downloads/debs/binary/ ./ [note: change to correct path. There is a space between /binary/ and ./Then as root: :: Code :: apt-get updateIf you are looking for a more in depth article on creating a full debian repository, you can try this one More on gftp sftp setup here Back to top |
All times are GMT - 8 Hours |