FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
will be great if u can advise me on the following :
1. How do i go about installing a package onto a particular directory?? for example, if i want to install Anaconda on my FC5 machine to the /mnt/newbie directory????
How do i go about installing a package onto a particular directory?
With RPM-based distro's it's called "relocation". Using the flag as "rpm -i some.rpm --relocate /usr/local=/usr" will try to relocate files that should be installed in /usr/local(/bin,/lib,/etc,/etc) to /usr(/bin,/lib,/etc,/etc). Not all packages are built with relocation in mind. Relocating files may make files inaccessable unless you know how to combat that.
for example, if i want to install Anaconda on my FC5 machine to the /mnt/newbie directory?
I wouldn't do that because you're messing up your file hierarchy (FSSTND or FHS or what its called) making your box less managable. For instance if the package contains libraries they won't be found unless you add them to /etc/ld.conf and run ldconfig. Binaries won't be found unless you call them directly or add the directory to your $PATH. Maybe you should tell us the reasons *why* you think you must exile that package to virtual Siberia?
Last edited by unSpawn; 07-17-2006 at 12:23 PM.
Reason: //Have keybd, can't type.
i'm sorry.... was just trying to follow tips on the page : http://bipolar.longbros.com/?p=10
to remaster my Fedora Cd.. Just realized that i'm misreading it... sorry for the inconvenience
I don't exactly have Fedora, but in Suse the command is identical. I have just one question, and I thought it was pointless to open a new thread, as it is related to the same problem.
Is there any problem if I, for example, install games on another partition? Maybe even a windows one?
For example "rpm -i game.rpm --relocate /windows/D/games" ? Will it work? Will it have any problems?
Will it have any problems?
If it doesn't handle relocation it could have. Rpm's have to be built specifically for relocation. Querying with "rpm -qi package.rpm" should show.
I thought it was pointless to open a new thread
We at LQ don't. Your problem = your thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.