This is a beginner’s guide shows how to install the latest version of the popular VLC media player in Ubuntu 22.04 and Linux Mint 21.
VLC is available in most Linux systems’ main repositories. However, the package version is always old in some Linux Distributions (e.g., Ubuntu). There are a few other ways to install the latest version of the player, Snap and Flatpak packages are two of them that are trustworthy.
Method 1: Install VLC via Snap package
The Snap package is the official package by VideoLan developer team. Ubuntu user can simply search for and install VLC as Snap from Ubuntu Software, though it’s an universal package runs in sandbox.
NOTE: VLC Snap package so far only supports 64-bit modern PC and laptops.
Or, simply open terminal (Ctrl+Alt+T) and run the command below instead to install VLC media player as Snap package:
snap install vlc
NOTE: Linux Mint 21 does NOT support Snap package, if you really need it, see this step by step tutorial to enable Snap support in Linux Mint.
Method 2: Install VLC via Flatpak
VLC is also available as Flatpak, another universal Linux package format developed by an independent community.
The VLC Flatpak package supports both 64-bit modern PC/laptop (x86) and arm64 mobile devices.
- Ubuntu user needs to first run command to enable Flatpak support:
sudo apt install flatpak
- Then, run command to install VLC as Flatpak package:
flatpak install https://dl.flathub.org/repo/appstream/org.videolan.VLC.flatpakref
NOTE 1: first time installing a Flatpak app, needs a logout and back in to make it visible in app launcher search results.
NOTE 2: Linux Mint 21 user can directly search for and install VLC as Flatpak package from software manager.
To remove the VLC package installed as Snap package, either use Ubuntu Software or run command:
sudo snap remove vlc
To remove the VLC Flatpak package, run command:
flatpak uninstall --delete-data org.videolan.VLC
flatpak uninstall --unused to remove useless run time libraries.