LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-24-2005, 01:59 AM   #1
dludenar
Member
 
Registered: Sep 2005
Location: Japan
Distribution: CentOS 5.2 / Fedora Core 8
Posts: 41

Rep: Reputation: 20
Unistall


Hello

I'm new using Linux Fedora Core 3, I want to know how can I unistall a program, if you could send me the procedure, I really appreciate.

Regards

DLudenar
 
Old 10-24-2005, 02:17 AM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Code:
rpm -e packagename
OR
yum remove packagename
if you don't know the package name
Code:
rpm -qa | grep -i programname
You should learn to use yum to install and uninstall software if you haven't already: http://www.fedorafaq.org/fc3/#installsoftware
 
Old 10-24-2005, 02:22 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
if you use rpm packages (and not compile programs yourself), simply use the rpm erase command (you'll have to be root if you haven't made any magic):

Code:
$ su
Password:
# rpm -e programname
above "programname" is the name of the program you wish to uninstall (like "gaim" without the quotes, for example, if you wish to remove it). the "su" command gives you superuser rights, so you'll need to type in root password for that (it's not displayed when you write it).

alternative method is to use sudo instead of su (you do not become root, like above, but the command is run as root) - this works only if the user you are logged in as is allowed to use sudo:

Code:
$ sudo rpm -e packagename
after that command you are asked your password (password of the user you _currently_ use, not root's!). if you are allowed to sudo, then it works - if you are not, the command fails and you need to use the above method. I'd advice you to use sudo.
 
Old 10-24-2005, 02:28 AM   #4
dludenar
Member
 
Registered: Sep 2005
Location: Japan
Distribution: CentOS 5.2 / Fedora Core 8
Posts: 41

Original Poster
Rep: Reputation: 20
People

Thanks for your answer nad for spend your time answering me. Now I know where to find good solutions.

Thanks

DLudenar
 
  


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
Unistall inonothing Linux - Newbie 4 12-06-2004 09:13 AM
unistall my linux Astrojax Linux - Newbie 5 09-05-2004 05:30 AM
Unistall PhuckFonix Linux - Newbie 3 06-16-2004 10:41 PM
unistall csosa Linux - Software 1 09-24-2003 02:09 PM
Unistall csosa Linux - Software 1 09-23-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 AM.

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
Open Source Consulting | Domain Registration