Unable to find the libnl RPM package for RHEL 8? - linux

I have to install falcon-sensor rpm package for Crowdstrike to be present on server and it needed libn1 RPM package as dependencies.
I can get it from https://rpmfind.net/ as below and able to install on RHEL8.
#dnf install https://rpmfind.net/linux/centos/7.7.1908/os/x86_64/Packages/libnl-1.1.4-3.el7.x86_64.rpm
but i do not want to download it from rpm finder website.
I would like to do it using redhat repository similarly we do for other rpm packages ex. telnet,
#yum install libnl
Whenever i am hitting above command getting below error.
No match for argument: libnl
Error: Unable to find a match: libnl
I have tried enabling below repositories of RHEL 8.
codeready-builder-for-rhel-8-rhui-rpms Red Hat CodeReady L enabled: 1,842
codeready-builder-for-rhel-8-rhui-source-rpms Red Hat CodeReady L enabled: 489
*epel Extra Packages for enabled: 4,401
rhel-8-appstream-rhui-rpms Red Hat Enterprise enabled: 8,420
rhel-8-baseos-rhui-rpms Red Hat Enterprise enabled: 3,378
rhel-8-baseos-rhui-source-rpms Red Hat Enterprise enabled: 779
rhui-client-config-server-8 Red Hat Update Infr enabled: 5
How can i get libnl rpm by enabling repositories in RHEL 8?

It looks like libnl was explicitly removed in RHEL8, so you need to find the RHEL8 version of the RPM you are trying to install.

You can go the link and this will take you the rpm and then you can download it ad install it manually using rpm command.
But the package was never added to RedHat global repository for RHEL8 so you might not find it in the repository.

Related

Ubuntu: install latest version of package

I'm working with Ubuntu 14.04 and I need to use stress-ng.
If I type: apt-cache policy stress-ng
I obtain:
stress-ng:
Installed: 0.03.15-1~ubuntu14.04.1
Candidate: 0.03.15-1~ubuntu14.04.1
Version table:
*** 0.03.15-1~ubuntu14.04.1 0
100 http://mirror.switch.ch/ftp/mirror/ubuntu/ trusty-backports/universe amd64 Packages
100 /var/lib/dpkg/status
So if I run apt-get install stress-ng, it downloads version 0.03.15.
Unfortunately, this version does not allow me to do some things which are present in the last one, 0.07.16, supported by Ubuntu 17.04.
How can I do to use this latest version on 14.04?
You can add the repositories of the newer release to sources.list,and use apt-pinning,this is an advanced feature to install packages from a newer version of Ubuntu.
Check out Pinning.
Pinning is a process that allows you to remain on a stable release of
Ubuntu (or any other debian system) while grabbing packages from a
more recent version.
Note however that the processes described below will only work if
things like libc6 versions match, so you should probably not do this
on an Ubuntu system. I strongly recommend you look at UbuntuBackports
before doing this.
Also you can just download the package and make install.
Hope this helps.

How can I upgrade RPM version 4.4.* to RPM version 4.8.*?

I am getting error below when I am trying to install a package on CentOS 5. After some research it seems like my RPM version needs to be upgraded; How can I upgrade RPM version 4.4.2.3 to RPM version 4.8.0?
#sudo rpm -ivh test.1.0.0.noarch.rpm
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by test.1.0.0.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by test.1.0.0.noarch
#rpm --version
RPM version 4.4.2.3
The problem most likely is that your rpm was built on an CentOS 6 machine and it cannot be install on CentOS 5. You are seeing the exact message as shown by the Red Hat website solutions page titled "RPM Compatibility from Red Hat Enterprise Linux (RHEL) 6 to RHEL 5 and earlier" at web address https://access.redhat.com/site/solutions/41415.
By upgrading to a newer distribution. RPM is a core part of Fedora/Red Hat/CentOS and upgrading it is close to impossible in my experience. It should not be attempted.

Installing libjson-rpc-perl on Linux

I am trying to install libjson-rpc-perl on my linux server but facing an error. Could anyone guide me in right direction ?
Details :
09:04:02 # lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Release: 6.2
Codename: Santiago
Installing :
(perl) - done
09:01:26 # yum list available 'perl'
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
(libjson-rpc-perl) - ERROR
09:03:40 # sudo yum install libjson-rpc-perl
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
No package libjson-rpc-perl available.
Error: Nothing to do
root#zabbix_server:/root
Install the package via your CPAN client; or (have someone) create an RPM package for it, and install that.
Thats definitely a debian package name, not a redhat one. Have had a search for the redhat package here but there doesn't seem to be one

redhat yum heartbeat

I'n newby with linux and I'm learning on LINUX heartbeat. I'm trying to do
"yum install heartbeat" which shows me like below...
# cat /etc/issue
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
# yum install heartbeat
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package heartbeat available.
Nothing to do
#
Centos on my local does work. Can anyone explain me why redhat doesn't work and what i should do?
Red Hat EL does not come with EPEL configured by default. See http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F.
In your case, install http://download.fedoraproject.org/pub/epel/5/i386/repoview/epel-release.html and repeat your command.
you can get heatbeat from EPEL repository
for 32bits
su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
replace i386 with x86_64 for 64bits

yum install subversion1.4.3

How can I reach/install an old subversion package (v1.4.3) without build any sources ?
In fact, the distrib I use is not a FC1 but a "Red Hat Enterprise Linux AS release 4 (Nahant Update 5)".
Do you know some "subversion binaries repositories" where such a configuration may be available for download ?
You can get the RHEL 4 RPM for Subversion 1.4.3 from the DAG RPM repository. The repository web site has a FAQ on configuring Yum for access.

Resources