How to Install VLC 2.2.7 (2.2.8) in Ubuntu 16.04, 14.04

Although they are not officially announced, VLC media player 2.2.7 (and 2.2.8 with single fix) now are available for download. Here’s how to install it in Ubuntu 16.04, Ubuntu 14.04, and derivatives.

Changes in VLC 2.2.7 include:

  • Fix flac heap write overflow on format change
  • Fix crash in libavcodec module (heap write out-of band) (CVE-2017-10699)
  • Fix infinite loop in sami subtitle
  • Fix AAC 7.1 channels detection
  • Fix potential crash in ASX parser
  • Fix AVI read/write overflow
  • Fix compatibility with Mac OS High Sierra
  • Fix regression in ASS subtitle decoding for Mac OS
  • Fix crash during automatic update in Mac OS X. Some users might need to manually update to the newest version.
  • Fix Direct3D9 output with odd offsets
  • Fix crash in MTP
  • Support libupnp 1.8

And VLC 2.2.8 fixed AVI invalid pointer dereferences for demuxers.

Install VLC 2.2.7 in Ubuntu 16.04/14.04:

There are quite a few PPAs with VLC packages for Ubuntu. At the moment, you can install VLC 2.2.7 in Ubuntu easily via Jonathon F’s PPA.

1. Open terminal via Ctrl+Alt+T or by searching “Terminal” from start menu. When it opens, run command to add PPA:

sudo add-apt-repository ppa:jonathonf/vlc

Type in your password (no visual feedback due to security reason) when prompts and hit Enter.

2.Remove old VLC version, if you installed it from Ubuntu Software, to avoid a package conflict:

sudo apt remove --autoremove vlc vlc-nox

3. Finally run commands in terminal to check updates and install VLC 2.2.7:

sudo apt update && sudo apt install vlc

How to Restore:

To restore VLC media player to the stock version in your main Ubuntu repository, run command to purge the PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/vlc