where do i put the folders i compile?
Hey,,
So if i download a file and extract it for say in my home directory. I compile it and make the install, and it installs. But what do i do with the folder in my home dir. after? can i delete that? In linux, where is the program files go? like windows would be C:\program files what about linux? just a noobb question haha |
In most cases you can delete the sources, it's not a problem, but check the docs before deleting. I usually put sources in a directory when I download them.
Apps want to go in /usr/local, but /usr/local is only meant for apps you write yourself. It doesn't mean that it won't work, it's just the standard place for them. It's reccomended to put things in /usr which can be done by adding --prefix=/usr when running ./configure |
I made a folder called newapps using the mkdir command in /usr.
|
In Linux, you can put new SW whereever you want (Same is true for Windows, BTW)
The most common choices are /usr, /usr/local, /opt, and /home If you put exectuables in directories that are not in the PATH variable, then you will need to modify PATH or make the appropriate links. |
All times are GMT -5. The time now is 11:36 AM. |