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 是一款自由、开源的跨平台多媒体播放器及框架,可播放大多数多媒体文件,以及 DVD、音频 CD、VCD 及各类流媒体协议。
vlc
and install it.You must have root or sudo privileged user with Desktop access. Login to your Ubuntu Desktop and upgrade the current packages to latest version.
sudo apt update
sudo apt upgrade
sudo snap install vlc
VLC for Ubuntu and many other Linux distributions is packaged using snapcraft. This allows us to distribute latest and greatest VLC versions directly to end users, with security and critical bug fixes, full codec and optical media support.
If you wish to install the traditional deb package, it is available as usual via APT, with all security and critical bug fixes. However, there will be no major VLC version updates until the next Ubuntu release.
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ sudo snap install vlc
[sudo] password for strong:
vlc 3.0.6 from 'videolan' installed
strong@foreverstrong:~$
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[00000000022e64c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Qt: Session management error: None of the authentication protocols specified are supported
[000000000237b2b0] main playlist: playlist is empty
QObject::~QObject: Timers cannot be stopped from another thread
strong@foreverstrong:~$
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ vlc ./video_data.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[00000000013544c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
TagLib: MP4: No audio tracks
Qt: Session management error: None of the authentication protocols specified are supported
TagLib: MP4: No audio tracks
[00007f9440c037b0] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 384.130 Wed Mar 21 02:59:00 PDT 2018 for hardware decoding
QObject::~QObject: Timers cannot be stopped from another thread
strong@foreverstrong:~$
To remove just vlc package itself from Ubuntu 16.04 execute on terminal:
sudo apt-get remove vlc
To remove the vlc package and any other dependant package which are no longer needed from Ubuntu 16.04.
sudo apt-get remove --auto-remove vlc
If you also want to delete configuration and/or data files of vlc from Ubuntu 16.04 then this will work:
sudo apt-get purge vlc
To delete configuration and/or data files of vlc and it’s dependencies from Ubuntu 16.04 then execute:
sudo apt-get purge --auto-remove vlc
strong@foreverstrong:~$ sudo apt-get purge --auto-remove vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
The following packages will be REMOVED:
libllvm4.0*
0 upgraded, 0 newly installed, 1 to remove and 180 not upgraded.
After this operation, 49.3 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 258315 files and directories currently installed.)
Removing libllvm4.0:amd64 (1:4.0-1ubuntu1~16.04.2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
/sbin/ldconfig.real: /opt/intel/common/mdf/lib64/igfxcmrt64.so is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-x11.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-drm.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfxhw64.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfx.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-glx.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libigdgmm.so.1 is not a symbolic link
strong@foreverstrong:~$
To install VLC from the Ubuntu repositories, open your terminal by pressing Ctrl+Alt+T and type:
sudo apt update
sudo apt install vlc
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ sudo apt update
[sudo] password for strong:
Hit:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Fetched 325 kB in 22s (14.4 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
180 packages can be upgraded. Run 'apt list --upgradable' to see them.
strong@foreverstrong:~$
strong@foreverstrong:~$ sudo apt install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgles2-mesa libgroupsock8 libiso9660-8 liblivemedia50 libmatroska6v5
libmpcdec6 libproxy-tools libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libsidplay2v5 libssh2-1 libupnp6 libusageenvironment3
libvcdinfo0 libvlc5 libvlccore8 libxcb-composite0 libxcb-xv0 vlc-data vlc-nox vlc-plugin-notify vlc-plugin-samba
Suggested packages:
libdvdcss2
The following NEW packages will be installed:
libbasicusageenvironment1 libcddb2 libdvbpsi10 libebml4v5 libgles2-mesa libgroupsock8 libiso9660-8 liblivemedia50 libmatroska6v5
libmpcdec6 libproxy-tools libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libsidplay2v5 libssh2-1 libupnp6 libusageenvironment3
libvcdinfo0 libvlc5 libvlccore8 libxcb-composite0 libxcb-xv0 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-samba
0 upgraded, 28 newly installed, 0 to remove and 180 not upgraded.
Need to get 11.3 MB of archives.
After this operation, 59.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libmpcdec6 amd64 2:0.1~r459-4.1build1 [32.0 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libproxy-tools amd64 0.4.11-5ubuntu1 [5,226 B]
Get:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 vlc-data all 2.2.2-5ubuntu0.16.04.4 [5,903 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libvlccore8 amd64 2.2.2-5ubuntu0.16.04.4 [406 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libvlc5 amd64 2.2.2-5ubuntu0.16.04.4 [60.0 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libbasicusageenvironment1 amd64 2016.02.09-1 [16.2 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libcddb2 amd64 1.3.2-5fakesync1 [33.9 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libdvbpsi10 amd64 1.3.0-4 [47.7 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libebml4v5 amd64 1.3.3-1 [44.8 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libgroupsock8 amd64 2016.02.09-1 [21.5 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 liblivemedia50 amd64 2016.02.09-1 [294 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libmatroska6v5 amd64 1.4.4-1 [109 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libresid-builder0c2a amd64 2.1.1-14ubuntu2 [31.3 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libsidplay2v5 amd64 2.1.1-14ubuntu2 [87.6 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libssh2-1 amd64 1.5.0-2ubuntu0.1 [70.2 kB]
Get:16 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libupnp6 amd64 1:1.6.19+git20160116-1 [121 kB]
Get:17 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libusageenvironment3 amd64 2016.02.09-1 [7,120 B]
Get:18 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libiso9660-8 amd64 0.83-4.2ubuntu1 [18.4 kB]
Get:19 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libvcdinfo0 amd64 0.7.24+dfsg-0.2 [90.7 kB]
Get:20 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 vlc-nox amd64 2.2.2-5ubuntu0.16.04.4 [2,325 kB]
Get:21 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgles2-mesa amd64 18.0.5-0ubuntu0~16.04.1 [13.4 kB]
Get:22 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libqt5x11extras5 amd64 5.5.1-3build1 [7,876 B]
Get:23 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libsdl-image1.2 amd64 1.2.12-5+deb9u1build0.16.04.1 [29.1 kB]
Get:24 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-composite0 amd64 1.11.1-1ubuntu1 [5,100 B]
Get:25 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-xv0 amd64 1.11.1-1ubuntu1 [8,994 B]
Get:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 vlc amd64 2.2.2-5ubuntu0.16.04.4 [1,505 kB]
Get:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 vlc-plugin-notify amd64 2.2.2-5ubuntu0.16.04.4 [6,222 B]
Get:28 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 vlc-plugin-samba amd64 2.2.2-5ubuntu0.16.04.4 [5,938 B]
Fetched 11.3 MB in 10s (1,064 kB/s)
Selecting previously unselected package libmpcdec6:amd64.
(Reading database ... 258309 files and directories currently installed.)
Preparing to unpack .../libmpcdec6_2%3a0.1~r459-4.1build1_amd64.deb ...
Unpacking libmpcdec6:amd64 (2:0.1~r459-4.1build1) ...
Selecting previously unselected package libproxy-tools.
Preparing to unpack .../libproxy-tools_0.4.11-5ubuntu1_amd64.deb ...
Unpacking libproxy-tools (0.4.11-5ubuntu1) ...
Selecting previously unselected package vlc-data.
Preparing to unpack .../vlc-data_2.2.2-5ubuntu0.16.04.4_all.deb ...
Unpacking vlc-data (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package libvlccore8.
Preparing to unpack .../libvlccore8_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking libvlccore8 (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package libvlc5.
Preparing to unpack .../libvlc5_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking libvlc5 (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package libbasicusageenvironment1:amd64.
Preparing to unpack .../libbasicusageenvironment1_2016.02.09-1_amd64.deb ...
Unpacking libbasicusageenvironment1:amd64 (2016.02.09-1) ...
Selecting previously unselected package libcddb2.
Preparing to unpack .../libcddb2_1.3.2-5fakesync1_amd64.deb ...
Unpacking libcddb2 (1.3.2-5fakesync1) ...
Selecting previously unselected package libdvbpsi10:amd64.
Preparing to unpack .../libdvbpsi10_1.3.0-4_amd64.deb ...
Unpacking libdvbpsi10:amd64 (1.3.0-4) ...
Selecting previously unselected package libebml4v5:amd64.
Preparing to unpack .../libebml4v5_1.3.3-1_amd64.deb ...
Unpacking libebml4v5:amd64 (1.3.3-1) ...
Selecting previously unselected package libgroupsock8:amd64.
Preparing to unpack .../libgroupsock8_2016.02.09-1_amd64.deb ...
Unpacking libgroupsock8:amd64 (2016.02.09-1) ...
Selecting previously unselected package liblivemedia50:amd64.
Preparing to unpack .../liblivemedia50_2016.02.09-1_amd64.deb ...
Unpacking liblivemedia50:amd64 (2016.02.09-1) ...
Selecting previously unselected package libmatroska6v5:amd64.
Preparing to unpack .../libmatroska6v5_1.4.4-1_amd64.deb ...
Unpacking libmatroska6v5:amd64 (1.4.4-1) ...
Selecting previously unselected package libresid-builder0c2a.
Preparing to unpack .../libresid-builder0c2a_2.1.1-14ubuntu2_amd64.deb ...
Unpacking libresid-builder0c2a (2.1.1-14ubuntu2) ...
Selecting previously unselected package libsidplay2v5.
Preparing to unpack .../libsidplay2v5_2.1.1-14ubuntu2_amd64.deb ...
Unpacking libsidplay2v5 (2.1.1-14ubuntu2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../libssh2-1_1.5.0-2ubuntu0.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.5.0-2ubuntu0.1) ...
Selecting previously unselected package libupnp6.
Preparing to unpack .../libupnp6_1%3a1.6.19+git20160116-1_amd64.deb ...
Unpacking libupnp6 (1:1.6.19+git20160116-1) ...
Selecting previously unselected package libusageenvironment3:amd64.
Preparing to unpack .../libusageenvironment3_2016.02.09-1_amd64.deb ...
Unpacking libusageenvironment3:amd64 (2016.02.09-1) ...
Selecting previously unselected package libiso9660-8:amd64.
Preparing to unpack .../libiso9660-8_0.83-4.2ubuntu1_amd64.deb ...
Unpacking libiso9660-8:amd64 (0.83-4.2ubuntu1) ...
Selecting previously unselected package libvcdinfo0.
Preparing to unpack .../libvcdinfo0_0.7.24+dfsg-0.2_amd64.deb ...
Unpacking libvcdinfo0 (0.7.24+dfsg-0.2) ...
Selecting previously unselected package vlc-nox.
Preparing to unpack .../vlc-nox_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking vlc-nox (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package libgles2-mesa:amd64.
Preparing to unpack .../libgles2-mesa_18.0.5-0ubuntu0~16.04.1_amd64.deb ...
Unpacking libgles2-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...
Selecting previously unselected package libqt5x11extras5:amd64.
Preparing to unpack .../libqt5x11extras5_5.5.1-3build1_amd64.deb ...
Unpacking libqt5x11extras5:amd64 (5.5.1-3build1) ...
Selecting previously unselected package libsdl-image1.2:amd64.
Preparing to unpack .../libsdl-image1.2_1.2.12-5+deb9u1build0.16.04.1_amd64.deb ...
Unpacking libsdl-image1.2:amd64 (1.2.12-5+deb9u1build0.16.04.1) ...
Selecting previously unselected package libxcb-composite0:amd64.
Preparing to unpack .../libxcb-composite0_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb-composite0:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libxcb-xv0:amd64.
Preparing to unpack .../libxcb-xv0_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb-xv0:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package vlc.
Preparing to unpack .../vlc_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking vlc (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package vlc-plugin-notify.
Preparing to unpack .../vlc-plugin-notify_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking vlc-plugin-notify (2.2.2-5ubuntu0.16.04.4) ...
Selecting previously unselected package vlc-plugin-samba.
Preparing to unpack .../vlc-plugin-samba_2.2.2-5ubuntu0.16.04.4_amd64.deb ...
Unpacking vlc-plugin-samba (2.2.2-5ubuntu0.16.04.4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
/sbin/ldconfig.real: /opt/intel/common/mdf/lib64/igfxcmrt64.so is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-x11.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-drm.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfxhw64.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfx.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-glx.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libigdgmm.so.1 is not a symbolic link
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libmpcdec6:amd64 (2:0.1~r459-4.1build1) ...
Setting up libproxy-tools (0.4.11-5ubuntu1) ...
Setting up vlc-data (2.2.2-5ubuntu0.16.04.4) ...
Setting up libvlccore8 (2.2.2-5ubuntu0.16.04.4) ...
Setting up libvlc5 (2.2.2-5ubuntu0.16.04.4) ...
Setting up libbasicusageenvironment1:amd64 (2016.02.09-1) ...
Setting up libcddb2 (1.3.2-5fakesync1) ...
Setting up libdvbpsi10:amd64 (1.3.0-4) ...
Setting up libebml4v5:amd64 (1.3.3-1) ...
Setting up libgroupsock8:amd64 (2016.02.09-1) ...
Setting up liblivemedia50:amd64 (2016.02.09-1) ...
Setting up libmatroska6v5:amd64 (1.4.4-1) ...
Setting up libresid-builder0c2a (2.1.1-14ubuntu2) ...
Setting up libsidplay2v5 (2.1.1-14ubuntu2) ...
Setting up libssh2-1:amd64 (1.5.0-2ubuntu0.1) ...
Setting up libupnp6 (1:1.6.19+git20160116-1) ...
Setting up libusageenvironment3:amd64 (2016.02.09-1) ...
Setting up libiso9660-8:amd64 (0.83-4.2ubuntu1) ...
Setting up libvcdinfo0 (0.7.24+dfsg-0.2) ...
Setting up vlc-nox (2.2.2-5ubuntu0.16.04.4) ...
Setting up libgles2-mesa:amd64 (18.0.5-0ubuntu0~16.04.1) ...
Setting up libqt5x11extras5:amd64 (5.5.1-3build1) ...
Setting up libsdl-image1.2:amd64 (1.2.12-5+deb9u1build0.16.04.1) ...
Setting up libxcb-composite0:amd64 (1.11.1-1ubuntu1) ...
Setting up libxcb-xv0:amd64 (1.11.1-1ubuntu1) ...
Setting up vlc (2.2.2-5ubuntu0.16.04.4) ...
Setting up vlc-plugin-notify (2.2.2-5ubuntu0.16.04.4) ...
Setting up vlc-plugin-samba (2.2.2-5ubuntu0.16.04.4) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
/sbin/ldconfig.real: /opt/intel/common/mdf/lib64/igfxcmrt64.so is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-x11.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-drm.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfxhw64.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libmfx.so.1 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libva-glx.so.2 is not a symbolic link
/sbin/ldconfig.real: /opt/intel/mediasdk/lib64/libigdgmm.so.1 is not a symbolic link
Processing triggers for vlc-nox (2.2.2-5ubuntu0.16.04.4) ...
strong@foreverstrong:~$
strong@foreverstrong:~$ vlc v4l2:///dev/video0