Glenn Slaven Asked: 2009-05-01 18:11:59 +0800 CST2009-05-01 18:11:59 +0800 CST 2009-05-01 18:11:59 +0800 CST Is there a good summary somewhere of what should go in each of the main folders in a linux install? 772 eg bin, sbin, proc, lib, boot, usr, etc... Is there a standard list somewhere, does it depend on the distro? This is essentially to answer the common question I have "I'm installing X or putting Y on the server, what folder should I put it in?" linux directory lsb 2 Answers Voted saschabeaumont 2009-05-01T18:33:34+08:002009-05-01T18:33:34+08:00 If you're installing X or Y, and it's not a standard OS package, then stuff should end up in /usr/local/bin, /usr/local/lib/, etc. The Filesystem Hierarchy Standard and Linux Standard Base is probably a good place to start if you want to reference the closest thing there is to a standard list. Best Answer lc. 2009-05-01T18:18:03+08:002009-05-01T18:18:03+08:00 Each distro may have their own quirks, but the overall file system structure should be more or less the same: "Linux File Structure" is a good overview of the directory structure. "Linux's directory structure" is a bit more verbose and goes into more detail about their contents.
If you're installing X or Y, and it's not a standard OS package, then stuff should end up in
/usr/local/bin
,/usr/local/lib/
, etc.The Filesystem Hierarchy Standard and Linux Standard Base is probably a good place to start if you want to reference the closest thing there is to a standard list.
Each distro may have their own quirks, but the overall file system structure should be more or less the same: