Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devtools ubuntu 22.04 dependency error #2472

Closed
cinnetcrash opened this issue Sep 21, 2022 · 2 comments
Closed

devtools ubuntu 22.04 dependency error #2472

cinnetcrash opened this issue Sep 21, 2022 · 2 comments

Comments

@cinnetcrash
Copy link

I had some problems with ubuntu 22.04 and R when installing devtools.
The solution was installing some library from command line.

sudo apt -y install libfontconfig1-dev libharfbuzz-dev install libtiff-dev

@hadley
Copy link
Member

hadley commented Oct 8, 2022

You can use pak:pkg_system_requirements() to get the full set of requirements if you're installing from source, e.g.

writeLines(pak::pkg_system_requirements("devtools", "ubuntu", "20.04"))
#> apt-get install -y libfreetype6-dev
#> apt-get install -y libfribidi-dev
#> apt-get install -y libharfbuzz-dev
#> apt-get install -y git
#> apt-get install -y libxml2-dev
#> apt-get install -y make
#> apt-get install -y libfontconfig1-dev
#> apt-get install -y libicu-dev
#> apt-get install -y pandoc
#> apt-get install -y zlib1g-dev
#> apt-get install -y libssl-dev
#> apt-get install -y libjpeg-dev
#> apt-get install -y libpng-dev
#> apt-get install -y libtiff-dev
#> apt-get install -y libgit2-dev
#> apt-get install -y libcurl4-openssl-dev

Created on 2022-10-08 with reprex v2.0.2

@hadley hadley closed this as completed Oct 8, 2022
@tomstamour
Copy link

Thanks, this worked for me as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants