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:

WordPress.com Logo

You are commenting using your WordPress.com 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 / 更改 )

Google+ photo

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

Connecting to %s