# Alternative to sudo make install

**URL:** <https://community.freefem.org/t/alternative-to-sudo-make-install/242>\
**Category:** FreeFEM installation\
**Created:** [February 7, 2020, 4:25pm UTC](https://community.freefem.org/t/alternative-to-sudo-make-install/242 "2020-02-07T16:25:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvanwaveren](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@mvanwaveren](https://community.freefem.org/u/mvanwaveren)\
**Post date:** [February 7, 2020, 4:25pm UTC](https://community.freefem.org/t/alternative-to-sudo-make-install/242/1 "2020-02-07T16:25:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [February 7, 2020, 6:46pm UTC](https://community.freefem.org/t/alternative-to-sudo-make-install/242/2 "2020-02-07T18:46:39Z")

</div>

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`.

---

<div class="post-metadata">

**Author:** ![mvanwaveren](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@mvanwaveren](https://community.freefem.org/u/mvanwaveren)\
**Post date:** [February 12, 2020, 3:53pm UTC](https://community.freefem.org/t/alternative-to-sudo-make-install/242/3 "2020-02-12T15:53:08Z")

</div>

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](https://doc.freefem.org/introduction/installation.html)

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