Manjaro Download Package and Dependencies Guide

August 30, 2020 | By the+gnu+linux+evangelist.

Downloading with Pacman

  1. 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…

  2. 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


QuickChic Theme • Powered by WordPress