LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2006, 07:52 PM   #1
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Rep: Reputation: 30
where to download/activate apps?


I'm faced (once again) with the dilemma of where to locate an app (fresh off the internet) before bursting it onto my [Mandrake 10.1] system.

I'm tempted to put it into /usr/local/bin* because I've learned that things just work right from there: e.g., I have a bunch of utility [.sh] scripts that I put there, where they are always available from anywhere within my /home directory, simply by entering a script name. I used to keep a bunch of copies of each one of those (scripts) salted thru my /home/subdirectories, shifting them around as needed, until I discovered (or...ahem, Googled into) the beauty of /u/l/b*. I have, however, been warned against installing stuff outside of my home directory; been advised to always put stuff in /u/l/b*; been advised that it really doesn't matter where stuff is installed.

So, one last...definitive...answer. Where should I put this new app, that serves all purposes and risks little?
 
Old 09-26-2006, 08:04 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
/usr/local/bin is pretty safe, and it's available to all users. if you are the only user, you can create a /bin folder in your home directory and put them there. You may need to add that directory to your $PATH.

The biggest advantage that I see to using your /home directory, (assuming /home is on a separate partition as it should be), is that you can reinstall Linux, even a different distro, without worrying about protecting your special little babies.
 
Old 09-26-2006, 10:02 PM   #3
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Original Poster
Rep: Reputation: 30
well, that opened the floor to questions...

Quote:
Originally Posted by rickh
/usr/local/bin is pretty safe, and it's available to all users. if you are the only user, you can create a /bin folder in your home directory and put them there. You may need to add that directory to your $PATH.


The biggest advantage that I see to using your /home directory, (assuming /home is on a separate partition as it should be), is that you can reinstall Linux, even a different distro, without worrying about protecting your special little babies.
Doesn't opening a folder (directory?) in /home cancel out the benefits of having an app out in the 'bigger world'? To wit: once I had moved my [afformentioned] utility scripts up to /u/l/b, I was able a) to access them from anywhere within my /home environ, and b) I no longer had to preceed an invocation with './' . As I perceive the issue (and I'm not so confident of how solid I am on this) a script would work as long as it resided in a folder higher up the directory tree than the location from where I was calling it. Do I make sense a) with my comment, and b) with the accuracy of it? Hence, (if I'm on good ground here) any app residing up in /u/l/b is above any place I might be calling it from (from within /home). I know all this has something to do with $PATH, but I found that whenever I created a new folder in /home, I had to add to $PATH, such that it was becoming bloated. Part of what I did by moving stuff 'up the hill' was aimed at streamlining that process.

Uhm...you hadda ask embarrasing questions, didn't you? Truth is, I got hung up on creating partitions when I installed Linux, threw up my hands, and threw all the eggs in one basket (after all, it was just gonna be temporary, while I learned what Linux was all about). That was a year and better in the past, and now I'm in thick as thieves. I've got a whole boatload of [work related] apps, all kinds of saved projects, a vast warehouse of Python scripts (rudimentary stuff-I'm using Linux as a platform to learn programming) and I have, at various times, adapted the latest slant of advice, first installing this app here, and the next one there, and so on, to the point where I've got important stuff scattered everywhere. Yea, I know...I'm in deep hooey. At this point I haven't a clue how to gracefully back out and start all over. (Any advice here would be more than welcome, folks...please feel free to dive in.) In other words, I've grown just enough that a lot of this stuff is now 'mission critical' and my job depends on it. I have learned just enough about Linux to dig a deep hole, but not enough about the shovel I used. (If you've perceived this as a subtle plea for help, you're dead on!)

Last edited by southsibling; 09-27-2006 at 04:09 AM.
 
  


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
Can't download an autopackage from kde-apps.org mdhowe Linux - Software 2 11-09-2005 01:20 PM
Download apps for Xandros ctkroeker Linux - Software 1 08-21-2005 09:36 PM
Just curious, what directory do you download packages/apps? guitarnix Linux - Newbie 5 11-19-2003 11:32 AM
Download sites for cool apps? randon Linux - General 7 10-31-2003 06:24 AM
Apps to download Jester21 Slackware 5 01-09-2003 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 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
Open Source Consulting | Domain Registration