I am trying to install Firefox 59.0.2 on my linux server(OEL). But everytime I try to install firefox with command (yum install firefox) it installs 52.x version.
Could you please help me with the command to install firefox 59.0.2 in Oracle Enterprise Linux - 7.1
Since you're mentioning Enterprise, that's probably the reason why it downloads the 52.x version: it's the latest ESR (Extended Support Release). To install the latest version, you can:
tar -xjvf firefox-59.02.tar.bz2(current release).firefoxexecutable from the unpacked directory.