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
Related
Can someone explain me how I can upgrade a running gitlab CE on Ubuntu 16.04 to Ubuntu 18.04?
I could not find any relevant documentation for this upgrade path
It is clear to upgrade ubuntu with
sudo apt update
sudo apt upgrade
sudo do-release-upgrade
But what is needed to tell rerun the setup/upgrade on gitlab?
If you upgrade your Ubuntu Version from 16.04 to 18.04, you also need to alter the repository path for debian packages provided by GitLab Inc.
If you inspect the installation/configuration script available on GitLab.com, you will see that there should be a file in /etc/apt/sources.list.d/ which contains gitlab in its filename.
Simply replace its content with the following lines:
deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main
deb-src https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main
You are now able to upgrade GitLab using the new package repository for your upgraded Ubuntu System:
sudo apt update
sudo apt upgrade
If you mean update Ubuntu from 16.04 to 18.04 then here's the steps:
I did that a couple of days ago.
lsb_release -a # This is just to check the. Ubuntu version
sudo apt update
sudo apt upgrade
This will make sure that you have all the packages updated. The upgrade will not start if you don't have them upgraded.
Then for the actual upgrade
sudo do-release-upgrade
NOTE
1 - The above command might fail because "you have to upgrade all the packages before" please inspect the output of sudo apt upgrade maybe you have a dependency issue & not all the packages are upgraded
2- Please make sure you have all your data backed up before doing the upgrade. I'm assuming that you doing the upgrade via SSH which may be troublesome.
For me, the upgrade got stuck while trying to update the openSSH config files. What I did is that I closed the current SSH session ( tmux ) opened a new session & rebooted the server.
After the server is rebooted
lsb_release -a
Should show
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
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.
I am trying to a simple command sudo yum install SDL2. I know that this package exists as per the SDL website:
Red Hat-based systems (including Fedora) can simply do "sudo yum install SDL2" to get the library installed system-wide, or "sudo yum install SDL2-devel" to get headers and other build requirements ready for compiling your own SDL programs.
However, when I try to execute my command, I get the following:
Setting up Install Process
No package SDL2 available.
Error: Nothing to do
I am using Red Hat Enterprise Linux Server release 5.3 (Tikanga). How can I go about getting yum to locate this package?
ONLY SDL is available on redhat 5.3
uname -r
2.6.32-573.12.1.el6.centos.plus.x86_64
yum search sdl-devel --verbose
SDL-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : base
With Fedora 26, SDL2 is available in repo fedora
uname -r
4.11.0-2.fc26.x86_64
dnf --disablerepo="*" --enablerepo="fedora" search sdl2-devel --verbose
SDL2-devel.x86_64 : Files needed to develop Simple DirectMedia Layer applications
Repo : fedora
I use Centos 6.5 server , openldap is installed in this server .
I just want to install vsftpd to this server by the following command , but it pops the error .
yum install vsftpd
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libldap-2.4.so.2: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
I also checked , the openldap is installed .
rpm -qa |grep openldap
openldap-2.4.39-8.el6.i686
Would advise why it pops the error that seems related to libldap-2.4.so.2 ? is my openldap have problem ?
Thanks
Basically, do a
yum provides libldap-2.4.so.2
then install what it reccomends e.g.
[user#localhost ~]$ yum provides libldap-2.4.so.2
Loaded plugins: fastestmirror, langpacks
....
openldap-2.4.40-8.el7.i686 : LDAP support libraries
Repo : base
Matched from:
Provides : libldap-2.4.so.2
so run
yum install openldap-2.4
if it's not found then you may need epel or some other repo. (i have repos: base, epel, extras, nux-dextop and updates and it was found)
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