0

How can I download a .deb file in USB device and from that USB device install that package to other devices??

NerdOfCode
  • 2,608

1 Answers1

0

On another computer, open the terminal, and go the flash drive with the cd /media/your_username/drive_name command on Ubuntu. Next, run:

apt download package_name

and the .deb file will be downloaded onto the flash drive. Next, go onto the computer you would like to install the package on, and in a terminal, run:

sudo dpkg -i /path/to/deb/file.deb

Be sure that both machines have the same CPU architecture, or else there will be errors. If this is the case, just search for the deb file online for the right CPU architecture(i.e. x86_64)

Also, as noted by wjandrea, both computers should be the same version of Ubuntu, or you may run into problems.

user8292439
  • 3,878
  • 7
  • 32
  • 57