Command to get url for package :
pacman -Sp PACKAGENAME
example if you want to get wine package:
pacman -Sp wine
If you want to know what dependency for package, use this command :
pactree -u PACKAGENAME
example:
pactree -u wine
Now, if you want get all url packages including it's dependency, you may combine the command as below:
pactree -u PACKAGENAME | xargs -I % pacman -Sp %
An example if you want to get all wine urls include it's dependency:
pactree -u wine | xargs -I % pacman -Sp %
That's it!
1 comment:
Post a Comment