Quickly find out the version of RT from just the files


#1

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


#2

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”’;


#3

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


#4

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.


#5

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


#6

Added to the wiki as well