Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-16-2007, 02:57 PM   #1
Registered: Aug 2005
Location: Orange County, CA
Distribution: Suse 10.2 / backtrack2
Posts: 104

Rep: Reputation: 15
where do i put the folders i compile?


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
Old 01-16-2007, 03:01 PM   #2
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
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
Old 01-16-2007, 03:18 PM   #3
Registered: Jun 2006
Location: Pennsylvania
Distribution: Slackware64 , OS X , OpenBSD
Posts: 56

Rep: Reputation: 15
I made a folder called newapps using the mkdir command in /usr.
Old 01-16-2007, 03:28 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I put my PHP files and folders? mosdef Linux - Software 11 08-07-2012 07:52 PM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
Where to put website folders? gregr66 Mandriva 1 12-04-2005 11:45 AM
Which folders to put all update RPMs? harzfled Fedora 3 03-28-2005 06:44 PM
How to remove sites once you have put them into folders Silverw0lf Linux - Newbie 1 10-18-2003 01:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration