As per Wiki page of GNU software octave latest version is 4.2.1 (Released in february 2017). I am using fedora 25 and the octave in my system is version 4.0.3 .
I tried upgrading it to the latest version by using both
dnf upgrade octave
and
dnf update octave
but both showed
Last metadata expiration check: 1:29:36 ago on Sat Sep 23 16:02:26 2017.
Dependencies resolved.
Nothing to do.
Complete!
Why am I not able to update to latest version, is it because fedora 25 doesn't support latest octave version? or any other reason?