How to install VLC on Kali Linux

Most of you might think installing VLC on Kali Linux is a headache but really it is not true. It is as simple as writing just two line of commands and you are done.


1. Open up the terminal and type these commands in it.

[email protected]:~# apt-get install vlc

If you are getting some errors like “can’t find lock” then you can just remove these locks as given in the error listed. For eg /var/cache/apt/archives/lock and just type this code to remove the lock rm lock make sure you are in a correct directory.

2. By default, you are not allowed to run VLC as root, to fix this just copy paste these commands into the terminal.

[email protected]:~# sed -i s/geteuid/getppid/g /usr/bin/vlc

That’s it you are done and you can check that VLC is working by typing vlc into the terminal.

Written by Anandesh

I am a #Linux lover and very much excited about technology and new thing. Love to #read_books. Curiosity is my best teacher. I am still☺️ understanding myself.


Leave a Reply
    • By default vlc is not allowed to run as root. So use this command

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

      or you can pass this option as well


Leave a Reply

Your email address will not be published. Required fields are marked *

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

3. Use Input / Output Redirection / Compare Text Files / Compare Binary Files

Top 10 penetration testing tools in Kali Linux 2017