[APT-GET] Donwload deb withtou installing it

This commit is contained in:
ImmortalPC 2014-04-18 11:23:23 +02:00
parent bfaf39d7ab
commit 1c79ab5ed6
1 changed files with 6 additions and 0 deletions

View File

@ -14,3 +14,9 @@ apt-get update && apt-get dist-upgrade
# To install a new package(s)
apt-get install package(s)
# Download a package without installing it. (The package will be downloaded in your current working dir)
apt-get download modsecurity-crs
# Change Cache dir and archive dir (where .deb are stored).
apt-get -o Dir::Cache="/path/to/destination/dir/" -o Dir::Cache::archives="./" install ...