How to find which version of Oracle is installed on a Linux server (In terminal)

PolarisUser picture PolarisUser · Jun 4, 2012 · Viewed 230.2k times · Source

I am in terminal in Redhat 5.5 and I need to find out which version of Oracle is installed. I am pretty new at Linux, but I have searched Google for a while and I can't find what I need. I have to locate which version is installed via terminal. I found the Oracle files, but I can't seem to find the version.

Answer

Rahul picture Rahul · Jun 4, 2012

Enter in sqlplus (you'll see the version number)

# su - oracle

oracle# sqlplus

OR

echo $ORAHOME

Will give you the path where Oracle installed and path will include version number.

OR

Connect to Oracle DB and run

select * from v$version where banner like 'oracle%';