On Fri, 18 Mar 2005 09:41:11 -0500, Binand Sethumadhavan <[EMAIL PROTECTED]> wrote: > On Fri, 18 Mar 2005 19:33:40 +0530, Ravi Kumar <[EMAIL PROTECTED]> wrote: > > I know how to do it if it is running redhat. rpm has a option to > > install the package in another location. > > This is only true if the RPM package is marked relocatable. e2fsprogs, > the package containing chattr, is not marked as relocatable. > > Binand
Not so. You can relocate a particular file(s) into a different path using the rpm flag: # rpm -ivh --force --relocate old_path=new_path <package_name> eg: # rpm -ivh --force --relocate /usr/bin=/mydir e2fsprogs*.rpm And it works. ie all the files that are to be installed into /usr/bin will now be installed in /mydir. ravi -- ---------------------- I hear and I forget, I see and I remember, I DO and I understand. -Confucius- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
