13
2

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

1mon 9d ago by thebrainbin.org/u/Auster in linuxmint@lemmy.ml

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

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.

Ooooooooh

I use mainly Mint nowadays and Raspberrian as I need, so wasn't aware. =O