Alternative to sudo make install

Hello,

The installation of FreeFem++ ends with the command:

sudo make install

I do not have root access. I would like to be able to specify in which directory FreeFem++ is installed. How do I do this?

Regards,
Matthijs van Waveren

Do not use sudo, this is terrible, and I don’t know why this is still the recommended way of doing things. Just ./configure with the added flag --prefix=/where/you/want/to/have/files/installed.

Thanks for the advice.

For the recommended way of doing things, have a look at the Installation Guide on the FreeFem website:
https://doc.freefem.org/introduction/installation.html

It is filled with ‘sudo make install’. This guide should be updated.