Step 1) Checking RPM database for installed RPMs Ok this example is taken from my RH7.2 box. If you want to remove the rpms you first need to know which ones are installed. You do this with the following command:
[root@intranet root]# rpm -qa |grep mysql mysql-server-3.23.41-1 mysql-devel-3.23.41-1 mysqlclient9-3.23.22-6 mysql-3.23.41-1 Step 2) Removing RPMs Then by using the "-e" swith you can erase an rpm: [root@intranet root]# rpm -e mysql-3.23.41-1 do this for all the mysql rpms Step 3) Installing RPMs A new rpm can be installed in different ways, but I always use "-Uhv": [root@intranet root]# rpm -Uhv mysql-blah.rpm for more information type in "man rpm" Andy Kirk wrote: > I am new to Linux, and have been advised to solve a MySQL problem on RH8, I > need to remove the MySQL RPM that came with RH8, and load the MySQL 3.23.54 > RPM from www.mysql.com. > > My question is, what commands do I need to run to remove the existing RPM, > and then install the new RPM. > > Thanks for a simple answer to a simple question > > > > -- David S. Wilkinson -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list