LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   uninstalling programs in Fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-programs-in-fedora-9-a-669339/)

evartsd 09-11-2008 07:10 PM

uninstalling programs in Fedora 9
 
I am a Network Admin and have worked with Windows for years. I have now loaded a Fedora Server and have installed myswl. Apparently it did not load all the way and I need to uninstall it. With windows it is simple however I would like to figure this out as I am sure I will need to know this.

Thanks
Dave Evarts

chrism01 09-11-2008 07:14 PM

How did you install MySQL ?

1. via the menus
2. cmd line yum install ...
3. src mysql.tar.gz


???

henry_shadowjet 09-11-2008 09:54 PM

chrism01 is right, we need to know the way you installed the program in the first place.

If you installed via RPM files, then uninstallation is very easy, just issue the following command as root:
yum remove <packagename>

Another way would be using RPM, first get the complete package name by issuing:
rpm -qa | grep -i <packagename>, in your case: rpm -qa | grep -i mysql
And issue the following to uninstall it (as root):
rpm -e <complete packagename returned>

If you have installed it using source files, things get a little more complicated. Carefully use the documentation to know where the files has been installed. Correct me if I'm wrong, but I think MySQL has "make uninstall" command available. In that case, try to issue the command as root on the source directory.

Hope that shed a bit of light ^^

evartsd 09-12-2008 07:20 AM

Reply to Install question for mysql
 
I installed it within the terminal. First I unzipped it using gunzip then tar. When I tried this command ./configure it failed. I could not do the make command because it said it could not find a compiler. I did install GMP-0.4.3 and it still says it cannot find a compiler. I am guessing that I may not have installed it properly. Does fedora 9 come with a compiler already installed? For that matter does it come with Mysql and phpmyadmin also?

csfalcon 09-13-2008 03:45 AM

mysql is included on the fedora cds/dvd.

you can install mysql with "add/remove software", it should be in the "Applications" menu. look for Database, and check MySQL.

if you didn't install a gui then try as root

yum install mysql mysql-server


also, if ./configure failed, then the software was not installed, therefore, no need to uninstall.

jay73 09-13-2008 06:26 AM

Correct. And if you need a compiler, it's gcc that you need to install.

evartsd 09-16-2008 07:29 AM

Gcc
 
Does anyone have a link for the gcc download?

jay73 09-16-2008 07:35 AM

It can be installed from the repositories: log in as root and run yum install gcc. It can also be installed from a dialog box; I recommend that you open a terminal and run yum install yumex. This will make Yumex appear under Applications > System Tools. Open it and enter gcc into the search box.

inspiron_Droid 09-16-2008 07:39 AM

Quote:

Originally Posted by evartsd (Post 3277723)
I am a Network Admin and have worked with Windows for years. I have now loaded a Fedora Server and have installed myswl. Apparently it did not load all the way and I need to uninstall it. With windows it is simple however I would like to figure this out as I am sure I will need to know this.

Thanks
Dave Evarts

Code:

Yum -y remove mysql


All times are GMT -5. The time now is 08:32 AM.