VLC for Linux
Install via APT or Snap.
On Linux there is no single VLC download, and that is the part that confuses people coming from Windows. Every distribution packages VLC its own way, and the version you get from the default repository is frequently a year or two behind the upstream release. Knowing which source you are installing from matters more here than on any other platform.
This page explains the three realistic installation routes, how they differ in practice, and the two problems that account for most Linux playback complaints: codec packages that the distribution splits out separately, and sandboxed packages that cannot see your media folders.
- Version
- Version 3.0.23
- Requirements
- Ubuntu 20.04+ / Debian stable+
Downloads are served directly from the official VideoLAN servers. Always get VLC from official sources.

File details
- Package formats
- Native repo, Snap, Flatpak
- License
- GPLv2 or later
- Publisher
- VideoLAN, packaged by each distribution
- Version source
- Upstream release, distro rebuild, or sandboxed bundle
System requirements
- Desktop
- X11 or Wayland session with a compositor
- Graphics
- VA-API or VDPAU for hardware decoding
- Audio
- PulseAudio or PipeWire
- Disk space
- Around 100 MB installed, more with plugins
How to install
- 1
Open a terminal.
- 2
Run: sudo apt install vlc
- 3
Launch VLC from the menu.
Three ways to install, and how they differ
The distribution repository is the simplest choice and the one that integrates best: one command, automatic updates with the rest of the system, and file associations handled for you. The trade-off is version lag. Distributions freeze package versions for the life of a release, so a long-term-support distro can leave you two minor versions behind for years.
Snap and Flatpak both deliver the current upstream build and update independently of the distribution. Snap is the default on Ubuntu and installs with a single command. Flatpak is distribution-neutral and pulls from Flathub. Either gets you a newer player, at the cost of a sandbox that starts with no access to your files. That sandbox is the source of the "cannot open my video" reports that follow every Flatpak installation.
Building from source is the fourth option and rarely worth it unless you need a specific patch. Compiling VLC means matching the distribution plugin ABIs, and a half-satisfied dependency list produces a player that launches but decodes nothing.
When VLC cannot see your media
If you installed through Flatpak or Snap and VLC opens but every folder appears empty, the sandbox is blocking filesystem access rather than the files being missing. For Flatpak, grant access with a permission override for your home directory or for the specific media path, then restart the app. For Snap, connect the removable-media interface so external drives become visible.
This is not a bug in VLC and reinstalling will not change it. The package you chose deliberately limits what the application can read, and the fix is to widen that limit once.
Missing codecs and split packages
Several distributions split the less common decoders into separate packages for patent reasons. If a file plays audio but shows no picture, or refuses to open with a message about an unsupported format, the codec package for that format is probably not installed. On Debian and Ubuntu the plugin packages are named separately from the main player, and installing the full plugin set closes most of these gaps.
Proprietary formats including some H.264 and HEVC builds follow the same pattern. The player itself is fully open source, but the distribution decides which decoders to ship by default.
Hardware decoding and Wayland
Hardware decoding on Linux depends on the graphics stack rather than the player alone. Intel and AMD GPUs use VA-API, older NVIDIA drivers use VDPAU, and VLC will only accelerate if the driver exposes the interface and the setting is enabled under Input / Codecs.
Wayland sessions add a second variable. VLC runs through XWayland by default, which works but adds a compositing step; on some GPU and driver combinations that step produces a black window in full screen or a picture that tears when the window is resized. Trying a different video output module, or launching with the native Wayland backend where the build supports it, resolves most of these cases.
Command line uses worth knowing
VLC on Linux is also a capable streaming and conversion tool, and the command line exposes that without opening a window. Converting a file to another container, extracting an audio track, or pushing a local file to an RTMP endpoint are all single commands with the same codec names used in the graphical Convert dialog.
The same binary can run headless for a scheduled transcode, which is why VLC turns up in scripts more often than a desktop player would suggest. Running it with no display attached still works as long as the operation does not need video output.
Frequently asked questions
- Which installation method should I use on Linux?
- Use your distribution repository unless you need a newer version. Choose Flatpak or Snap if the repository build is too old for your files, and expect to grant filesystem permission afterwards.
- Why does the Flatpak version show empty folders?
- The sandbox starts without access to your files. Grant permission for your home directory or media path through the Flatpak permission settings, then restart VLC. Reinstalling does not change it.
- Why is my VLC version so old compared with the website?
- Distributions freeze package versions when they release, so repository builds lag upstream by design. Flatpak or Snap tracks the current release if the version gap matters to you.
- A video plays audio but shows no picture. What is missing?
- Almost always a codec package the distribution ships separately. Install the full VLC plugin set for your distribution, then reopen the file before assuming the video is damaged.
- Does VLC work on Wayland?
- Yes, usually through XWayland. A native Wayland backend exists in recent builds. If you see a black full-screen window or tearing on resize, change the video output module in preferences.