installing texinfo on redhat centos 7 ppc64 - perl

I am new to RedHat and would like some help to install R-devel.
I tried to install it using the following command:
yum install R-devel
but leads to the first error below...
I am on CentOS 7 with a ppc64 architecture...
I have got to the point of needing to install texinfo-tex, lapack-devel and blas-devel. Please see below:
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: texinfo-tex
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.1.3-1.el7.ppc64 (epel)
Requires: blas-devel >= 3.0
yum install texinfo-tex does not seem to work as it says No package texinfo-tex available.
So I downloaded the .rpm and used the following command...to try and install it
su -c 'rpm -Uvh texinfo-5.2-7.fc22.ppc64.rpm'
with which i get the following error
warning: texinfo-5.2-7.fc22.ppc64.rpm: Header V3 RSA/SHA1 Signature, key ID xxxxxx:NOKEY
error: Failed dependencies:
perl(Unicode::EastAsianWidth) is needed by texinfo-5.2-7.fc22.ppc64
So i try and install the dependency perl(Unicode::EastAsianWidth)
again trying to download and try and install it...
su -c 'rpm -Uvh perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch.rpm'
warning: perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID xxxxx: NOKEY
error: Failed dependencies:
perl(:MODULE_COMPAT_5.20.0) is needed by perl-Unicode-EastAsianWidth-1.33-4.fc22.noarch
so i tried to also install perl using the following:
su -c 'rpm -Uvh perl-5.20.1-314.fc22.ppc64.rpm'
but got even more dependecy checks....i feel like this probably isn't right...am i missing something...
I have also installed perlbrew to check my perl versions this is my result
perlbrew available
# perl-5.21.10
perl-5.20.2
perl-5.18.4
perl-5.16.3
perl-5.14.4
perl-5.12.5
perl-5.10.1
perl-5.8.9
perl-5.6.2
perl5.005_04
perl5.004_05
perl5.003_07
Any help would be greatly appreciated....

Try this command as the root user:
yum localinstall texinfo-5.2-7.fc22.ppc64.rpm

Related

yum install expat-devel failure

I'm trying to install apache v2.4.29 .
This is my configure options :
pcre installed
./configure --with-included-apr
There is my fatal error screen-shot.
I found something to fix that:
https://forum.directadmin.com/showthread.php?t=54952
But yums repos expat-devel is not enabled. I didn't find anything about fix.
sudo yum install expat-devel

unable to install CPAN using Yum on CentOS 7.3

while trying to install "CPAN" using Yum command [CentOS 7.3(64-bit)] I am getting below error:
---> Package glibc.i686 0:2.17-157.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-157.el7 for package: glibc-2.17-157.el7.i686
---> Package kernel-headers.x86_64 0:3.10.0-514.el7 will be installed
---> Package nss-softokn-freebl.i686 0:3.16.2.3-14.4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-157.el7.i686 (cent-7_1-os)
Requires: glibc-common = 2.17-157.el7
Installed: glibc-common-2.17-157.el7_3.4.x86_64 (#updates_latest)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7.x86_64 (cent-7_1-os)
glibc-common = 2.17-157.el7
Now on other hand when in run:
yum install glibc-2.17-157.el7.i686
It shows since I have already updated package:
Package matching glibc-2.17-157.el7.x86_64 already installed. Checking for update
how to work around this? for many of the Perl Modules is throws same error and requires glibc-2.17-157.el7.i686.
Below are list of some modules which throws the error (though there are many other packages which are throwing same error):
yum install perl-ExtUtils-Embed
yum install perl-ExtUtils-ParseXS
yum install perl-ExtUtils-Install
I have also tries to install using source packages, but no success :(
Please guide me if I am asking at wrong platform (No down votes plz)
It worked after changing the yum repo. I have edited the repository:
vim /etc/yum.repos.d/CentOS-Base.repo
And added below lines:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Previously it was :
[cent-7_1-os]
name=CentOS-7_1 - os
#baseurl=http://mhxrpmsrv001sas.dsone.3ds.com/rpms/cent/7_1/$basearch/os/latest/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
priority=1
I think your glibc-common installed is of higher version than required.
first check if there is a version to downgrade to, by
yum list --showduplicates glibc
downgrade the glibc* by
yum downgrade glibc glibc-common glibc-devel glibc-headers
install gcc again
yum install gcc

How do I install cairocffi in solaris 11?

I saw xcffib is a prerequisite so I tried to install it with:
~# pip install xcffib
But I got this error message and I don't understand what 'cc' is, I installed gcc.
Update:
I tried to export the location of my libffi-dev headers
#echo $LIBFFI_LIBS
-L/opt/csw/lib -lffi
#echo $LIBFFI_CFLAGS
-I/opt/csw/lib/libffi-3.2.1/include
And runing
CC="gcc -std=gnu99" pip install xcffib
or
CC="gcc -std=gnu99" pip install cffi
still doesn't find the header: fatal error: ffi.h: No such file or director
It looks like pip and/or cairocffi are expecting the Oracle Studio compiler to be installed.
Installing it fixes the issue you are having.

How to install perl module on RHEL?

I need to install perl-Expect, so, I executed:
# yum install -y perl-Expect
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
Requires: perl(IO::Pty) >= 1.03
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
Requires: perl(IO::Tty)
Okay, I need to install perl(IO::Pty)
I launched
# yum install -y "perl(IO::Pty)"
No package perl(IO::Pty) available.
Error: Nothing to do
So, how to install all required perl modules to the RHEL?
The perl-IO-Tty package is provided by the rhel-7-server-optional-rpms
repository. It looks like the Optional repository is not enabled on your system. This Stack Overflow answer explains how to do so:
subscription-manager repos --enable rhel-7-server-optional-rpms
You could try searching for the each piece of the package with: sudo yum search perl | grep IO | grep Pty
return: perl-IO-Pty-Easy.noarch : Easy interface to IO::Pty
But, I used your code, minus -y in CentOS 7, and found the following:
$ sudo yum install "perl(IO::Pty)"
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package perl-IO-Tty.x86_64 0:1.10-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================
Installing:
perl-IO-Tty x86_64 1.10-11.el7 CentOS-Cache 42 k
Transaction Summary
==============================================================================================================================================================================================
Install 1 Package
Total download size: 42 k
Installed size: 76 k
Is this ok [y/d/N]:
Make sure you have access to the default repositories and they are enabled...
Hope this helps,
Peter

Error while installing crontab

I am getting this error when trying to install the below package. Could some one help me?
$ rpm -i crontabs-1.10-33.el6.noarch.rpm
warning: crontabs-1.10-33.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
/etc/cron.d is needed by crontabs-1.10-33.el6.noarch
Do it using Sudo
use Yum:
yum install crontabs
resolve the dependencies yourself by installing PackageKit-cron-0.5.8-21.el6.x86_64.rpm from Centos site http://mirror.centos.org/centos/6/os/x86_64/Packages/