How to Install VLC Media Player on Ubuntu Linux 20.04

This post will show you how to install VLC Media Player on your Ubuntu Linux 20.04. How do I install the latest VLC Player version through command line on Ubuntu 20.04 LTS. This guide will talk several methods for you to install the Media player depending on whether you choose the command line or GUI of your Ubuntu system.

What is VLC Media Player?


VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs and various streaming protocols.

VLC Media Player is also available for Desktop operating systems and mobile platforms, such as: Window phone, Android, IOS and Tizen.

install vlc player ubuntu 20.04_13

Installing VLC Media Player Using Snap Tool


If you want to install the latest version of VLC Media Player on your Ubuntu 20.04, you can use the snap packaging system to install VLC Player. You can use Snappy packaging system to install the latest major VLC version. So you just need to open your Ubuntu terminal, and executing the following command to install VLC:

$ sudo snap install vlc

Outputs:

devops@devops-ubuntu:~$ sudo snap install vlc
[sudo] password for devops:
Download snap "vlc" (1700) from channel "stable"                                                                                                                          28% 1.60MB/s 2m17s
vlc 3.0.11 from VideoLAN✓ installed

Note: if your Ubuntu system do not install snap tool, you can use the following command to install it, type:

$ sudo apt install snapd

After installed VLC package, you can use the following command to launch VLC Media Player through the terminal, type:

$ vlc

Outputs:

devops@devops:~$ vlc
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5c3d72)
[0000558a61b55a00] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.

install vlc player ubuntu 20.04_1

If you want to launch vlc without interface, you can use the following command:

$ cvlc

Uninstalling VLC Using Snap


If you want to uninstall VLC package through the command line, you can use the following snap command in Ubuntu terminal, type:

$ sudo snap remove vlc

Outputs:

devops@devops-ubuntu:~$ sudo snap remove vlc
[sudo] password for devops:
Disconnect vlc:opengl from core:opengl 
vlc removed

Installing VLC Media Player Using APT


VLC Package is available on the default Ubuntu APT repository in Ubuntu 20.04, so you can also use Advanced Package Tool or APT tool to install VLC. You need to refresh the software repository cache firstly with the following command:

$ sudo apt update

Then you can run the following command to install VLC Media Player, type:

$ sudo apt install vlc

Outputs:

devops@devops-ubuntu:~$ sudo apt install vlc
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following additional packages will be installed:
liba52-0.7.4 libaom0 libaribb24-0 libavcodec58 libavformat58 ……
vlc-plugin-video-splitter vlc-plugin-visualization
Suggested packages:
libdvdcss2 qt5-image-formats-plugins qtwayland5 sndiod
The following NEW packages will be installed:
liba52-0.7.4 libaom0 libaribb24-0 libavcodec58 libavformat58 ……
vlc-plugin-video-splitter vlc-plugin-visualization
0 upgraded, 83 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.8 MB of archives.
After this operation, 178 MB of additional disk space will be used.
Do you want to continue? [Y/n]Y
……
Setting up libqt5svg5:amd64 (5.12.8-0ubuntu1) ...
Setting up vlc-plugin-qt:amd64 (3.0.9.2-1) ...
Setting up vlc (3.0.9.2-1) ...
Setting up vlc-plugin-skins2:amd64 (3.0.9.2-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libvlc-bin:amd64 (3.0.9.2-1) ...

After VLC package is successfully installed, you can verify the installation by checking the version of VLC that you installed, type:

$ vlc –version

Outupts:

devops@devops-ubuntu:~$ vlc --version
VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
VLC version 3.0.9.2 Vetinari (3.0.9.2-0-gd4c1aefe4d)
Compiled by buildd on lgw01-amd64-060.buildd (Apr  9 2020 19:29:44)
Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.

To launch the VLC Media Player on your Ubuntu system, just type the following command in Ubuntu terminal:

$ vlc

install vlc player ubuntu 20.04_2

Uninstall VLC Media Player Using Apt Command


If you have installed VLC Player via the default Ubuntu APT repository, and you can use the following apt command to uninstall VLC, type:

$ sudo apt remove vlc

Outputs:

devops@devops-ubuntu:~$ sudo apt remove vlc
[sudo] password for devops:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liba52-0.7.4 libaom0 libaribb24-0 libavcodec58 libavformat58 libavutil56 libbasicusageenvironment1 libcddb2 libchromaprint1 libcodec2-0.9 libdc1394-22 libdca0 libdouble-conversion3
  libdvbpsi10 libdvdnav4 libdvdread7 libebml4v5 libfaad2 libgme0 libgroupsock8 libgsm1 libixml10 libkate1 liblivemedia77 libmad0 libmatroska6v5 libmpcdec6 libmpeg2-4 libmysofa1
  liopenmpt-modplug1 libopenmpt0 libpcre2-16-0 libplacebo7 libpostproc55 libprotobuf-lite17 libproxy-tools libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5
  libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libshine3 libsidplay2 libsnappy1v5 libsndio7.0 libspatialaudio0 libsrt1 libssh-gcrypt-4 libssh2-1 libswresample3
  libswscale5 libupnp13 libusageenvironment3 libva-wayland2 libvlc-bin libvlc5 libvlccore9 libx264-155 libx265-179 libxcb-xinerama0 libxcb-xinput0 libxvidcore4 libzvbi-common libzvbi0
  qt5-gtk-platformtheme qttranslations5-l10n vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  vlc
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 229 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 214998 files and directories currently installed.)
Removing vlc (3.0.9.2-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

Now VLC media player program should be removed from your Ubuntu 20.04 Linux system.

Installing VLC Media Player Using Ubuntu Software Center


The VLC Media Player is also available in the list of Ubuntu Software Center, so you can install it through the graphical interface on your Ubuntu system. Just do the following steps:

#1 click on the Show Applications button.

install vlc player ubuntu 20.04_3
#2 click Ubuntu Software button.

install vlc player ubuntu 20.04_4
#3 click the search button on the top right and type searching word “VLC”, press Enter key to locate VLC.

install vlc player ubuntu 20.04_5

#4 Click on Install button and then authorize it with your password. You need to enter the password for a privileged user, and then click the Authenticate button.

install vlc player ubuntu 20.04_6

install vlc player ubuntu 20.04_7

#5 VLC will download and install on your Ubuntu system.

install vlc player ubuntu 20.04_8

#6 after installed, click Launch button to launch VLC Player.

install vlc player ubuntu 20.04_9

Note: if you want to uninstall VLC through GUI, just click Remove button.

install vlc player ubuntu 20.04_12

Set VLC Media Player as the Default Media Player


The Default Media Player is RhythmBox utility. So if you want to change VLC Media Player as the default player, just do the following steps:

#1 open the Activities screen, and enter searching word “default applications ”, then click on it. The Default Application window will open.

install vlc player ubuntu 20.04_10

#2 select VLC Media Player from the drop down list of Music.

install vlc player ubuntu 20.04_11

Conclusion


You should know that how to install/uninstall VLC Media Player through command line or graphical interface on your latest Ubuntu operating system 20.04 LTS.

 

You might also like:

Sidebar