Linux Mint datahoarding/backup tip: “apt download” fetches the .deb files of both the package and its dependencies

#linuxmint #datahoarding

E.g.:

  • apt download vlc
  • apt download dolphin

Only problems are it requires sudo, it only works with one package at a time (so apt download vlc dolphin won’t work), and the script that comes with it for easy installation runs apt (but replacing apt for dpkg -i solves that).

There’s also apt-get download, which doesn’t require sudo nor comes with a .sh file expecting apt, but it won’t download dependencies either.

Hope it helps someone. =)

@linuxmint@lemmy.ml

  • MachineFab812@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    iirc, this is standard behavior across Debian-based distros. apt-get may handle it slightly differently, but I’m sure there’s a switch for it, at worst.