I have downloaded the VLC tar.bz2 file and I want to install it onto another Ubuntu machine. How I can install offline ?

Dani AI

Generated

Two practical offline routes are realistic here: use Ubuntu binary packages (recommended) or build VLC from source. Building is possible (as suggested) but, as warned and ’s package list makes clear, VLC pulls many libraries and codec packages — reproducing all -dev packages and build tools offline is time consuming and error prone.

A reliable, repeatable method is to gather Debian packages on a machine that has internet access and copy them to the target system. The easiest ways are apt-offline (best if you cannot mirror repos) or the apt/apt-get download approach (best if you have a helper machine with the same Ubuntu release and architecture).

Example apt-offline workflow:

# on offline machine (creates request)
apt-offline set /tmp/vlc.sig --install-packages vlc

# on online machine (download everything)
apt-offline get /tmp/vlc.sig --bundle /tmp/vlc-bundle.zip

# back on offline machine (install bundle)
sudo apt-offline install /tmp/vlc-bundle.zip

Alternative using apt on an online machine: update, do a download-only install so .deb files land in /var/cache/apt/archives, copy those .debs to USB and run sudo dpkg -i /path/to/*.deb on the offline machine.

Troubleshooting notes: make sure the online helper uses the same Ubuntu release and CPU architecture; enable the same repositories (universe/multiverse) before downloading; if dpkg reports missing deps, you missed one or more .debs. If you must build from source, prepare matching -dev packages and build-essential on the helper machine first.

Recommended Answers

All 4 Replies

You have to extaract that file then compile from source.

tar -jxvf filename.tar.bz2

It will than create a folder in the same place you extracted it, once you in there you have to compile it

./configure
make
make install

You have to extaract that file then compile from source.

tar -jxvf filename.tar.bz2

It will than create a folder in the same place you extracted it, once you in there you have to compile it

./configure
make
make install

Generally correct, except for a couple of things. One is that you need to install as root, or use sudo. Second, there are likely a lot of missing dependencies, so either you'll need to disable those features with options to configure, or you will need to install those packages as well (probably from source). If you configure those things out of VLC, then you are going to lose a lot of functionality.

I agree in both points said. If I remember correctly, I spent one and a half days chasing dependencies before I could get yum to run properly(no --skip-broken).

So when ever I have one of those days I make lists. heres a list of what finally went in to get it to work.

Installed:
vlc.x86_64 0:1.1.7-1.fc14

Dependency Installed:
SDL_image.x86_64 0:1.2.10-1.fc13
a52dec.x86_64 0:0.7.4-15.fc11
aalib-libs.x86_64 0:1.4.0-0.18.rc5.fc12
bitstream-vera-fonts-common.noarch 0:1.10-18.fc12
bitstream-vera-sans-fonts.noarch 0:1.10-18.fc12
bitstream-vera-sans-mono-fonts.noarch 0:1.10-18.fc12
faad2-libs.x86_64 1:2.7-1.fc11
ffmpeg-libs.x86_64 0:0.6-4.20100704svn.fc14
fribidi.x86_64 0:0.19.2-2.fc12
ftgl.x86_64 0:2.1.3-0.3.rc5.fc13
lame-libs.x86_64 0:3.98.4-1.fc14
libcaca.x86_64 0:0.99-0.10.beta17.fc14
libcddb.x86_64 0:1.3.2-4.fc13
libdca.x86_64 0:0.0.5-5.fc12
libdvbpsi.x86_64 0:0.1.7-1.fc14
libebml.x86_64 0:1.0.0-1.fc14
libmad.x86_64 0:0.15.1b-13.fc12
libmatroska.x86_64 0:1.0.0-1.fc14
libmpeg2.x86_64 0:0.5.1-8.fc12
libprojectM.x86_64 0:2.0.1-7.fc14
librtmp.x86_64 0:2.3-2.fc14
libtar.x86_64 0:1.2.11-19.fc14
libtiger.x86_64 0:0.3.3-3.fc13
libupnp.x86_64 0:1.6.6-3.fc12
libva-freeworld.x86_64 0:0.31.1-1.sds4.fc14
lirc-libs.x86_64 0:0.8.7-1.fc14
live555.x86_64 0:0-0.27.2010.04.09.fc14
minizip.x86_64 0:1.2.5-2.fc14
twolame-libs.x86_64 0:0.3.12-4.fc11
vlc-core.x86_64 0:1.1.7-1.fc14
x264-libs.x86_64 0:0.0.0-0.28.20100706gitd058f37.fc14
xvidcore.x86_64 0:1.2.2-2.fc14
zvbi.x86_64 0:0.2.33-5.fc14

I have a Fedora 14 that I run it on.

When I have to do something like this, I take my smartphone (Google Nexus One) along with me, plug it in to the other machine (called tethering), Ubuntu recognizes it as a broadband modem and connects instantly to the internet, then I can install all this stuff from the repositories, including downloading and installing the dependencies automatically. If you don't have that, take it to a local WiFi hot spot and do the installation there.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.