Filesystem Hierarchy Standard

Today, When I read a paper about compile source and install, it mentioned default install path is /usr/local . Do you know why default install path is /usr/local? Because it should obey the FHS (Filesystem Hierarchy Standard). Here is FHS. FYI.

BTW, this standard is for UNIX-like operating systems, especially Linux. So if you compile and install some source which come from community in Solaris, it still be installed in default path /usr/local. If you want to change the install path, use:

./configure --prefix=/install_path

It will generic a makefile by which you can install application or library into install_path.

Comments:

Post a Comment:
Comments are closed for this entry.
About

williamxue

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today