VLC 3.0.3 is outdated. Please update. DIY newest version
Tofloor
poster avatar
al3xvm
deepin
2019-11-01 15:59
Author
Current version of VLC is 3.0.8 for now
You have to install the VLC source code and compiled it. It can be done!


{Note: If anyone knows better, please improve it!  Thank you}


1.      Remove the # mark in the 3rd row of /etc/apt/sources.list by:
         sudo deep-editor /etc/apt/sources.list


2.      sudo apt-get update
         sudo apt-get build-dep vlc
         sudo apt-get install git build-essential pkg-config libtool automake autopoint gettext


3.      wget http://get.videolan.org/vlc/3.0.8/vlc-3.0.8.tar.xz
         tar xvf vlc-3.0.8.tar.xz
         sudo mv vlc-3.0.8/ /opt/
         cd /opt/vlc-3.0.8
         ./bootstrap
         ./configure
         make
        {vlc is being compiled. It can take up to 15 minutes}


4.     ./vlc
        {vlc media player is running}
         vlc icon shows up in the panel. Right click the icon and click Dock.
  Done!
Reply Favorite View the author
All Replies
kuchikuu
deepin
2019-11-02 23:37
#1
Edited by kuchikuu at 2019-11-2 15:40

Hello,
make
{vlc is being compiled. It can take up to 15 minutes}
If you have multicore processor, you can utilize more cores (instead of only one by default) by adding an argument -j# where # is the number of your processor's cores.
To proove it, I've done some testing.
Using `time` in Linux, I measured the time each `make` took.
  1. make #By default it will use only one core

  2. real        10m4,417s
  3. user        9m34,322s
  4. sys        0m40,682s
Copy the Code
  1. make -j4  #Telling `make` to use 4 cores

  2. real        3m7,209s
  3. user        10m28,695s
  4. sys        0m48,360s
Copy the Code
  1. make -j8  #Allocating more cores doesn't really make a difference

  2. real        3m25,774s
  3. user        11m30,138s
  4. sys        0m57,653s
Copy the Code
As you can see, it went down from 10 minutes to 3 minutes.

I also did not use this
  1. sudo apt-get install git build-essential pkg-config libtool automake autopoint gettext
  2. ./bootstrap
Copy the Code
Perhaps I already installed them before, or perhaps they were not needed(?) but the compilation was successful.
(PS: I don't know what ./bootstrap does, but whatever it does, was not needed in my case)


Have a nice day~!
Reply View the author
play101
deepin
2019-11-03 16:18
#2
Edited by play101 at 2019-11-3 08:30

A very good and detailed guide, thanks!
Reply View the author
granwille
deepin
2019-11-15 23:38
#3
Hello

Thank you for this guide, I can confirm VLC is up and running. However, I cannot help but think, if I want to uninstall VLC, how would I do it? And if there were to be a newer version, how would I update it?
Reply View the author