"ggv" command does not work!!!
When I used the command "ggv" to check the content of a ps format document, the screen says that the command does not exist. I tried in both text mode and graphical mode,but they fails.I used the RHEL 5.
I want to know how I can solve the problem and why the "ggv" command does not work. Pls help me. Tks. My msn is : houjun19830610@hotmail.com |
Either you don't have ggv installed, or it is installed and the executable isn't in your $PATH. Presumably there's a tool in RHEL that lets you see which packages are installed, so you should use it to check whether or not you have ggv installed. If not, then obviously install it.
|
Pls help me!!!
I have already installed the full package. Why I can not use the command? |
Hi,
Is there any reason you need ggv in particular? Here: http://osdir.com/ml/linux.redhat.rel.../msg00089.html they say you can use evince un RHEL to see your ps and pdf files. HTH |
To locate ggv, if it exists, you can use several tools; here are two ways of doing it
1) (s)locate: if the (s)locate database was updated after you installed ggv, this works. If you have not updated the database (or are not sure if you have) after the installation of ggv, run the below command as root to update it (otherwise skip that): Code:
updatedb Code:
locate ggv Code:
locate ggv | grep bin/ 2) find: This may or may not be slower than the above method, depending on where the file is, where you begin searching and so on. But it should work, and that's the good part. The switches used are: '--type f' to search only "regular" files (not directories etc.), '--name' for the name to search, maybe with wildcards if you like. Note that here we start searching from the root of the filesystem ("/"), but you can start from other directories as well; the search is recursive. Code:
find / -type f -name "ggv" Code:
man find As a last thing I mention what I should have mentioned first: read man pages :) if you installed ggv, most likely it installed some man pages as well, which reveal the program name and so on.. Code:
man ggv Code:
man -k ggv |
I am crazy.
I can not solve the problem! When I used the command "updatedb" and "locate ggv", nothing happened. I want to know which package is associated with the "ggv" command. Who can tell me ? Tks!!!! |
I'd imagine it's called ggv-<version>.
|
Assuming the package you installed was ghostscript. You can man ghostscript. If I read it correctly you should be using gs not ggv.
|
What is the purpose of the command "gs"? I used the "gs" command. But it can not read the ps format document.
Thanks for all of you to help me all the same. Maybe I had better find a solution by the baidu or google. |
It sure works here.
gs myfile.ps |
I know the problem. "ggv" command has been canceled in the rhel 5.But it does exist in Rhel 4. So the question can be closed.Thanks for all your help.
|
All times are GMT -5. The time now is 08:38 AM. |