Thursday, March 29, 2012

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

No comments:

Post a Comment

Kubernetes 1.31 || Testing the Image Volume mount feature using Minikube

With Kubernetes new version 1.31 ( https://kubernetes.io/blog/2024/08/13/kubernetes-v1-31-release/ ) there are so many features releases for...