$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Download Only Package With Dependencies on Debian Bullseye

December 10, 2021 | By the+gnu+linux+evangelist.

Downloading Package

  1. 2. Downloading pkgdownload

    Download pkgdownload for Debian GNU/Linux

    Get pkgdownload .sh for Debian

    Especially relevant: Right-Click on the Raw Content and Choose “Save Page as…“!

  2. 3. Installing pkgdownload

    Then to Set up pkgdownload on Debian
    First, Access the Target, usually in the Downloads folder:

    cd && cd Downloads

    To Check it’s there List the contents with:

    ls . | grep pkgdownload

    The grep Command Refine the output List showing only the entries Matching the Keyword.
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
    Then give Execution Permission:

    chmod +x ./pkgdownload*

    Again set ownership to the root User with:

    sudo chown root:root ./pkgdownload*

    Finally, to Setup pkgdownload:

    sudo mv ./pkgdownload* /usr/local/bin/pkgdownload

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    Again install the required wget with:

    sudo apt install wget

    Finally, to Test the Setup play:

    which pkgdownload

    Thanks to Wick3rman Work!

  3. 4. Downloading Packages

    Finally, to Download Package with Dependencies
    The General Form is:

    pkgdownload [MYPACKAGE]

    So for instance:

    pkgdownload broadcom-sta-dkms

    The Command take only the First, Argument, so for Multiple Packages you have to Loop it.
    And the Downloaded Packages are after automatically Compressed into a tar.gz Archive to facilitate the transfer.

Contents