Changes between Version 4 and Version 5 of MakeLocalUbuntuRepo
- Timestamp:
- 09/03/14 12:19:57 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MakeLocalUbuntuRepo
v4 v5 2 2 3 3 == Overview of Steps == 4 1.Install dpkg-dev 5 2.Put the packages in a directory 6 3.Create a script that will scan the packages and create a file apt-get update can read 7 4. Add a line to your sources.list pointing at your repository 4 5 1.Install dpkg-dev 6 2.Put the packages in a directory 7 3.Create a script that will scan the packages and create a file apt-get update can read 8 4. Add a line to your sources.list pointing at your repository 8 9 9 10 == Install dpkg-dev == … … 26 27 27 28 It's a simple three liner: 28 29 {{{ 29 30 #! /bin/bash 30 31 cd /usr/local/mydebs 31 32 dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz 32 33 34 }}} 33 35 Cut and paste the above into gedit, and save it as update-mydebs in ~/bin. (the tilde '~' means your home directory. If ~/bin does not exist, create it: Ubuntu will put that directory in your PATH. It's a good place to put personal scripts). Next, make the script executable: 34 36