Rpm change default install directory
Most people install RPM packages by using the following command:. This is the simplest installation method. The files in the RPM package will be installed in the default directory specified when packaging. But sometimes, we cannot write to the root directory without the root permission of the system, or we want to change the default installation path of RPM for some reason such as file recovery.
Here are some tips you can use. First, check the default installation directory of the RPM package with the following command, for example:. The above command lists the location where each file will be installed. Create a free Team What is Teams? Learn more. How to modify default install directory for rpmbuild command? Ask Question. Asked 6 years, 3 months ago. Active 5 years, 7 months ago. Viewed times. Improve this question.
Nan Xiao Nan Xiao 1, 5 5 gold badges 17 17 silver badges 27 27 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Rich Homolka Rich Homolka 3 3 silver badges 6 6 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
0コメント