Discussion Locked

How to uninstall software on linux?

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

It may be a silly question to ask...but I really! dont know how to unintall, or cleanly uninstall a software on linux...im using fedora core...

Using the command base that is...no gui.

15 replies

by jaqui

man rpm

or rpm --help

that will give you to documentation for Red Hat's Fedora Core command line tools

the rpm package manager does all software management tasks.

by apotheon

The originator of this thread probably would prefer to use YUM over falling back to RPM. Instead of [b]man rpm[/b], perhaps [b]man yum[/b] would be more appropriate.

Of course, my personal preference would be to install Debian and use APT, or possibly even Synaptic, instead.

by danlm

and 'make deinstall'
sorry, this didn't help the origional user.

Actually, I think our question should really be to him is. How was the software installed? Ie, via rpm or downloading of the source and then doing the make, install. Because, to be truthful. I do both, and both require different mythology's to uninstalling the software.

Dan

by jmgarvin

It's pretty easy? All you have to do is decide on the package to remove and remove it via yum.

If you want a GUI for yum use:
yum install yumex

Good luck.

by techexec2

This explains clearly why "open source" is not kicking Microsoft's butt better than it already is. Linux is a great thing. But it is simply not taking good care of everyday users like you. And the pathetic attitude of Linux and open source advocates hurts the very cause they are trying to support. How stupid is that!

Your answers are already posted here.

Take care. And use Linux. It is a great thing and well worth learning how to use correctly.

by davedxb

All i wanted to do is just install fedora core and try and learn how i can use it for the office. The biggest problem i face is the MULTIPLE ways / techniques and articles out there and show you to do things in a million ways that you spend a whole month reading and testing just to try and install Apache...

Installing linux was easy.
Now im currently tryin to install and get up and running with
-web server (apache, httpd bla bla bla)
-ftp server (vsftpd)
etc...

let me start step by step...with the basics first...before i do all this..i think i should learn the essentials....by stick to one flavour and one style of managment for now until i get better and better with time...for know i would really appreciate if you guys would clarofy all this headache of different ways by answering the best solutions.

1. How to install and un-install software in the most reliable and efficient way, professionally? No GUI, simple hardcore? Yum or RPM? make or make install? dam im confused...can we just all decide on one technique i can use (best practises).

2. Installing a webserver (basic, no sql, no java, no nothing...just a simple HTML site (one page))

3. Installing FTP server...i read a hundred articles...i think i screwed the whole system up.

by techexec2

The most basic way to configure the Apache web server on Linux is to edit the configuration file directly. With Fedora Core (the location varies by the distro) edit the following file:

/etc/httpd/conf/http.conf

Learn how to edit this file here using this link (1). As many have said here on TR, "Google is your friend". All (really!) the information you need is available via Google.

After editing, you must restart Apache using the followind command:

service httpd restart

On Fedora Core, using the X graphical interface, you can configure Apache via the Applications -> System Settings -> Server Settings -> HTTP menu option. I prefer editing httpd.conf directly.

If you come from Windows, you will likely find Linux a little lacking in ease of use compared to Windows. I STRONGLY suggest you not abandon Linux because of this. It may be a little harder to approach at first. But, it is well worth a little extra effort to learn and use.

Utilize the Fedora website (2).

REFERENCES

(1) Apache Configuration files
http://httpd.apache.org/docs/1.3/configuring.html

Configuration directives in httpd.conf
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-apache-config.html

(2) Fedora Home
http://fedora.redhat.com/

by charliespencer

I'm doing something similar, but you're more ambitious than I am. I'm only trying to get Fedora Core 5 to work as a desktop in a Windows domain.

Many point to the variety and number of choices available as one of open source software's strong points. What they often forget is that for many of us coming from a Windows background, the number of options can be overwhelming. When your only option was "Add / Remove" programs, then picking between apt, rpm, yum, make, etc. can be intimidating. I don't have any guidance, but I can sympathize.

You mentioned doing things "professionally". Some say the only way to do things professionally is to use the command line exclusively and not to install a GUI at all. At this stage, it depends on what your goals are. You'll have a better understanding of the processes if you take that approach. On the other hand, if you just want to get something up for testing purposes and worry about how it works later, use GUI tools. Regardless, when you get to a production box, be sure to exit out of the GUI when you don't actually need it.

Do you already have web and ftp server skills from your Windows experience? If not, you may be better off researching these topics before you try to implement them, regardless of the operating system you are going to use.

There's my uninformed newbie 2 cents. A couple of the people here can be kind of gruff, but the overall knowledge pool is pretty deep and it's usually worth putting up with their attitude. Try asking questions about one topic at a time, providing as many details as possible, what you've already tried, etc. Check this link:

http://www.catb.org/~esr/faqs/smart-questions.html

by tig2

Exactly what I am doing now- and it REALLY helps!

The Linux community is willing to help if you are willing to help yourself. Asking a question that can be Googled for an answer, i.e. Where do I find a distro? will not get you a response beyond "Google is your friend". But asking if there is a Best Practise doc on FTP will get you information and probably a link.

I'm reading everything I can get my hands on about Puppy as it looks like the best solution for my needs- I use my personal machine for work. I need to keep the XP OS pristine for clients (and I don't like MS any more) and I want to explore using Linux without toasting (and having to rebuilt) XP.

I asked a single question- "Where do I find a good user forum for Puppy". I had all the links I needed to find a LUG that is deeply into Puppy. It really does work!

Good luck to you!

by jmgarvin

*Edit*

To install, update, list, and remove software at the command line:

To install:
yum install package_name

To update:
yum update package_name

