Results 1 to 2 of 2
Real Newbie here-- I'm running a script on a shared enviroment. I needed to replace an old 3rd party program with more recent version. In order to use the new ...
- 10-04-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 1
Help with path issue
Real Newbie here-- I'm running a script on a shared enviroment. I needed to replace an old 3rd party program with more recent version. In order to use the new version I needed to install it local. What do I need to do to point the program to use the new local version. More specifically (from the host):
Note: currently (july 200
GhostScript distribution on DreamHost servers is pretty old. If you intend to use ImageMagick's PDF features (eg. to convert content to images) you are encouraged to compile a newer version by yourself. You'll then have to set your shell PATH accordily to let ImageMagick's configure see your installation instead of the default one. Using an old GhostScript version can lead to problems with some PDF.
Thanks
- 10-06-2009 #2Just Joined!
- Join Date
- Oct 2009
- Posts
- 19
You can do something like this...
Rename the executable of the old version.
Now set the PATH.
Suppose your new version is under /opt/newprogram, then you have to put include this directory to your PATH,
export PATH=$PATH:/opt/newprogram (If you are using bash which I assume you would be)
Set this up in /etc/profile if you want all users on your system to see this new folder in their PATH.


Reply With Quote
