How to organize file / folders in Linux?

I am using Fedora 10, would I like to organize my files and folders?

t

Suppose I have a .bin file , it automatically installs all files correctly, we don't want to worry about anything. (Like all windows, all files are located in " c: \ Program Files "). But on Linux. This is the path for the installation files.

One of my settings is for /usr/local/Zend/ZendStudio-5.5.0 , but it's a .bin file .

If I have an unpack package where I put the extracted folders. (firefox.tar.gz is a package, but we just need to extract it to run. In that case, when is the right place to extract those setup files).

It seems to me that it is difficult for me to understand my English. if in doubt, ask me.

+2


source to share


1 answer


The convention is to install installed programs in / usr / local / bin (or / usr / local / PROGRAM if it's hard enough) or ~ / bin (not / usr / bin so you don't mess with precompiled packages installed by your software manager (yum, apt, w / e).

Usually, if you were to compile from source and use a configure script, it would install to / usr / local by default (binaries will go to /usr/local/bin ,.so to / usr / local / lib, etc.) If you want to override it, you usually do something like



./configure --prefix=/usr

      

It is also an excellent document summarizing the Linux filesystem layout standards: http://www.pathname.com/fhs/pub/fhs-2.3.html

+2


source







All Articles