Install rpm to user defined Directory


Hi All,
As all we know that by default in linux rpm packages will get installed to / partition. So in some cases if don't we enough space on / and we need to install that rpm to some other location. We can achieve same by using --relocate option during installation as :

#rpm -ivh --relocate = packagename.rpm

To get information about default location use below command:

#rpm -qpl packagename.rpm

Enjoy!!

Kuldeep Sharma

Comments

Popular posts from this blog

Kubernetes || Remove Namespace stuck in terminating state after delete

How to take JVM Heap Dump using jmap

How to reset mongodb rootadmin password ??