Linux installation problems - R - linux

I see the following error while installing R on one of my Centos VE:
Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtcl8.4.so()(64bit)
Error: Package: R-core-3.1.0-5.el5.x86_64 (epel)
Requires: libtk8.4.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried installing R with the following commands:
rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install R
Any help ?

Install these two Dependency files first-
tcl-devel
tk-devel
Follow the following commands
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

Related

Installing Azure CLI on RHEL 7.6

Having some issues installing the Azure CLI on a RHEL 7.6 VM in the Azure cloud. Been following this guide:
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-yum?view=azure-cli-latest
I perform each step, but get this error:
Error: Package: azure-cli-2.9.1-1.el7.x86_64 (azure-cli)
Requires: python3
Error: Package: azure-cli-2.9.1-1.el7.x86_64 (azure-cli)
Requires: libpython3.6m.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I then tried installing just about every python3-related package at my disposal (python33.x86_64,
rh-python38.x86_64, etc), but still getting the same error. I then tried the following solution:
$ sudo yum install yum-utils
$ sudo yumdownloader azure-cli
$ sudo rpm -ivh --nodeps azure-cli-2.9.1-1.el7.x86_64.rpm
Commands succeed, but running a simple 'az login' command still fails...
[root#server ~]# rpm -ivh --nodeps azure-cli-2.9.1-1.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:azure-cli-2.9.1-1.el7 ################################# [100%]
[root#server ~]# az login
/bin/az: line 2: /usr/bin/python3: No such file or directory
Any suggestions? Thanks again in advance.
So, I just completely went around the documentation and used a pip install.
# As non-privileged user
sudo yum install rh-python38 -y
scl enable rh-python38 bash
pip3 install --user azure-cli
All 'az' commands work flawlessly. Easy-peasy :-D

Failed in installing salt-stack minion(AWS Linux env)

My steps:
# cd /usr/local/src/
# wget http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm
# wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# yum install python-jinja2
#yum -y install salt-minion --enablerepo=epel-testing
THEN:
--> Finished Dependency Resolution
Error: Package: salt-2015.5.9-4.el6.noarch (epel-testing)
Requires: python-msgpack
Error: Package: salt-2015.5.9-4.el6.noarch (epel-testing)
Requires: python-zmq
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I think I already installed the missing two:
[root#xxx src]# pip install pyzmq --upgrade
Requirement already up-to-date: pyzmq in /usr/local/lib64/python2.7/site-packages
[root#xxx src]# pip install msgpack-python
Requirement already up-to-date: msgpack-python in /usr/local/lib64/python2.7/site-packages
Still cannot work. Any advice?
I know that this is a very old question but anyway. rpm package and pip package are not the same. Even if you have it installed in pip, it doesn't mean corresponding rpm is actually installed. It still misses these rpm packages.

Got error when install mongodb on centos 6.5(64bits)

I am installing mongodb on CentOS 6.4, but have following error:
Error: Package: mongodb-org-server-3.0.1-1.amzn1.x86_64 (mongodb-org-3.0)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: mongodb-org-server-3.0.1-1.amzn1.x86_64 (mongodb-org-3.0)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How can I install that library. Thank you
Run package-cleanup --problems to list all dependencies and then install those dependencies.

NPM Dependencies Error on CentOS Yum

My build script installs NPM on CentOS in the following way:
yum -y update
yum install -y wget
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
yum --enablerepo=epel -y groupinstall "Development Tools"
yum --enablerepo=epel -y install npm
At some point in the last week, I have been getting the following dependency issue:
Error: Package: nodejs-npm-registry-client-0.2.28-1.el6.noarch (epel)
Requires: npm(semver) >= 2.1.0
Installing: nodejs-semver-2.0.10-1.el6.noarch (epel)
npm(semver) = 2.0.10
Error: Package: nodejs-request-2.21.0-1.el6.noarch (epel)
Requires: npm(form-data) < 0.1
Available: nodejs-form-data-0.1.1-1.el6.noarch (epel)
npm(form-data) = 0.1.1
Error: Package: nodejs-request-2.21.0-1.el6.noarch (epel)
Requires: npm(form-data) < 0.1
Installing: nodejs-form-data-0.1.1-1.el6.noarch (epel)
npm(form-data) = 0.1.1
Error: Package: nodejs-npm-registry-client-0.2.28-1.el6.noarch (epel)
Requires: npm(request) >= 2.25.0
Installing: nodejs-request-2.21.0-1.el6.noarch (epel)
npm(request) = 2.21.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I have been able to install NPM from source which is fine, but I would prefer to use the yum package. Can anyone provide some pointers for me? Thanks!
We used the epel-testing repo to install npm and bypass the issues with the epel repo
yum --enablerepo=epel-testing install npm
Update: This is fixed for the epel repo
yum install npm
With a clean CentOS 6.5 install I only needed to get the latest epel repository here:
http://mirrors.servercentral.net/fedora/epel/6/i386/repoview/epel-release.html
You can use wget or a GUI browser to fetch the package linked on that page:
http://mirrors.servercentral.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
Run the rpm install and epel will be enabled by default and npm can be installed with dependencies with a standard yum install command:
yum install npm

Problems installing R on Linux CentOS 6.2

When installing R on Linux CentOS 6.2 I get the following:
Error: Package: R-core-2.10.0-2.el5.x86_64 (/R-core-2.10.0-2.el5.x86_64)
Requires: libtk8.4.so()(64bit)
Error: Package: R-core-2.10.0-2.el5.x86_64 (/R-core-2.10.0-2.el5.x86_64)
Requires: libtcl8.4.so()(64bit)
There are several helps out there for this type of error when using CentOS 4 or 5, but not for 6.2. Has anyone found a solution with this OS version? Thanks!
I'd honestly recommend installing epel:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
and then just doing
yum install R
The above did not work for me. I had to install tcl.
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
Now it is even easier:
yum install epel-release
yum install R

Resources