Before proceeding, you need to fully install the included standalone and necessary packages with the following command:
[user_name] $ sudo apt-get build-dep vlc
Next, we need to install additional source packages to build and compile to create * .tar files :
[user_name] $ sudo apt-get install libtool build-essential automake-1.10 git-core libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libx11-xcb-dev checkinstall
Next step, you need to download the latest source code from VLC with the following command:
[user_name] $ git clone git: //git.videolan.org/vlc.git
If in case this statement does not work, you can directly use the following package.
After downloading the file, unzip the file with the following command:
[user_name] $ tar -xvzf vlc-HEAD.tar.gz
The essentials already have enough, we start the main job. Move to home directory:
[user_name] $ cd vlc
Next:
[user_name] $ ./bootstrap
This step will initialize the source code and create the setup file.
Then, check all tools and code packages with the ./configure statement:
[user_name] $ ./configure --prefix = / opt / vlc --exec-prefix = / usr
The setup process ends, followed by code compilation, using the make: syntax.
[user_name] $ make [.]
Note: when making the make process, you may encounter the following error:
LUA byte compiler missing.
make [2]: *** [lua / intf / luac.luac] Error 1
make [2]: Leaving directory `/ home / sahni / Downloads / vlc / share '
make [1]: *** [all-recursive] Error 1
make [1]: Leaving directory `/ home / sahni / Downloads / vlc '
make: *** [all] Error 2
This may be a missing error because the package packages are downloaded or automatically generated during compilation, you use the following command to fix:
[user_name] $ cd share
[user_name] $ for f in `find. | grep '.lua $' `; because f2 = `echo $ f | sed 's / lua $ / luac / g'`; ln -sf `basename $ f` $ f2; done $
After that, wait for the make process to finish, it will take a certain amount of time. Or you can proceed to install VLC by make install:
[user_name] $ sudo make install
Or use the checkinstall feature, checkinstall has the ability to store location information and automatically generate binary files to manage in conjunction with Packet Management Software:
[user_name] $ sudo checkinstall --fstrans = no --install = yes --pkgname = vlc --pkgversion "1: 1.1.0-git`date +% Y% m% d`-0.0ubuntu2" –default
This process will create a * .deb file with a capacity of about 400 Mb in the same VLC storage folder. And installing with * .deb is much simpler than using the command.
Good luck!