Install R on RedHat errors on dependencies that don't exist - r

I have installed R before on a machine running RedHat EL6.5, but I recently had a problem installing new packages (i.e. install.packages()). Since I couldn't find a solution to this, I tried reinstalling R using:
sudo yum remove R
and
sudo yum install R
But now I get:
....
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: blas-devel >= 3.0 for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: lapack-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: blas-devel >= 3.0
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I already checked, and blas-devel is installed, but the newest version is 0.2.8. Checked using:
yum info openblas-devel.x86_64
Any thoughts as to what is going wrong? Thanks.

Do the following:
vim /etc/yum.repos.d/redhat.repo
Change enabled = 0 in [rhel-6-server-optional-rpms] section of the file to enabled=1
yum install R
DONE!
I think I should give reference to the site of solution:
https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/

I had the same issue. Not sure why these packages are missing from RHEL's repos, but they are in CentOS 6.5, so the follow solution works, if you want to keep things in the package paradigm:
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/lapack-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/blas-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/texinfo-tex-4.13a-8.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm
sudo yum localinstall *.rpm
cheers
UPDATE: Leon's answer is better -- see below.

The best solution I could come up with was to install from source. This worked and was not too bad. However, now it isn't in my package manager.

Related

Installing R in Red Hat Enterprise Linux Server release 7.1 (Maipo)

I am trying to install R on RHEL 7 but i get the following error.
Error: Package: R-core-devel-3.2.3-4.el7.x86_64 (epel)
Requires: blas-devel >= 3.0
Error: Package: R-core-devel-3.2.3-4.el7.x86_64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.2.3-4.el7.x86_64 (epel)
Requires: texinfo-tex
I installed epel-release-7-8.noarch. I also tried to group install Development tools as below.
yum group install "Development tools"
Tried to enable repos
yum-config-manager --enable epel
I tried several suggestions posted in internet. but nothing seems to work or solve my issue. Can somebody help me install R? It should be a simple three steps process but now it became a nightmare for me to complete it. Please find below system details.
Red Hat Enterprise Linux Server release 7.1 (Maipo)
Many thanks!
You should just install couple of dependencies.
$ sudo dnf -y install blas-devel lapack-devel texinfo-tex

Issues with installing R on Centos 7

I'm trying to install R on my CentOS 7 by...
yum install epel-release
yum install R
but i keep seeing this error at end of installing R
....
Error: Package: R-core-3.2.3-1.el6.x86_64 (epel)
Requires: libicuuc.so.42()(64bit)
Error: Package: R-core-3.2.3-1.el6.x86_64 (epel)
Requires: libicui18n.so.42()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I can't figure out what this error means...
What can i do for solving this problem?
or am i missing something with my procedure?
Download the lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm from the below link:
ftp://fr2.rpmfind.net/linux/Mandriva/official/2010.0/x86_64/media/main/release/lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm
Install the RPM:
sudo rpm -ivh lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm
This could help solving the error. Thanks!
rpm link:
https://www.rpmfind.net/linux/rpm2html/search.php?query=libicuuc.so.42()(64bit)

Installing R-devel & R-core-devel on RHEL 6

Following the release of R 3, I was having several yum error messages relating to R when yum updating my system. After yum removing R and its dependencies I started again from scratch. However, I cannot get R-devel or R-core-devel installed and cannot get around this issue. Here are my error messages following yum install R-core-devel R-devel
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: xz-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: R-java-devel = 3.1.0-5.el6 for package: R-devel-3.1.0-5.el6.x86_64
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-java-devel.x86_64 0:3.0.2-1.el6 will be updated
---> Package R-java-devel.x86_64 0:3.1.0-5.el6 will be an update
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
R-java-3.0.2-1.el6.x86_64 has missing requires of R-core = ('0', '3.0.2', '1.el6')
R-java-devel-3.0.2-1.el6.x86_64 has missing requires of R-core-devel = ('0', '3.0.2', '1.el6')
What does this mean and how can I resolve the issue
I had the same problem. The following answer worked for me:
Problems installing R on Linux CentOS 6.2
Specifically, I did this:
$ sudo yum install texinfo-tex
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum install tcl
$ sudo yum clean all
$ sudo yum install R

error nginx dependency on centos 6

i've just setup my server using centos 6.4, and right now i want to install nginx using yum, but i always get error require dependency. but i check on /usr/lib64/ library is not missing.
i really don't understand how to solve this.
this is my nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1
this is error from yum install nginx
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.4.6-1.el6.ngx will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libssl.so.10(libssl.so.10)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Installing R in cloudera's hadoop VM

Using cloudera's distro of hadoop for virtualbox, I first updated the epel:
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86/epel-release-5-4.noarch.rpm
Which goes through just fine. But when I try
sudo yum install R
I get this:
Error: Package: R-core-2.15.2-1.e15.x86_64 (epel)
requires: libtcl8.4.so()(64bit)
Error: Package: R-core-2.15.2-1.e15.x86_64 (epel)
requires: libtk8.4.so() (64bit)
And the installation just quits. Is there any recommended steps from here? I get the same errors when trying to open the files from cran as well.
edit: I finally figured out the issue. Since I'm new to this kind of thing, I didn't realize the epel-release... file was out of date. If you're blindly following some guide like me and they haven't updated the epel release, you can check by going to http://dl.fedoraproject.org/pub/epel/6/x86_64/ and searching for epel-release. The most current version should be there.
By doing:
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://download2.rstudio.org/rstudio-server-0.97.336-x86_64.rpm
sudo yum install --nogpgcheck rstudio-server-0.97.336-x86_64.rpm
That fixed the issue.

Resources