LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   default installation directory in fedora (https://www.linuxquestions.org/questions/linux-newbie-8/default-installation-directory-in-fedora-928925/)

durgadatta 02-12-2012 04:11 AM

default installation directory in fedora
 
when i use yum to install some packages, where does it install the software. How can i change the installation directory during installation or permanently.

acid_kewpie 02-12-2012 04:14 AM

why do you want to change the location? There is VERY rarely any reason at all to do this. You can see what's in an RPM with "rpm -ql firefox" for example. But I would urge you to not care. There is no "Program Files" directory per se, files from packages get put in directories based on what they are, not what packages they are from. programs go in a /bin/ folder, libraries go in a /lib/ folder, documentation goes somewhere else again etc.

TobiSGD 02-12-2012 04:18 AM

To give you a better understanding how Linux is organized when it comes to locations of files you may want to have a look at the Filesystem Hierarchy Standard.

durgadatta 02-12-2012 04:34 AM

I get the following error when i type "yum search firefox" in fedora 13 terminal. I want to install latest firefox. What should i do. My computer is new- I have not installed or created any other files here.

Quote:

Loaded plugins: presto, refresh-packagekit
http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] PYCURL ERROR 7 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-x86_64. Please verify its path and try again

TobiSGD 02-12-2012 04:53 AM

Fedora 13 is out of date and not supported anymore. That may cause your issue. Install the current Fedora 16.

DavidMcCann 02-12-2012 11:00 AM

If (when) you get your new Fedora, try to stick with what's in the repository. If you add other stuff, you become responsible for sorting out the dependencies instead of yum, and that can get quite confusing.

If you type "rpm -qi firefox", the information you'll get includes "Relocations: (not relocatable)", and that applies to most software.


All times are GMT -5. The time now is 12:40 PM.