Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Unable to install vlc in Linux


  • Please log in to reply
32 replies to this topic

#1 akki28

akki28

  • Members
  • 30 posts
  • OFFLINE
  •  

Posted 25 July 2018 - 12:06 PM

I am unable to install vlc in linux. I installed linux today.

here's the name of iso       kali-linux-2018.2-amd64.iso (debian)

I am typing in following commands:

 

 sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc

 

Their output as follows:

 

root@ak:~#  sudo add-apt-repository ppa:videolan/stable-daily
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling
root@ak:~# sudo apt-get update
Reading package lists... Done
root@ak:~# sudo apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc
root@ak:~#
 

 

 

 

 

 

 

 

I read some other commands too:

 

 

 

 

root@ak:~# sudo apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc
root@ak:~# apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc
root@ak:~# apt-get update
Reading package lists... Done
root@ak:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 

Please Help!



BC AdBot (Login to Remove)

 


#2 pcpunk

pcpunk

  • Members
  • 6,109 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:33 AM

Posted 25 July 2018 - 01:11 PM

Many here and elsewhere will tell you if you are using Kali you should not have to ask this question lol.

 

I don't know either, but here is a LINK that may help you.


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#3 buddy215

buddy215

  • Moderator
  • 13,321 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:West Tennessee
  • Local time:10:33 AM

Posted 25 July 2018 - 01:32 PM

According to info from 2015....VLC is installed in Kali by default.

 

Kali Linux Tutorials - How to Install Vlc Player - k4linux - Linux Tutorials


“Every atom in your body came from a star that exploded and the atoms in your left hand probably came from a different star than your right hand. It really is the most poetic thing I know about physics...you are all stardust.”Lawrence M. Krauss
A 1792 U.S. penny, designed in part by Thomas Jefferson and George Washington, reads “Liberty Parent of Science & Industry.”

#4 pcpunk

pcpunk

  • Members
  • 6,109 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:33 AM

Posted 25 July 2018 - 02:29 PM

That's what I was thinking also buddy.


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#5 Mike_Walsh

Mike_Walsh

    Bleepin' 'Puppy' nut..!!


  • Members
  • 1,413 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:King's Lynn, UK
  • Local time:04:33 PM

Posted 25 July 2018 - 05:07 PM

Oh, jeez.....not another one! (*sheesh*)

 

 

Mike.  :nono:


Distros:- Multiple 'Puppies'..... and Anti-X 16.1

My Puppy BLOG ~~~  My Puppy PACKAGES

Compaq Presario SR1916UK; Athlon64 X2 3800+, 3 GB RAM, WD 500GB Caviar 'Blue', 32GB Kingspec PATA SSD, 3 TB Seagate 'Expansion' external HDD, ATI Radeon Xpress 200 graphics, Dell 15.1" pNp monitor (1024 x 768), TP-Link PCI-e USB 3.0 card, Logitech c920 HD Pro webcam, self-powered 7-port USB 2.0 hub

Dell Inspiron 1100; 2.6 GHz 400FSB P4, 1.5 GB RAM, 64GB KingSpec IDE SSD, Intel 'Extreme' graphics, 1 TB Seagate 'Expansion' external HDD, M$ HD-3000 'Lifecam'.

 

KXhaWqy.gifFQ8nrJ3.gif

 

 


#6 SupermanPrime

SupermanPrime

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:33 PM

Posted 25 July 2018 - 07:32 PM

Solution:

 

  1. Install Debian
  2. Type "apt install vlc"
  3. Profit

Courage is fear trying to hold on a minute longer. We all need to find that extra minute inside ourselves if we're going to make it through this crisis.


#7 MadmanRB

MadmanRB

    Spoon!!!!


  • Members
  • 3,222 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:No time for that when there is evil afoot!
  • Local time:11:33 AM

Posted 25 July 2018 - 10:05 PM

Oh, jeez.....not another one! (*sheesh*)

 

 

