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.



Fill in your details below or click an icon to log in: 徽标

You are commenting using your account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )


Connecting to %s