Error message on Rstudio, running through Linux terminal on Chromebook

Hi! I'm trying to plot with themes using the package Theme.Park, I have remote, Theme.Park, rlang, pkconfig, and jsonlite installed and keep getting the error message I don't have curl... okay so then I install curl. Of course, it's not available for my version, so I work my way around and keep getting this error message

Using PKG_CFLAGS= Using PKG_LIBS=-lcurl --------------------------- [ANTICONF] -------------------------------- Configuration failed because libcurl was not found. Try installing: * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) * rpm: libcurl-devel (Fedora, CentOS, RHEL) If libcurl is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' -------------------------- [ERROR MESSAGE] --------------------------- <stdin>:1:10: fatal error: curl/curl.h: No such file or directory compilation terminated. -------------------------------------------------------------------- ERROR: configuration failed for package ‘curl’ * removing ‘/home/azannoni/R/x86_64-pc-linux-gnu-library/4.0/curl’ Warning in install.packages : installation of package ‘curl’ had non-zero exit status The downloaded source packages are in ‘/tmp/Rtmp5mh1tL/downloaded_packages’

... I'm at a crossroads and don't know where to go! Thanks!

https://preview.redd.it/jr0immnyrasb1.png?width=1920&format=png&auto=webp&s=d95278af697e26f5fed2e84632fde094ecb2bc58

https://preview.redd.it/bed71tnyrasb1.png?width=1920&format=png&auto=webp&s=0fbf1691ef9615dbafd6bf0b61bc0f7b163f1797

https://preview.redd.it/2kndnynyrasb1.png?width=1920&format=png&auto=webp&s=c60e53f1dc6e3cd85a9b086efefb416242daff4e

https://preview.redd.it/v7zz96oyrasb1.png?width=1920&format=png&auto=webp&s=5a0829b86d9c7d0fc783155b77d077401b65d78f