2

I need to install VNC in one Ubuntu machine. The problem is that machine is in a remote site with no internet access whatsoever.

I could download a VLC installer for Ubuntu and take it to the machine I want to install in, but...

The VLC site offers a "download" button but that button only calls the apt protocol. The site doesn't have a way to download a deb package or installer that I could take with me in a flash drive to install VLC in the isolated machine.

  • What alternatives do I have?
  • Can I somehow take the deb packages of a machine in which VLC is already installed? If so, how?

2 Answers2

2

You can change your apt-cache-path temporarily to a specific folder and download your package:

sudo apt-get -o dir::cache::archives="/new/cache/is/here" --download-only install vlc

If vlc is already installed:

sudo apt-get clean
sudo apt-get -o dir::cache::archives="/new/cache/is/here" --download-only --reinstall install vlc

or you can use apt-offline :)

repo management

change apt-cache folder

apt download-only / apt-offline

0

You can find the debian package on a machine where it is already installed under /var/cache/apt/archives

As an alternative you can also download the binary packages from here, depending on your Ubuntu version: https://launchpad.net/ubuntu/vivid/+source/vlc