LinuxQuestions.org
Register a domain and help support LQ
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, 10:59 AM   #1
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Rep: Reputation: 16
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 11:06 AM.
 
Old 11-21-2010, 11:08 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,246

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
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 11:12 AM.
 
1 members found this post helpful.
Old 11-21-2010, 11:14 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Filesystem Hierarchy Standard (FHS)
 
1 members found this post helpful.
Old 11-21-2010, 11: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: 16
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


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


All times are GMT -5. The time now is 07:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration