LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-22-2006, 10:22 AM   #1
JR67
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
What folder to download programs to?


When I download a program from the Internet, what folder should I download the program to? I have downloaded things for the web server and placed them into the html folder with no problems.

I am mainly asking about programs that run inside of Linux. I am using Mandrake 9.2 on one box and Ubuntu on the other.

Any information will be greatly appreciated.
 
Old 12-22-2006, 11:16 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
When I download a program from the Internet, what folder should I download the program to?
Wherever you like, but I have a /home/tredegar/DLs directory to try to keep things tidy.

But you are using Mandrake9.2 / ubuntu, and they both have their own package-managers (urpmi for mandrake, and apt for ubuntu) - if you use these, programs will automatically be put into the "correct" places (eg /usr/local/bin/), and your menus updated automagically. Try not to make life too difficult for yourself!
HTH & welcome to LQ!
 
Old 12-22-2006, 12:22 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by JR67
When I download a program from the Internet, what folder should I download the program to? I have downloaded things for the web server and placed them into the html folder with no problems.

I am mainly asking about programs that run inside of Linux. I am using Mandrake 9.2 on one box and Ubuntu on the other.

Any information will be greatly appreciated.
Let's distinguish between "download" and "install". Either one can go anywher you wnat, but here are some conventions:
Downloads in a folder called "downloads" in your home directory.
If you install using the GUI package manager--eg Synaptic--then stay with the defaults. The executables will likely go into /usr/bin or /usr/<something>
If you use rpm, apt, etc at the command-line to install, also take the defaults
Similar answer for compiling.

Stuff that does not fit--put in /opt

You can also have a folder of executables in the home directory. This is where I put--eg--scripts.
 
Old 12-23-2006, 12:04 AM   #4
JR67
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, that clears it up in my mind.

Thanks.
 
  


Reply


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
Changing programs default .folder jagwah Linux - Software 2 06-20-2006 01:08 AM
symlink from ares download folder desheikh Linux - Newbie 2 09-19-2005 03:47 PM
Which folder form Slackware-current to download alekoos Slackware 5 04-20-2004 05:34 AM
Folder with programs... mfo6463 Linux - General 6 03-28-2004 12:51 AM
SaveTo /Download /Folder Locations xwastedmindx Linux - Newbie 2 06-13-2003 07:56 PM


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

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