View Full Version : [ubuntu] get all package dependsies
tareq_linux
September 1st, 2008, 08:34 AM
hi,
how can i get all(download not install) dependencies for a package so i can install it offline ??
is there any program/command to this ??
thanks
knattlhuber
September 1st, 2008, 08:42 AM
hi,
how can i get all(download not install) dependencies for a package so i can install it offline ??
is there any program/command to this ??
thanks
sudo apt-get -d install packagename
Partyboi2
September 1st, 2008, 09:34 AM
You can also manually do it by going here (http://packages.ubuntu.com/) and searching for the package.
prshah
September 1st, 2008, 09:38 AM
how can i download not install dependencies for a package so i can install it offline ??
You can download and separately install packages with the below commands:
sudo apt-get --download-only install someprogramname
To install them, copy them to the same location on your target system, and issue the command
sudo apt-get install someprogramname _or_ if the repositories on the target machine is not updated then,
sudo dpkg -i /var/cache/apt/archives/*.deb
tareq_linux
September 1st, 2008, 11:46 AM
thanks every one !
but when i type the command where should the downloaded packages located?
in the current dir? i can't fine this on the current path!!
Regards
tareq_linux
September 1st, 2008, 11:53 AM
okay thanks i get it
the location is /var/cache/apt/archives/ as prshah stated
thanks all ;)
i love linux
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.