Upgrade octave-signal package
GNU Octave remez() is for Parks-McClellan FIR filter coefficient design in the signal package. This is approximately equivalent to Matlab firpm().
From within Octave terminal:
pkg install -verbose -forge signal
For more details, including compilers needed, see the GNU Octave pkg install page