[antlr-interest] Fedora antlr3-tool command line antlr returns version 2.7.7

Kevin J. Cummings cummings at kjchome.homeip.net
Tue Aug 9 12:58:14 PDT 2011

On 08/09/2011 01:39 PM, The Researcher wrote:
>> Hi Kevin,
> Thanks, I never thought about there being a second antlr command. I was also
> only looking for jar files not directories or commands.
> Also antlr3 is also in /usr/bin as you note.
> Not being a Linux person I have to ask how do you determine where the files
> in a package were installed?

In the case of Fedora, try:

# rpm -ql antlr3-tool

As you can see, this will show you what files in the antlr3-tool.rpm 
were installed into which system directories.  There might still be some 
files which were installed via scripts in the RPM at installation time 
which do not appear in this list.

Of course, advanced RPM command options allow you to change where files 
actually get installed, but that is usually left for expert RPM users....

Likewise, if you have a pathname and you want to know which RPM it came 
from, try:

# rpm -qf /usr/bin/antl3

If you want to know where any command is (after it gets installed), the 
"which" command can be your friend:

# which antrl3

> Thanks, Eric

You are welcome.

Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

More information about the antlr-interest mailing list