How to Install VLC in Kali Linux 2020 [Full Installation Guide] VLC for Linux

Published by Daud on

There are lot’s of media player on Kali Linux. Parole Media Player is default Media Player for Kali Linux 2019.4 xfce version. But VLC media player has no beat among all those alternative for Kali Linux. Downloading and Installing VLC for Kali Linux is quite different. In this post we will be discussing the methods of Installing VLC in Kali Linux.

Steps to Install VLC in Kali Linux

Let’s discuss the easy steps to install VLC media player in Kali Linux


#step 1. Before Installing VLC in Kali Linux. You need to search is your system showing VLC in your apt package or not.

#step 2. Run below command to search VLC in Kali Linux terminal.

apt search vlc

#step 3. If you are facing any issue like unable to locate the package or anything else while running the above command into Kali Linux terminal.

#step 4. To solve the above issue. You need to make sure that you have Kali Linux repository in etc/apt/sources.list


#step 5. To open the above repository sources.list inside terminal. Run the below command.

nano /etc/apt/sources.list

#step 6. Here just copy paste the below lines inside sources.list if it is not there already. press ctrl+o to save the updates. and press ctrl+x to exit.

deb kali-rolling main non-free contrib
deb-src kali-rolling main non-free contrib
#deb kali-rolling main non-free contrib

#step 7. After doing all the above steps. Run the update command.

apt-get update && apt-get upgrade

#step 8. Now, you have successfully fixed the unable to locate packages. VLC is now available in your apt search vlc command in terminal. Search it once more to check.

apt search vlc

#step 9. You’ll now see VLC in your Kali Linux terminal. Now it’s time to install VLC in your Kali Linux. Run the below command to install it.

apt-get install vlc

Now, it will start downloading and installing VLC in your Kali Linux terminal.

How to Run VLC as root user

Running VLC as root user is quite threaten to your system. It is recommended to run VLC in Kali Linux as standard user. But if you want to run VLC as root. Follow the below steps.

#step 1. Run the sed command below to make changes in the VLC binary file, it will replace the geteuid variable (which determines the effective user ID of the calling process) with getppid (which will determine the parent process ID of the calling process).

In this command, ‘s/geteuid/getppid/‘ (regexp=geteuid, replacement=getppid) does the magic.

$ sudo sed -i 's/geteuid/getppid/' /usr/bin/vlc

Alternatively, edit the VLC binary file using a hex-editor such as bless, hexeditor. Then search for geteuid string and replace it with getppid, save the file and exit.

Yet again, another way around this is to download and compile the VLC source code by passing the –enable-run-as-root flag to ./configure and VLC should be able to run as root.

That’s all! You should now run VLC as root user in Linux. To share any thoughts, use the feedback form below.

Watch this video tutorial to install VLC in Kali Linux


I am very deep enthusiastic in Technologies. Skills- Photoshop Editing, Manipulations. Hobbies- Content Writing, Tech and business updates. Internet sufferer :* ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.