There are two possible errors in your approach, taking "write" not literally, but as something to write, and omiting the
sudo, which is indeed an error of these instructions:
sudo make install
Btw.: I wouldn't call the program
compiled program if it didn't compile.
Note, that compiling is done in the second step. If you experience an error at one of the steps, you needn't try the later ones. Instead, report the detailed error message of the failing command.
Installing an uncompiled program (if it needs compilation) doesn't make sense. Only programs which are scripts, like python programs (*.py) can be installed uncompiled, and if you install from a .deb package, you don't need to compile yourself.