# R Igraph 2.0.1.1 installation fails on ubuntu 20.04.06 desktop

**URL:** <https://igraph.discourse.group/t/r-igraph-2-0-1-1-installation-fails-on-ubuntu-20-04-06-desktop/1740>\
**Category:** Installation\
**Tags:** R\
**Created:** [2 February 2024 21:11 UTC](https://igraph.discourse.group/t/r-igraph-2-0-1-1-installation-fails-on-ubuntu-20-04-06-desktop/1740 "2024-02-02T21:11:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/szhorvat/32/3_2.png) [@szhorvat](https://igraph.discourse.group/u/szhorvat)\
**Post date:** [3 February 2024 20:37 UTC](https://igraph.discourse.group/t/r-igraph-2-0-1-1-installation-fails-on-ubuntu-20-04-06-desktop/1740/4 "2024-02-03T20:37:35Z")

</div>

> [@lghunsicker](#):
>
> That didn’t work. I ran “conda deactivate” in the shell, then rebooted Rstudio/R,

Run the command line version of R from the same terminal where you deactivated conda, and install from there. So, all from the same terminal, one by one:

- `conda deactivate`
- `R`
- `install.packages('igraph')`

Do not use RStudio for the installation. You can use RStudio later once installation succeeded.

Let me know if this worked. If not, can you post the error message along with the preceding compilation command, just like you did before?

For the future, ideally, set up conda in a way that it is not active by default. I also use conda, but only activate it when I use it. See the last paragraph [here](https://r.igraph.org/articles/installation-troubleshooting.html#libgfortran-so-4-cannot-open-shared-object-file-no-such-file-or-directory).

---

_[View the full topic](https://igraph.discourse.group/t/r-igraph-2-0-1-1-installation-fails-on-ubuntu-20-04-06-desktop/1740)._
