VLC is the most used Media Player in Windows, Linux and Mac OS, most Linux distributions come with Vlc already installed including Kali Linux. If you happen to be running Kali Linux as a root user, you may upgrade your vlc but it won't run in a root account environment. What you'll have to do is add a standard user account, then upgrade your VLC to the latest version.
VLC Media player provide some advance url-style formats features like:
To add a standard user account follow the steps below:
step 1: Add a user by specifying the name with the useradd command
This will add the user account and create HOME directory for the user as well. Replace "user_name" with the name you wish to add.Home directory will be located at /home/user_name directory.
Step 2:
Give a password to the created user account with the passwd command:
For Example:
It will prompt you for a new password, enter it and confirm the password again after pressing Enter key.You can change the password later by using the passwdcommand.
Step 3: Add the user account tosudo group to grant him root privilegesto install Softwares applications and perform administrative tasks like adding a printer to the system.
For Example,
-G: Means specify the sudo supplementary group that the user will belong to.
Step 4: Change the user's default shell to bash( GNU Bourne-Again Shell ).
chsh command changes the user login shell. The -s option is used to specify the name of the new user;s login shell.
Now it's time to upgrade our VLC media player, we cannot use the default Kali repositories for this but we'll addwheezy backports repository. Just open the /etc/apt/sources.list file and add/ append the repository given here.
Now do system update
Update VLC by typing the following command on the terminal.
Next time you want to update any software or install it on Kali using Wheezy-backports, just type
followed by the name of the program or utility that you want to install.
To run VLC updated, logout and login with your standard user account. Running your Kali box as a non-root user is very important, you can install other programs likeGoogle Chrome browser which cannot be run as root. For a more detailed thing to do after installing Kali Linux read this article. There is a good article as well about How to Install Themes on Kali as a Non-Root user.
Search Tags:
How to install VLC in kali Linux
Upgrading VLC in Kali Linux
How to get Lates VLC in Kali Linux
How to run VLC as a non-root user
Adding Standard user account on Linux
VLC Media player provide some advance url-style formats features like:
- HTTP stream: http://<server address>[:<server port>]/[<file>]
- RTSP Video On Demand stream: rtsp://<server address>[:<server port>]/<stream name>
- Execute a playlist command: vlc://<command>
- Various multimedia file formats: *.mpg, *.vob, *.avi, *.mp3, *.ogg
- DVD device: dvd:///dev/dvd)
To add a standard user account follow the steps below:
step 1: Add a user by specifying the name with the useradd command
sudo useradd -m "user_name"
Example: sudo useradd -m bob
This will add the user account and create HOME directory for the user as well. Replace "user_name" with the name you wish to add.Home directory will be located at /home/user_name directory.
Step 2:
Give a password to the created user account with the passwd command:
sudo passwrd "user_name"
For Example:
sudo passwd bob
It will prompt you for a new password, enter it and confirm the password again after pressing Enter key.You can change the password later by using the passwdcommand.
Step 3: Add the user account tosudo group to grant him root privilegesto install Softwares applications and perform administrative tasks like adding a printer to the system.
sudo usermod -a -G sudo "user_name"
For Example,
root@pentest:~# usermod -a -G sudo bob-a: Means append or add the user to other supplementary groups
-G: Means specify the sudo supplementary group that the user will belong to.
Step 4: Change the user's default shell to bash( GNU Bourne-Again Shell ).
sudo chsh -s /bin/bash
chsh command changes the user login shell. The -s option is used to specify the name of the new user;s login shell.
Now it's time to upgrade our VLC media player, we cannot use the default Kali repositories for this but we'll addwheezy backports repository. Just open the /etc/apt/sources.list file and add/ append the repository given here.
vi /etc/apt/sources.listThen add the following lines at the end of the file.
Or leafpad /etc/apt/sources.list
## wheezy-backports repository
deb http://http.debian.net/debian wheezy-backports main
Now do system update
sudo apt-get update
Update VLC by typing the following command on the terminal.
sudo apt-get -t wheezy-backports install vlc
Next time you want to update any software or install it on Kali using Wheezy-backports, just type
sudo apt-get -t wheezy-backports install
followed by the name of the program or utility that you want to install.
To run VLC updated, logout and login with your standard user account. Running your Kali box as a non-root user is very important, you can install other programs likeGoogle Chrome browser which cannot be run as root. For a more detailed thing to do after installing Kali Linux read this article. There is a good article as well about How to Install Themes on Kali as a Non-Root user.
Search Tags:
How to install VLC in kali Linux
Upgrading VLC in Kali Linux
How to get Lates VLC in Kali Linux
How to run VLC as a non-root user
Adding Standard user account on Linux