Quickly find out the version of RT from just the files

Greetings,

I was wondering if it was possible to determine the version number of
RT using only the files that were installed under (for example)
/opt/rt3/

Cheers,
–Benji

Greetings,

I was wondering if it was possible to determine the version number of
RT using only the files that were installed under (for example)
/opt/rt3/

perl -I/opt/rt3/lib -MRT -e’print “$RT::VERSION\n”';

I was wondering if it was possible to determine the version number of
RT using only the files that were installed under (for example)
/opt/rt3/

Gah. Doofus.
cat /opt/rt3/lib/RT.pm |grep VERSION,
right there in the wiki.

My apologies.

–Benji

I know that this topic is old, but it’s exactly what I was looking for, and I don’t think that

grep VERSION /opt/rt4/lib/RT.pm

works… at least it didn’t work for my git repo when I tried

grep VERSION ./lib/RT.pm

This did work:

./configure.ac && configure -V

I’ve added that to GetSoftwareVersions on the wiki.

1 Like

You could also try
cat /opt/rt4/lib/RT/Generated.pm | grep VERSION

1 Like

Added to the wiki as well