To list all packages and write the output to a grepable text file
yum list > list.txt

To grep that grepable text file:
grep foo list.txt

To uninstall:
yum remove package_name

If you use the -y option it will automatically say yes to all the prompts that require a yes/no answer:
yum -y install httpd

*Edit*

During install you can choose to install a web server or not. If you check the box, Apache is installed at that time. However, if you did not check the box simply type at the command line:

yum -y install httpd

You now have a web server installed. To edit the configuration file:

gedit /etc/httpd/conf/httpd.conf

To edit the index page
gedit /var/www/html/index.html

Now check to see if the service is running:
service httpd status

If you need to start it type:
service httpd start

To install a FTP server:
yum -y install vsftpd

Now start the service:
service vsftd start

There you are...all done ;-)

by apotheon

Your "uninformed newbie 2 cents" is pretty good. Don't short-change yourself -- it seems you know more than you think.

As for some simple answers:

1. When managing software on your system, use the software management system that is standard for your distribution. It's difficult to go wrong that way. For Fedora Core, that means using YUM at the command line and yumex from the GUI. The yumex utility is just a graphical front-end to the YUM command-line tool. Because I mostly use Debian, I use APT and, if I wanted to use a GUI tool, I'd use Synaptic. I don't bother to use GUI tools for software management, though -- generally, once you get used to the command-line tools, you'll probably find that the GUI tools are entirely unnecessary (though they're nice and friendly for people just coming from Windows).

2. The request for "best practices" is in some ways an uninformed question. For the most part, the reason we have more than one option for everything is that there's a different way to do things depending on circumstances and personal preferences, so your "best practices" changes from one case to another. In general, though, the best option for software management is to use whatever's standard for the Linux distribution you're using (as I said above).

3. As you said, Palmetto, the GUI isn't necessary or even desirable for a server system (unless it's a GUI application server, but that's another story). Also as you said, that doesn't mean you can't use GUI tools to learn about the system. Just don't let that get in the way of learning to do things from the command line.

4. For default installs, just about any distribution should already have an FTP daemon running. To learn about configuring it, you might try entering [b]man ftpd[/b] at the command line (and, in case you're not familiar with the man utility, you can use the Q key to exit the manpage -- see http://articles.techrepublic.com.com/5100-10877-6102898.html for more about using manpages).

5. Your distribution may or may not already have Apache installed. I believe Fedora's default installs include Apache, though I don't know for sure -- I've only ever done exactly one default install of Fedora, and that was by accident. My preference is to do a minimal install and use YUM to add exactly the software I need (and nothing more), if I have to use Fedora at all. Actually, my real preference is to use a different distribution, but that's another story.

6. You're right, Palmetto: some of use are crotchety old cusses. Our hearts are in the right place, though, mostly. Offering the howto about asking questions "the smart way" was definitely a good idea, in any case.

Linux really isn't as hard as people seem to think. It just takes some adjustment. Once you "get it", things become much easier -- it just takes a while to get to that point sometimes, and it's kind of a case of the luck of the draw in determining how quickly you'll be able to "get it". Some people start out having problems installing Linux for the first time, but some grok the process quickly and easily. Others have difficulty adjusting to the Linux command line, while yet others might take to it like a fish to water. There are things that can help the process of adjustment along, ways to "cheat" one might say, like finding a good LUG (Linux User Group), finding some good articles to help learn how to learn (the essay about asking questions the smart way and the article about manpages above are probably good examples of that), and so on.

I think the main key to rapid adaptation, though, is to have fun with it.

by laredoflash9

Simply run Yast. Go to software management and uncheck installed software. SuSE will then uninstalled all that was unchecked. You can do both, install new software, and remove software with this tool.

LaredoFlash

by sglafata

If using an RPM-based Linux distro, which Fedora is, then there are two easy ways to do this - use urpm or rpm.

Using URPM, the syntax is:

urpmi - to install
urpme - to uninstall

Using RPM, the syntax is:

rpm -ivh - to install
rpm -e - uninstall

These programs are installed by default in an RPM-based distro. Other options are to install the apt-get rpm package (I can't remember what it is exactly called at this time) and you will be able to use the Debian based package management options. I usually just stick with what the distro defaults to.

I highly recommend that you check out the site http://www.fedoranews.org. There are lots of articles and examples to aid you in accomplishing tasks.

As to the other posters, the problem is that most Linux enthusiasts tend to provide their own opinions and steer users to their preferences rather than just answering the questions. If people would just answer the questions, Linux support wouldn't have the rep is has.

by apotheon

"[i]As to the other posters, the problem is that most Linux enthusiasts tend to provide their own opinions and steer users to their preferences rather than just answering the questions. If people would just answer the questions, Linux support wouldn't have the rep is has.[/i]"
Funny how your blanket judgment of all the other people in this thread is so thoroughly inaccurate. Perhaps you should actuall [b]read[/b] some of those other posts before painting them all with the same unflattering brush:

[url=https://www.techrepublic.com.com/5208-6230-0.html?forumID=90&threadID=201401&messageID=2099687]YUM[/url]
[url=https://www.techrepublic.com.com/5208-6230-0.html?forumID=90&threadID=201401&messageID=2100041]I'm sympathetic[/url]
[url=https://www.techrepublic.com.com/5208-6230-0.html?forumID=90&threadID=201401&messageID=2100139]Good advice.[/url]

. . . and so on. There's a fair bit of good information in this thread. Meanwhile, all you did is provide information that already exists in other posts here, and limit the information you provide to RPM-based distributions rather than providing a complete overview that doesn't focus on your own preferences. Hypocrisy is a dangerous trap.

This discussion is closed to new replies.