I need to install network tools on a computer which has no network connection. It has working USB ports. Can I do this with apt? If so, how do I get network packages onto a USB stick?
Asked
Active
Viewed 619 times
2 Answers
1
You could download those deb files with
sudo apt download pkgname
as described here.
Do not be irritated by the following warning
Download is performed unsandboxed as root as file
The files will be in the directory where you issued the command
Copy the debs unto you stick. On the second machine you may either use gdebi (the graphical installer) or dpkg
to install the packages. Make sure you have all the dependent packages installed as well...

kanehekili
- 6,402
-1
the /etc/apt/sources.list support file:// protocol

user1086105
- 481
- 1
- 3
- 2
-
This answer isn't detailed enough to be useful. – BsAxUbx5KoQDEpCAqSffwGy554PSah May 24 '23 at 11:26