X
X
X30N2014-02-04 19:42:56
linux
X30N, 2014-02-04 19:42:56

How to install a package on CentOS without updating dependencies?

You need to install php-devel on CentOS, but do not update php-fpm, which is already on the server and which php-devel pulls with it.
It seems like you can write --no-upgrade in apt-get and it will not update dependencies, how can I do this on yum?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gagarinq9, 2014-02-05
@gagarinq9

rpm -i --nodeps package.rpm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question