.

Wednesday, January 3, 2018

Offline download Arch/Manjaro packages

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:

Marsya said...
This comment has been removed by a blog administrator.

Setting DeepCool AK400 Digital CPU fan di Manjaro Linux

  Baru rakit PC dan pakai AK400 Digital untuk CPU fannya, setelah install linux ternyata tulisan digitalnya gak tampil, cari-cari di interne...