Link to home
Start Free TrialLog in
Avatar of badwolfff
badwolfffFlag for United Kingdom of Great Britain and Northern Ireland

asked on

What does this command mean on Centos 7 "rpm -e --nodeps --justdb"?

Could anyone please tell me what this command means on Centos 7?
rpm -e --nodeps --justdb

Also I have by accident installed two versions of MySQL on my server:
MySQL55-devel-5.5.42-4.cp1148.x86_64
and
mysql-community-client-5.6.25-2.el7.x86_64
 via two commands:
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
sudo yum -y install mysql-community-server

and separately

sudo yum install php-mysql
sudo yum --enablerepo=remi,remi-php56 install php-pecl-apcu php-cli php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-xml

Open in new window


I was following some installation tutorial and by accident installed both. How do I get rid of one of them and which would you recommend me to remove as I would prefer the best of the two.

thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of badwolfff

ASKER

Thanks. No, rightly I don't need the development release. In that case the right installation command would have been:
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
sudo yum -y install mysql-community-server

Right?

Also how do I find and uninstall the other one?


Just out of curiosity. That non-development release ouf of the two here, which version it is?
I need 5.6.
Does your system already have mysql installed?

Because using rpm -Uvh will upgrade a package, not "install it"

If you want to install use "rpm -ivh"

Try finding the package with "rpm -qi <name-of-package>"

For example:  rpm -qi mysql

See what is listed.