Downloading with Pacman
-
2. Looking up Dependencies
First, to Find out Package’s Dependencies
First, install the need Tool:sudo pacman -Sy expac
And then get the Dependencie List:
expac -S '%r/%n: %D' [MYCOOLPACK]
So for example:
expac -S '%r/%n: %D' dkms
You can simply Copy the list to use on the Next Command…
-
3. Downloading Package
Now to Download Package and Dependencies
First, in case make a Target Directory:mkdir ~/Downloads/packages
And Change to it:
cd ~/Downloads/packages
Then to Download a Package with Dependencies use:
sudo pacman -Sw --cachedir ./ [MYCOOLPACKS]
So for instance:
sudo pacman -Sw --cachedir ./ bash kmod gcc make patch
Contents