There is no C:\Program Files\
in linux "per se". Therefore it doesn't exist one single (default) place where programs where to install. Actually many linux programs installs all over the place, parts of them installs in different folders. That's happening for performance optimization - one of many reasons why linux runs faster than Windows.
Best practice is to allow the program to install wherever it wants. Don't worry about volume fragmentation. That's virtually non-existent in linux.
The same thing happens in Windows too, when some big programs are installing files in ProgramData or CommonFiles folders. I've seen programs installing in Program Files (x64) and their respective Licence Key Server installing in Program Files (x86). Many specific user data may install in C:\Users\Documents\
.
When a program uses many per-user options and files, it ussually installs to /usr/share
. When it does not, it ussually installs to /opt
. You could say that /usr
is the equivalent of Users folder from Windows. /opt
stands for optional software (that doesn't come bundled with the Ubuntu original disk).
For in-depth details of where and how linux programs are installed, please see this topic: Where are my installed applications
There is no single Program Files because of security reasons. Trusted applications (verified by the Software Center) may install in more sensitive places like /bin
(=binaries) or even /sbin
(=superbinaries), while untrusted (unverified) apps are installed in secure and secluded locations like /opt
.
/computer
comes from./usr
and/opt
should be off of the root directory. – Ray May 21 '16 at 15:24name@name-myComputer:~$
this is what shows up when I first open the terminal. Is this my root path? – May 21 '16 at 15:30/
. I think that link I sent to you mentions that. The prompt is the default prompt (yes, you can change it). It just says that your login name isname
and the name of your computer isname-myComputer
. The~
is your "home directory" -- the highest directory for a user. You can typepwd
to find out what is the current directory. I guess I'm getting a bit off-topic. If anything I've said sounds confusing, perhaps you should look for tutorials on navigating through directories? – Ray May 21 '16 at 15:50pwd
it says " / ". So does that mean I am in root by default? I'm sorry, this stuff is sort of confusing to me. – May 21 '16 at 16:09pwd
and it says/
, that probably means you don't have a home directory. Take a look at this http://askubuntu.com/questions/374870/home-directory-not-being-created or look for others asking about the lack of a home directory. You don't need to say sorry, but you might want to invest some time into a proper tutorial instead of a Q&A board like askubuntu. Just a suggestion since you seem to have many questions and you're drifting away from your original question. – Ray May 21 '16 at 17:11