I regret that there was an error in the commands, the "cd" command was out of sequence... Here's a corrected list of commands to do the install:
cd ~ git clone https://git.osmocom.org/op25 https://git.osmocom.org/op25 cd op25 git checkout max
mkdir build cd build cmake ../ make sudo make install sudo ldconfig