![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find a specific files in a many directory | selamba_warrior | Shell Programming and Scripting | 7 | 05-28-2008 03:41 PM |
| how to install packages into specific dirs!!! | wrapster | SUN Solaris | 4 | 03-11-2008 02:10 PM |
| List all files that contain a specific directory | Sat510 | SUN Solaris | 7 | 04-17-2007 10:57 AM |
| delete files in specific directory | legato | Shell Programming and Scripting | 2 | 03-29-2006 09:46 PM |
| count file(s) under a specific directory | leemjesse | Shell Programming and Scripting | 6 | 03-23-2005 11:18 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
You can do that through relocation. List the contents of the RPM: 'rpm -qpl packagename.rpm', then for each base directory (/etc, /usr, \etc, \etc) you use a relocation statement. Say the RPM contains files in /etc and /usr/sbin, then to relocate /usr/sbin to /usr/local/sbin you would use 'rpm -i --relocate /usr/sbin=/usr/local/sbin packagename.rpm'.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|