LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where do i put the folders i compile? (https://www.linuxquestions.org/questions/linux-newbie-8/where-do-i-put-the-folders-i-compile-519910/)

blackspade 01-16-2007 02:57 PM

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

dinolinux 01-16-2007 03:01 PM

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

opto 01-16-2007 03:18 PM

I made a folder called newapps using the mkdir command in /usr.

pixellany 01-16-2007 03:28 PM

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.