Mike.  :nono:

 

 

Thank the show Mr. Robot for this

 

Indeed Kali got fameous but its not for those totally new to linux.

Ubuntu, Linux mint even Manjaro are good for newcomers but not Kali


You know you want me baby!

Proud Linux user and dual booter.

Proud Vivaldi user.

 

xu847p-6.png


#8 SupermanPrime

SupermanPrime

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:33 PM

Posted 25 July 2018 - 10:34 PM

@MadmanRB: Why do you say "even Manjaro"? Manjaro is ver user-friendly. It's the most popular distribution today for a reason.


Edited by SupermanPrime, 25 July 2018 - 10:34 PM.

Courage is fear trying to hold on a minute longer. We all need to find that extra minute inside ourselves if we're going to make it through this crisis.


#9 MadmanRB

MadmanRB

    Spoon!!!!


  • Members
  • 3,222 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:No time for that when there is evil afoot!
  • Local time:11:33 AM

Posted 25 July 2018 - 10:39 PM

Well it is arch based and aur can be a pain, dont get me wrong I love manjaro but the aur can be a big pain

You know you want me baby!

Proud Linux user and dual booter.

Proud Vivaldi user.

 

xu847p-6.png


#10 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,563 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:02:33 AM

Posted 26 July 2018 - 12:48 AM

Vlc is installed by default in Kali.

 

 

If not Try

apt-get install vlc

And to run vlc as root on Kali Linux

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

PS

 

Arch Linux is great.

 

PPS

@ Mike, Stop stealing what I'm thinking LOL.


Edited by NickAu, 26 July 2018 - 05:49 PM.


#11 akki28

akki28
  • Topic Starter

  • Members
  • 30 posts
  • OFFLINE
  •  

Posted 26 July 2018 - 03:24 AM

I finally installed it.

The problem is repositories in       /etc/apt/sources.list

Go to the file and open it in text editor and copy paste these in there:

 

 

deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib

deb http://http.kali.org/kali kali-rolling main non-free contrib

 

 

Save the file.

then open terminal and type apt-get update

then run apt-get install vlc

 

It took 5-10 mins on my pc.

 

you cannot run vlc on root account.

So I made an admin account, there I was able to play songs on it.



#12 Rocky Bennett

Rocky Bennett

  • Members
  • 2,820 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:New Mexico, USA
  • Local time:09:33 AM

Posted 26 July 2018 - 05:36 AM

Don't use Kali as desktop distro. It is not designed to be used as a daily desktop distro.


594965_zpsp5exvyzm.png


#13 SupermanPrime

SupermanPrime

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:33 PM

Posted 26 July 2018 - 08:54 AM

If I may ask, how did you end up using Kali?


Courage is fear trying to hold on a minute longer. We all need to find that extra minute inside ourselves if we're going to make it through this crisis.


#14 SupermanPrime

SupermanPrime

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:33 PM

Posted 26 July 2018 - 10:23 AM

Well it is arch based and aur can be a pain, dont get me wrong I love manjaro but the aur can be a big pain

Doesn't Manjaro have a graphical tool to install AUR software? And why is the AUR a pain?


Courage is fear trying to hold on a minute longer. We all need to find that extra minute inside ourselves if we're going to make it through this crisis.


#15 MadmanRB

MadmanRB

    Spoon!!!!


  • Members
  • 3,222 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:No time for that when there is evil afoot!
  • Local time:11:33 AM

Posted 26 July 2018 - 10:51 AM

Doesn't Manjaro have a graphical tool to install AUR software? And why is the AUR a pain?

Yes Manjaro has pamac and octopy. And no the issue isnt it being hard to use.

Its more like how long it can take things to install via AUR as some packages are not compiled on it.

Sure installing chrome? no prob

But installing something not with a pre compiled package like clementine qt5 and yipes it takes a while


You know you want me baby!

Proud Linux user and dual booter.

Proud Vivaldi user.

 

xu847p-6.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users