LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-21-2010, 09:59 AM   #1
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Rep: Reputation: 17
Smile "standard/appropriate" place for downloaded program folder/files/etc?


So I new to learning about file system hierarchy etc.

I have just downloaded a .jar program (which was zipped), unzipped it, and when I click the .sh file it runs the program. I guess .sh must be a script telling the computer how to run the .jar ?

Anyhow, I am wondering where I should place the folder containing this .sh and .jar.

My understanding is that a user's installed program executables go in /usr/bin. However the folder for this program contains other files other than the blah-unix.sh and blah.jar.
Code:
 $ls
config  lib                        blah-mac.command  blah-windows.l4j.ini
help    licenses                  blah-unix.sh      other
images  blah.jar  blah-windows.exe
Any suggestions on a standard and organized way of dealing with these files? ideally id like to not just leave them in "downloads".

Thanks in advance.

Last edited by Ubunoob001; 11-21-2010 at 10:06 AM.
 
Old 11-21-2010, 10:08 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
The standard for user applications is /usr/local/bin. You should have this directory already added to PATH environment. And if your PC is multiuser you can create "bin" directory in your "home".

Last edited by eSelix; 11-21-2010 at 10:12 AM.
 
1 members found this post helpful.
Old 11-21-2010, 10:14 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Filesystem Hierarchy Standard (FHS)
 
1 members found this post helpful.
Old 11-21-2010, 10:25 AM   #4
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 17
Lightbulb

Quote:
Originally Posted by eSelix View Post
The standard for user applications is /usr/local/bin. You should have this directory already added to PATH environment. And if your PC is multiuser you can create "bin" directory in your "home".
Being still new to to PATH etc I will need to do some research on adding this folder. However this answered my question. Will place it in /usr/local/bin and then fiddle with adding the executable to PATH

Many thanks! Thread marked as solved.
 
  


Reply



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
How do I skip/jump to a "particular place" or "specified time/second" in mplayer? Aidin Sabetian Linux - Software 3 04-20-2010 06:46 PM
Comparison to "Program Files" Folder in Linux? Ascendancy5 Linux - Newbie 11 01-15-2009 06:45 AM
"screen" not working properly ( .screen folder in wrong place) ledow Slackware 4 01-11-2009 02:54 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Bios config: "ahci" or "standard ide" for a sata drive ? Danodare Slackware 1 11-05-2006 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:27 AM.

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
Open Source Consulting | Domain Registration