1

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?

Zanna
  • 70,465
Bev
  • 11
  • 1

2 Answers2

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 dpkgto 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