LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2014, 04:44 PM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
Uninstalling VLC on CentOS


Hello,

i have installed vlc-2.0.5-8, but when i click the menu item, it's not opening. so i want to uninstall it and install again.

how do i do a clean uninstall via shell?

Please advise.
 
Old 03-13-2014, 07:57 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
yum remove, or rpm -e
 
Old 03-13-2014, 11:27 PM   #3
d0gg1e
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by AlucardZero View Post
yum remove, or rpm -e
Exactly what AlucardZero said. Just wanted to add that you'd have to be root with either the yum/rpm command:

sudo yum remove vlc

or

sudo rpm -e vlc
 
Old 03-13-2014, 11:39 PM   #4
hunterjoz1996
Member
 
Registered: Dec 2013
Location: Virginia Beach, VA
Distribution: Arch Linux
Posts: 59

Rep: Reputation: 6
To save a little time, you can also type this:

#sudo yum reinstall <pacname>
Or the other two posts work too, it depends on your desires.
 
Old 03-14-2014, 09:39 AM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
To find out what is preventing from open vlc you can run it from the terminal and see what messages are displayed on the terminal as user just type vlc.

If you decide to remove it anyway remember to also delete the .vlc directory from your home directory. if you install vlc again it will use the existing .vlc configuration files which might contain a problematic setting file.

good luck to you
 
Old 03-15-2014, 03:22 PM   #6
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
To find out what is preventing from open vlc you can run it from the terminal and see what messages are displayed on the terminal as user just type vlc.

If you decide to remove it anyway remember to also delete the .vlc directory from your home directory. if you install vlc again it will use the existing .vlc configuration files which might contain a problematic setting file.

good luck to you
Hai TRon

Quote:
[root@localhost ~]# vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
 
Old 03-15-2014, 03:26 PM   #7
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by d0gg1e View Post
Exactly what AlucardZero said. Just wanted to add that you'd have to be root with either the yum/rpm command:

sudo yum remove vlc

or

sudo rpm -e vlc
Code:
sudo rpm -e vlc
This does the job, thanks folks !!!
 
Old 03-15-2014, 03:51 PM   #8
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
To find out what is preventing from open vlc you can run it from the terminal and see what messages are displayed on the terminal as user just type vlc.

If you decide to remove it anyway remember to also delete the .vlc directory from your home directory. if you install vlc again it will use the existing .vlc configuration files which might contain a problematic setting file.

good luck to you
THank you,
now this problem also fixed. thanks for giving me the tip to find the error (#vlc)

Quote:
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
Quote:
This error says straight forward vlc can not be run as root privileged user. What to do now? Donít be panic. Here is the hacked solution :-D
vi /usr/bin/vlc
search for geteuid and replace it with getppid

Save file & Exit.
http://www.hackersgarage.com/vlc-is-...-solution.html
 
Old 03-15-2014, 06:11 PM   #9
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Hey great you fixed but I am wondering why not in first place you could run it from terminal just by typing
Code:
$ vlc
But again if it is now working for you then great.
 
Old 03-16-2014, 01:38 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
there is a VERY good reason that the GUI and programs like VLC should NOT be ran as root

xorg is a SECURITY nightmare if ran as root

remember the days of WindowsXP
everyone was ROOT !!!!
and that gave "the bad guys" the ability to changes things AS ROOT ( well the Administrator or if set "owner" account )
 
Old 03-17-2014, 12:53 AM   #11
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
there is a VERY good reason that the GUI and programs like VLC should NOT be ran as root

xorg is a SECURITY nightmare if ran as root

remember the days of WindowsXP
everyone was ROOT !!!!
and that gave "the bad guys" the ability to changes things AS ROOT ( well the Administrator or if set "owner" account )
undestood!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] vlc crashed on CentOS 6.1, why and how to fix it ? centguy Linux - Software 1 05-17-2012 11:23 AM
[SOLVED] VLC installation in CentOs 5.4 ugujjwal Linux - Newbie 3 03-04-2011 07:14 AM
CentOS 5 - Uninstalling Kaboodle Linux31 Red Hat 4 04-01-2008 05:14 PM
uninstalling application or software on CentOS dojiep Linux - Newbie 2 12-02-2006 04:36 PM
Uninstalling Realplayer in CentOS 4.3 A_Complete_Idiot Linux - Newbie 6 07-26-2006 05:54 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration