I need libapr-1.so.0 rpm for RHEL v6.6 - linux

I was installing libapr-util1-1.3.9-4.1.x86_64 on RHEL v6.6 and it requires libapr-1.so.0 as a dependency. I've searched a lot and couldn't find.
The only rpm I found was vulture-common-3.2-185.1.x86_64.rpm which installs a lot of other packages as well that will conflict with already installed servers and software on my machine.
Does anyone know from where I can get this rpm? Or how to select specific part from the rpm to be installed?

For me yum whatprovides 'libapr-1.so.0' shows apr-1.3.9-5.el6_2.i686 is the package, on my CentOS 6.6.

For CentOS 7.7 I had the same error when trying to configure and compile mesos.
I had to install some additional libraries:
sudo yum install -y git apache-maven python-devel java-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel

For me yum install apr , on my CentOS 7.x.

Try to search for apr-1.4.8-7.el7.x86_64.rpm and apr-util-1.5.2-6.e7.x86_64.rpm

Related

how to install cronie that requires dailyjobs

I'm installing HDP 2.6 on centos 6(no internet access on that machine) and its required redhat-lsb-core->crontabs->cronie->dailyjobs.
I googled for dailyjobs (cronie-anacron), but yum localinstall says:
needs cronie = 1.4.4-16.el6_8.2.
This is vicious circle.
Please help me find out how to localinstall cronie
solved this only mounted repo dvd iso centos. dunno why this rpm not installed without it
Install cronie and cronie-anacron at same time. They have dependencies crossed.
rpm -i cronie-xxxx.rpm cronie-anacron-xxxx.rpm

How can I install a recent version of GDAL on Amazon Linux?

I'd like to install GDAL on an EC2 instance running Amazon Linux (which I think is based on RHEL 6). I'd like to avoid compiling from source if possible.
The version of GDAL included in the EPEL Yum repository is too old for my purposes (gdal-1.7.3-15.el6.x86_64). EPEL 7 includes gdal-1.11.4-1.el7.x86_64 which would be perfect. Is there any way I could use this repo on Amazon Linux?
So far I've also tried:
Adding GDAL from the ELGIS 6 repo (which has version 1.9.2). However this failed to install – as found / by others. The ELGIS Wiki advises people to use EPEL now anyway.
Downloading and installing the more recent GDAL RPM from EPEL 7, but it fails due to mismatches between GDAL's dependencies and the available packages in my enabled repos.
I'm not at all experienced with Amazon Linux (or Yum) so any hints much appreciated.
This worked for me.
sudo yum -y update
sudo yum-config-manager --enable epel
sudo yum -y install make automake gcc gcc-c++ libcurl-devel proj-devel geos-devel
cd /tmp
curl -L http://download.osgeo.org/gdal/2.0.0/gdal-2.0.0.tar.gz | tar zxf -
cd gdal-2.0.0/
./configure --prefix=/usr/local --without-python
make -j4
sudo make install
cd /usr/local
tar zcvf ~/gdal-2.0.0-amz1.tar.gz *
From https://gist.github.com/mojodna/2f596ca2fca48f08438e
I faced the same problem. It is quite a bit challenging to install with yum.
Required packages
Using yum, you can install GDAL's required packages:
cpp
sqlite3
libtiff
cmake3
like so:
sudo yum install cpp.x86_64 sqlite-devel.x86_64 libtiff.x86_64 cmake3.x86_64
PROJ and GDAL
These two have to be installed from source (tarball) and they also depend on the build you want.
As for me, I was able to install GDAL 3.2.1 on Amazon Linux 2. I also have not tried installing it on an Amazon Linux 1 so it may or may not differ.

Installing RedHawk on CentOS7

CentOS 7 has been out nearly a year now. Has anyone installed RedHawk on CentOS 7? I do not see binaries available on the RedHawk download page. Has anyone successfully built it from sources? Are there issues?
I also do not find RPMs for omniORB-servers or omniORB-devel. Has anyone succeeded in building these on CentOS7?
Terry, Ive built redhawk yum repositories for CentOS7 which you can find below however a few things to note:
As Ryan pointed out, currently redhawk only officially supports CentOS6 and Ubuntu, these rpms are not offically built and distributed by redhawksdr.org. However if you do have any issues with them or find any problems please feel free to feed this back to me.
These RPMs were originally built prior to Fedora packaing omniORB 4.2. To account for this, I built and packaged omniORB 4.1 for CentOS7 which is the same version redhawk uses on CentOS6. My omniORB41 package and EPEL's omniORB (v4.2) package conflict so you cannot have the epel package installed. I have not tested redhawk with omniORB 4.2 which is why I packaged the older 4.1 version.
You can find the 1.10.1 yum repository here:
http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
I will hopefully soon update with 1.10.2
You will also need the dependency repository here:
http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
To install via yum, create the file /etc/yum.repos.d/redhawk_axios.repo
With the following text:
[redhawk]
name=UNOFFICIAL REDHAWK 1.10.1
baseurl=http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
enabled=1
gpgcheck=0
[redhawk-deps]
name=UNOFFICIAL REDHAWK DEPS
baseurl=http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
enabled=1
gpgcheck=0
Then from a terminal:
sudo yum clean all
sudo yum install redhawk* frontendInterfaces* bulkioInterfaces* GPP-*
REDHAWK is only officially supported on CentOS 6 and Ubuntu 14.04. omniORB should now be in Fedora EPEL 7:
https://apps.fedoraproject.org/packages/omniORB
I recently installed Redhawk 2.3.0 on Centos 7.9 by following these instructions https://redhawksdr.org/2.3.0/manual/installation/
The exact commands I used:
mkdir ~/Documents/Redhawk
cd ~/Documents/Redhawk
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget https://github.com/RedhawkSDR/redhawk/releases/download/2.3.0/redhawk-yum-2.3.0-el7-x86_64.tar.gz
tar xzvf redhawk-yum-2.3.0-el7-x86_64.tar.gz
cd redhawk-2.3.0-el7-x86_64
sudo yum install -y redhawk-release*.rpm
sudo nano /etc/yum.repos.d/redhawk.repo
Content of /etc/yum.repos.d/redhawk.repo:
[redhawk]
name=REDHAWK Repository
baseurl=file:///home/causer/Documents/Redhawk/redhawk-2.3.0-el7-x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhawk
Once the file is saved (ctrl+x, y), in the same directory as before:
sudo yum groupinstall "REDHAWK Runtime"
. /etc/profile.d/redhawk.sh
. /etc/profile.d/redhawk-sdrroot.sh
sudo /usr/sbin/usermod -a -G redhawk causer
sudo nano /etc/omniORB.cfg
sudo $OSSIEHOME/bin/cleanomni
sudo systemctl enable omniNames.service
sudo systemctl enable omniEvents.service
Copy redhawk.desktop to the desktop and run it (rpm -qpl on the redhawk-ide-xyz.rpm its near the bottom of the list)
sudo yum install java-1.8.0-openjdk-javadoc

xz compression install on centos

Any installation or update using yum command I ended up error: Error: xz compression not available. On website I read that Python library is missing. When you try to install a library (sudo yum update pyliblzma) again failed with error. Do not know how? Thanks.
This problem comes if you installed a wrong epel release on your machine. If so, then you need to remove the epel release by
yum remove epel-release
Sometimes that is not enough, you need to remove the cache as well by:
rm -rf /var/cache/yum/x86_64/6/epel
Then you can install the epel-release again
yum -y install epel-release
You need install the EPEL repository by downloading the appropriate RPM package for your system and installing it. For example, for CentOS and Red Hat Enterprise Linux 6.x:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm
If you get a File Not Found error message when trying to download the package, the version number might have changed. You can access the latest version of the RPM installer from the Fedora EPEL wiki page. The wiki page also includes additional instructions for Red Hat Network subscribers who are installing the EPEL repository.
Finally, install the Python library:
yum install pyliblzma
This works perfecly in my CentOS 6.x.
I've found a solution on this page of stackexchange, working in CentOS 6.X:
https://unix.stackexchange.com/a/314756
sudo rpm -e epel-release-7-5.noarch
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
sudo yum clean all
sudo rpmdb -v --rebuilddb
sudo yum -y install libselinux-python
I was also suffering from this issue..
If you are installing packages but it is already available on your system.
Remove existing packages and then try to install new.
It will work properly...
I was able to solve this problem by installing pyliblzma using rpm instead of yum as yum is not working.
Find pyliblzma rpm package according to your architecture and install it using the command.
rpm -Uvh pyliblzma-version-release.architecture.rpm
I used the following command to install pyliblzma for my 64 bit Redhat 6.8 machine. Please check URL in the command and make changes accordingly.
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/pyliblzma-0.5.3-3.el6.x86_64.rpm
In my case the issue was caused by missing modules in python's site-packages directory. Here's what I did:
$ rpm -Va
to get a list of all files belonging to all rpms that do not verify. I got a bunch of messages about missing modules:
missing /usr/lib64/python2.7/site-packages/...
Luckily, I had an identical CentOS version elsewhere with all these packages present, so I just copied them over and ran
$ rpmdb -v --rebuilddb
to rebuild rpm database.

How to install specific jdk version on CentOS linux

I want to install a specific version (1.6.0_23) of jdk on centos. As I am new to linux, how can I do the installation?
Thanks
You can download needed rpm package from Oracle site http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then install this package:
rpm -ivvh jdk-6u23-linux-amd64.rpm
try
sudo apt-get install openjdk-7-jre

Resources