Today's article is about downloading .deb files with apt.

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,748
Reaction score
5,892
Credits
54,347
It's pretty easy - and pretty handy if you have an offline system that needs some software.


Feedback is awesome. Even if I don't edit this article, the feedback influences future articles.
 


CrazedNerd

Gold Member
Gold Supporter
Joined
Mar 31, 2021
Messages
604
Reaction score
241
Credits
5,111
nice command, "apt show ________". Soooo, if one would theoretically "sneaker net" the program to an offline computer, how would you find the package on the computer you just downloaded it to? Also, you talk about how to just download (without install), the package, what's the command for that? I've never done that before.
 

SlowCoder

Gold Member
Gold Supporter
Joined
May 2, 2022
Messages
456
Reaction score
314
Credits
3,611
nice command, "apt show ________". Soooo, if one would theoretically "sneaker net" the program to an offline computer,
Just transfer via USB stick?

Also, you talk about how to just download (without install), the package, what's the command for that?
 

CrazedNerd

Gold Member
Gold Supporter
Joined
Mar 31, 2021
Messages
604
Reaction score
241
Credits
5,111
Pedantic me. @CrazedNerd, I'm guessing you were critiquing, and not really needing that info. ;)
No I was just curious about how to download without an install, and I felt that sneakernet was usb transfer but wasn't sure.
 
Last edited:
OP
K

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,748
Reaction score
5,892
Credits
54,347
how would you find the package on the computer you just downloaded it to?

From the article:

When they’re done downloading you can find the file in your ~/Downloads directory combined into a single compressed file. In my case, the filename was openjdk-17-jre.tar.gq and the download completed without error.

Also, you talk about how to just download (without install), the package, what's the command for that?

From the article:

Code:
sudo apt download <package_name>

:D
 

CrazedNerd

Gold Member
Gold Supporter
Joined
Mar 31, 2021
Messages
604
Reaction score
241
Credits
5,111
oh, the article was longer than i thought it was, silly me...
*smh*

nvm, it was short, i think i was just looking at this on my phone. It's better to work on these kinds of things from my desktop.
 
OP
K

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,748
Reaction score
5,892
Credits
54,347
LOL It's nice if the questions and feedback come from folks who read the whole thing. There's even sometimes more information in the 'closure' section.

Also, my likes didn't go through earlier. I still gotta get used to this satellite connection.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top