Re: tweaking rpm program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Parameshwara Bhat said the following on 09/07/2004 08:58:
Hello list

Is it possible in any way to kernel-source rpm to go to a directory of your choice?

The context is, one is advised to build kernel sources as a normal user until you are ready to 'make install'. A source rpm installs by default into /usr/src/kernel-version which has no write permission for a normal user. And a normal user needs to do a 'su' to build there.

rpm -Uhv --relocate /usr/src=/tmp kernel-source-2.6.5-1.358.i386.rpm

substitute /tmp with the directory of choice. You still need to be root to install the rpm though.


-- Redmond, we have a problem.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux