Hi,
I installed ghostscript via yum package manager. Later I wanted a newer version of ghostscript and compiled it from source. "make install" placed the gs executable file under /usr/local/bin/gs. This works if I run the command with absolute path, but if try to run gs, the shell will output
"-bash: /usr/bin/gs: No such file or directory"
if I echo the path variable it will display
/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
If i run whereis it will give me the correct path
gs: /usr/local/bin/gs
How do I make it work so that typing "gs" will run the executable file from the /usr/local/bin/gs?
(I am using Centos 6)
Thanks.