| | |||||||
| Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming |
| | Thread Tools | Display Modes |
| | #2 (permalink) |
| Senior Member Join Date: Nov 2006
Posts: 326
|
If you run Code: echo $PATH Code: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games But really, you can use either one. In general you would put the whole program in /opt in a single folder, such as /opt/jdk, while in /usr/local, you would follow the systems standard folder structure, using /usr/local/bin, /usr/local/lib and so on. I believe /opt is also the older way of doing things. What I've done personally, which probably isn't the correct way, is to install custom software in /opt/programname/version and then create symbolic links as needed in /usr/local (generally just bin is enough). So for instance I have /opt/celtx/celtx-2.9 and a link /usr/local/bin/celtx -> /opt/celtx/celtx-2.9/celtx. This way I keep the program folders self contained, and can keep parallel versions on disk, so I only need to update the symbolic links for different versions. |
| | |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Local Honey | Andrew Brunelle | Health & Fitness | 4 | 05-31-2011 12:42 PM |
| do you buy local produce? | smilingaway | Health & Fitness | 7 | 10-24-2010 08:38 PM |
| What is the most difficult exersize at the local gym? | Doc4u | Health & Fitness | 34 | 09-27-2010 07:13 AM |
| Local foods. | InterfaceLeader | Health & Fitness | 1 | 08-20-2008 07:43 PM |
| SEO for local business | Brutha | Technology & Technical Skills | 5 | 08-29-2007 04:30 AM |
All times are GMT. The time now is 12:48 AM.




