3/21/2023 0 Comments Netbeans working directoryusr, /usr/bin are usually places for software installed by the system to be installed. Really it comes down to personal preference. It's usually only used by very large packages, but in this case, given that Netbeans wants to have its own folder, it probably makes the most sense to put it under /opt/netbeans opt is probably the closest equivalent to c:\program files, in that it's the one place you'd expect to find an application with all its files together in one folder, rather than scattered across /usr/bin, /var, and /etc. opt is reserved for the installation of add-on application software packages.` Just when you thought things were settled, there's one other place, which is probably the closest equivalent of c:\Program Files - /opt: This keeps them out of the way of the package management system and lets you spot what you installed from the distro (and don't need to back up because you can grab it again) and what you compiled by hand it also lets you run different versions at the same time (eg, /usr/bin/firefox vs /usr/local/bin/firefox). Most things that you install through your distro's package manager will be placed under /usr many people put things they've compiled by hand under /usr/local instead. There's one other use for /usr/local though. Anything installed only on the local machine should go in /usr/local/bin or /usr/local/sbin.Likewise, essential user commands that may be needed before /usr is mounted go in /bin.System administration programs that are required for system repair, system recovery, mounting /usr, or other essential functions must be placed in /sbin instead (ie, the things you need to access in order to mount /usr/sbin go in /sbin)./usr/sbin is for any non-essential binaries used exclusively by the system administrator./usr/bin is the primary directory of executable commands on the system./usr/local is for use by the system administrator when installing software locally (ie, for applications installed only on this machine, not on every machine on the network).usr is for shareable, read-only data, and should be shareable between various FHS-compliant hosts (if you have lots of machines on your network, and they're all the same architecture, you should be able to share a single /usr folder with every machine on the network) Sbin is short for "server binary", otherwise defined as: According to the Filesystem Hierarchy Standard, there are several places that are acceptable, depending on the application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |