How to Install VLC on Linux (Debian, Ubuntu, Fedora, Arch)

Beginner Last updated: Applies to: Debian / Ubuntu / Fedora / Arch · VLC 3.0.x

Linux distributions ship VLC in their official repositories, which makes installation a single command. This guide covers the major package managers, the Snap/Flatpak alternatives, and the crucial post-install step: enabling hardware acceleration so 4K playback is actually smooth.

Step 1 — Install from your distribution

  1. Debian/Ubuntu: sudo apt update && sudo apt install vlc

    VLC installs from the official repos.

  2. Fedora: sudo dnf install vlc (enable RPM Fusion first if needed).

    VLC installs.

  3. Arch: sudo pacman -S vlc

    VLC installs from the Arch repos.

NoteThe repository version is usually a 3.0.x release — close to, but not always exactly, the latest. Security-sensitive users can use the Flatpak for the newest build.

Step 2 — Alternatives: Flatpak & Snap

  1. Flatpak: flatpak install flathub org.videolan.VLC

    VLC installs sandboxed.

  2. Snap: sudo snap install vlc

    VLC installs as a snap.

Step 3 — Enable hardware acceleration (post-install)

  1. Install the VA-API driver for your GPU: sudo apt install mesa-va-drivers (Intel/AMD) or the NVIDIA driver package.

    VA-API support is installed.

  2. In VLC: Tools > Preferences > Input / Codecs > "Hardware-accelerated decoding" > Automatic (or VA-API/VDPAU).

    GPU decoding is enabled.

  3. Play a 4K file and check Tools > Media Information > Codec — the decoder should show VAAPI/VDPAU.

    Hardware decode is confirmed.

NoteOn Wayland, use the VA-API path; on X11, VDPAU or VA-API both work. If video is black/green, disable hardware acceleration (see the green-screen guide).

Frequently asked Linux questions

  • Why is the repo version old? — Distro maintainers stabilize versions; use Flatpak for the latest.
  • VLC has no sound on Linux? — Set Audio > Output > PulseAudio (the PipeWire compat layer), never raw ALSA under PipeWire.
  • Missing codecs (H.264/HEVC) on Fedora? — Enable RPM Fusion nonfree, then reinstall vlc.

Frequently asked questions

Is VLC free on Linux?
Yes — free and open source (GPL). It ships in your distro’s official repositories.
Flatpak or apt VLC — which should I use?
For the newest features and security fixes, Flatpak. For the tightest system integration and fastest startup, the distro package.
Why does VLC stutter on 4K in Linux?
Usually missing VA-API drivers or the wrong acceleration setting. Install mesa-va-drivers and verify the decoder in Media Information.
How do I uninstall VLC on Linux?
sudo apt remove vlc (or dnf remove / pacman -Rns). Add --purge to delete config.