# MelonnPan installation on ubuntu 20.04 issues

**URL:** <https://forum.biobakery.org/t/melonnpan-installation-on-ubuntu-20-04-issues/4133>\
**Category:** MelonnPan\
**Created:** [September 28, 2022, 12:58pm UTC](https://forum.biobakery.org/t/melonnpan-installation-on-ubuntu-20-04-issues/4133 "2022-09-28T12:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreaGatti](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@AndreaGatti](https://forum.biobakery.org/u/AndreaGatti)\
**Post date:** [September 28, 2022, 12:58pm UTC](https://forum.biobakery.org/t/melonnpan-installation-on-ubuntu-20-04-issues/4133/1 "2022-09-28T12:58:02Z")

</div>

Hello,  
I tried to install MelonnPan on ubuntu 20.04 subsystem for Windows following the instructions presented in the tutorial ([melonnpan · biobakery/biobakery Wiki · GitHub](https://github.com/biobakery/biobakery/wiki/melonnpan#12-installation)), trying with both R versions 4.1.2 and 3.6.1 in two different conda environments.  
I had problems as I attempted to install the packages listed:

```auto
R -q -e "install.packages(c('devtools', 'glmnet', 'foreach', 'getopt', 'doParallel', 'vegan', 'data.table', 'ggplot2', 'AssocTests', 'optparse', 'tibble'), repos='http://cran.r-project.org')"

```

And in the end I got this error for some of the packages:

ERROR: dependency ‘credentials’ is not available for package ‘gert’

- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/gert’  
ERROR: dependency ‘httr’ is not available for package ‘gh’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/gh’  
ERROR: dependencies ‘systemfonts’, ‘textshaping’ are not available for package ‘ragg’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/ragg’  
ERROR: dependency ‘fExtremes’ is not available for package ‘AssocTests’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/AssocTests’  
ERROR: dependencies ‘curl’, ‘gert’, ‘gh’ are not available for package ‘usethis’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/usethis’  
ERROR: dependencies ‘httr’, ‘ragg’ are not available for package ‘pkgdown’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/pkgdown’  
ERROR: dependencies ‘usethis’, ‘pkgdown’, ‘rcmdcheck’, ‘rversions’, ‘urlchecker’ are not available for package ‘devtools’
- removing ‘/home/studenti/miniconda3/envs/biobakery-melonnpan/lib/R/library/devtools’

The downloaded source packages are in  
‘/tmp/Rtmp1XU3Vb/downloaded\_packages’  
Updating HTML index of packages in ‘.Library’  
Making ‘packages.html’ … done  
There were 19 warnings (use warnings() to see them)

I tried manually installing them in R using install.packages(“_package_”, dependencies=TRUE), but I got the same output.  
How can I make the dependencies available for the packages I need to run MelonnPan?

Thank you

---

<div class="post-metadata">

**Author:** ![himel.mallick](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/himel.mallick/32/1757_2.png) [@himel.mallick](https://forum.biobakery.org/u/himel.mallick)\
**Post date:** [September 29, 2022, 6:07pm UTC](https://forum.biobakery.org/t/melonnpan-installation-on-ubuntu-20-04-issues/4133/2 "2022-09-29T18:07:28Z")

</div>

Hi @AndreaGatti - you need to install each and every package manually until all the dependencies are installed. In particular, anytime you see that `dependency XXXX is not available for package ‘YYYY’`, you need to manually install `XXXX` before installing `YYYY`. Hope this helps!

---

<div class="post-metadata">

**Author:** ![AndreaGatti](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@AndreaGatti](https://forum.biobakery.org/u/AndreaGatti)\
**Post date:** [October 3, 2022, 1:53pm UTC](https://forum.biobakery.org/t/melonnpan-installation-on-ubuntu-20-04-issues/4133/3 "2022-10-03T13:53:15Z")

</div>

Thank you, I tried to manually install all the dependencies packages, but got no better result.  
Nonetheless, I understood that the problem regarded installation paths, so, with a few attempts, I could install everything.  
Thank you anyway for the quick support!
