Closed chrissuh17 closed 4 years ago
Hi @chrissuh17,
It looks like you don't have openssl, libcurl, libxml-2.0 installed. These are required for the dependent package paws
# Paws:
If you are using Linux, you will need to install the following OS packages:
Debian/Ubuntu: libcurl4-openssl-dev libssl-dev libxml2-dev
CentOS/Fedora/Red Hat: libcurl-devel libxml2-devel openssl-devel
You should be able to install them with the following command (note this command is to be ran on the terminal and not from R):
sudo yum install -y https://repo.ius.io/ius-release-el7.rpm \
&& sudo yum update -y \
&& sudo yum install -y libcurl-devel libxml2-devel openssl-devel
If you are using docker for your ec2 please feel free to modify the Docker file example. I have use centos7 however amazon linux uses the same package manager yum
Once openssl, libcurl, libxml-2.0 are installed please try to re-install noctua
. I hope this helps.
Thank you for your reply!
I tried the command ```[ec2-user@ip-172-31-59-68 ~]$ sudo yum install -y https://repo.ius.io/ius-release-el7.rpm \
&& sudo yum update -y \ && sudo yum install -y libcurl-devel libxml2-devel openssl-devel```
And am now receiving this error from Terminal.
Loaded plugins: priorities, update-motd, upgrade-helper
ius-release-el7.rpm | 8.2 kB 00:00:00
Examining /var/tmp/yum-root-igFpnA/ius-release-el7.rpm: ius-release-2-1.el7.ius.noarch
Marking /var/tmp/yum-root-igFpnA/ius-release-el7.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ius-release.noarch 0:2-1.el7.ius will be installed
--> Processing Dependency: epel-release = 7 for package: ius-release-2-1.el7.ius.noarch
--> Finished Dependency Resolution
Error: Package: ius-release-2-1.el7.ius.noarch (/ius-release-el7)
Requires: epel-release = 7
Installed: epel-release-6-8.9.amzn1.noarch (installed)
epel-release = 6-8.9.amzn1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Would you have suggestions for this issue?
*edit: I changed the command to level 6
sudo yum install -y https://repo.ius.io/ius-release-el6.rpm \
&& sudo yum update -y \
&& sudo yum install -y libcurl-devel libxml2-devel openssl-devel
And it successfully installed on Terminal.
@chrissuh17
Did your edit fix this issue of install libcurl-devel libxml2-devel openssl-devel?
*edit: I changed the command to level 6
sudo yum install -y https://repo.ius.io/ius-release-el6.rpm \ && sudo yum update -y \ && sudo yum install -y libcurl-devel libxml2-devel openssl-devel
And it successfully installed on Terminal.
If so are you able to install noctua
?
I have just successfully installed noctua
!
Thank you so much for your help. This was invaluable.
No worries, glad I helped :D
Hello Dyfan,
I am running RStudio on an Amazon Linux EC2 instance, and I am getting this error message when attempting to install the
noctua
package.I am currently running this analysis through this link (http://localhost:8787/).
My apologies for the long error message; I wanted to provide as much context as possible.
I am fairly new to the tech industry and am wondering if this is a
noctua
specific problem? If so, any advice is greatly appreciated.