Created
June 6, 2012 15:49
-
-
Save saghul/2882835 to your computer and use it in GitHub Desktop.
Local APT repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create local repository | |
mkdir /location/debs | |
cp package-file.deb /location/debs | |
dpkg-scanpackages /location/debs /dev/null | gzip > /location/debs/Packages.gz | |
# Add repository to APT | |
deb file:/location debs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment