# How to uninstall preCICE v3

**URL:** <https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111>\
**Category:** Installing preCICE\
**Created:** [September 15, 2024, 4:53am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111 "2024-09-15T04:53:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chambernan](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chambernan](https://precice.discourse.group/u/Chambernan)\
**Post date:** [September 15, 2024, 4:53am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/1 "2024-09-15T04:53:22Z")

</div>

I installed the latest version of precice, but I previously developed on precice2. I want to reinstall version 2 and need to uninstall version 3. How can I do this? Thank you！

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [September 16, 2024, 4:19pm UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/2 "2024-09-16T16:19:21Z")

</div>

How did you install it?

If you installed via the Debian package, then `sudo apt remove libprecice3` should do the trick.

If you installed on some local directory, then just delete that.

If you did a `sudo make install` (hopefully not) at `/usr/local/`, then you could go into each subdirectory and find which files are related to preCICE and delete them.

---

<div class="post-metadata">

**Author:** ![DavidSCN](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@DavidSCN](https://precice.discourse.group/u/DavidSCN)\
**Post date:** [September 17, 2024, 6:50am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/3 "2024-09-17T06:50:50Z")

</div>

> [@Makis](#):
>
> If you did a `sudo make install` (hopefully not) at `/usr/local/`, then you could go into each subdirectory and find which files are related to preCICE and delete them.

…or you can run `sudo make uninstall`

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [September 17, 2024, 7:01am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/4 "2024-09-17T07:01:15Z")

</div>

Right, preCICE has that already defined.

---

<div class="post-metadata">

**Author:** ![Chambernan](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chambernan](https://precice.discourse.group/u/Chambernan)\
**Post date:** [September 19, 2024, 6:44am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/5 "2024-09-19T06:44:09Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Chambernan](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chambernan](https://precice.discourse.group/u/Chambernan)\
**Post date:** [September 19, 2024, 6:44am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/6 "2024-09-19T06:44:31Z")

</div>

Thank you, I will try.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [September 22, 2024, 6:45am UTC](https://precice.discourse.group/t/how-to-uninstall-precice-v3/2111/7 "2024-09-22T06:45:18Z")

</div>

Closed on September 22, 2024, 6:45am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
