Installing VLC
Outcome: VLC is on the machine, and
you have run the one command that
proves it works — vlc --version — plus
its console twin.
Where to get it
Three honest routes:
- Your system's package manager
(Linux). This is the route the lab
took: Ubuntu 24.04's own build, VLC
3.0.20, installed as the
vlcpackage with its companions (vlc-bin,vlc-data,libvlc5,libvlccore9— the split is the distribution's, and the package manager assembles them for you). A distribution build trails the newest release a little and fits the system best. - The VideoLAN download page (Windows, macOS, and Linux bundles). The official installers from videolan.org are the ones to trust; VLC is popular enough that look-alike download sites wrap it in other people's installers. If a "VLC download" arrives with extra offers, it didn't come from VideoLAN.
- Your phone's store — the same project publishes the mobile apps.
The check
However it arrived, prove it runs:
vlc --version
VLC version 3.0.20 Vetinari (3.0.20-0-g6f0d0ab126b)
Compiled by Ubuntu buildd for noble on Ubuntu amd64 buildd
The version number and the series name
(Vetinari is the 3.0 series) are the
two facts worth having when anything
later in this guide behaves differently
on your machine. The console interface
answers too — cvlc --version prints
the same lines, and cvlc is the name
most of this guide's commands use,
because a command meant to run
unattended shouldn't open a window.
The famous refusal
There is one machine where the check above fails in a way that startles people, and the lab hit it on its first command, because the lab's shell runs as the system administrator:
$ vlc --version (as root)
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
exit code: 1
(transcript t00.) VLC refuses the
root user outright — a media player has
no business holding administrator
powers, and the project enforces the
opinion. On a server or in a container
where you are root, the answers are:
run VLC as an ordinary user (the real
fix — a media job deserves an unprivileged
account), or use the vlc-wrapper
helper the message names, which starts
the real player with privileges already
dropped. The lab took a third route
worth knowing exists: its sandbox would
not let a newly made user reach the
workspace at all, so the lab ran its
commands inside a user namespace that
presents an ordinary user id to the
program while keeping the sandbox's own
file access. That plumbing is the
lab's, not yours — on any normal
machine, "log in as yourself" is the
whole story — and criteria.md
discloses it in full.
First run
However you install it, the first launch on a fresh account asks the privacy question from chapter 1 — the Privacy and Network Access Policy dialog, with its one checkbox for metadata lookups. Decide it once; the choice is remembered, and it can be changed later in the preferences (Tools → Preferences → Interface, "Allow metadata network access"). The console interface never shows the dialog; in a fresh home it simply runs, which the lab's transcripts quietly demonstrate on every page.