Install perl-LWP-Protocol-https package on OEL 6.10 - linux

I wanted to install perl-LWP-Protocol-https package on my OEL 6.10 server. I did download the rpm of the same and tried to install it. But it has lot of dependencies. So I did setup repo from https://packages.endpoint.com/ to install the required package. But I am getting below error while installing. Could some one help me ?
yum install perl-LWP-Protocol-https*
Loaded plugins:
security Setting up Install Process
https://packages.endpoint.com/rhel/6Server/os/x86_64/repodata/repomd.xml:
[Errno 14] problem making ssl connection Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: endpoint. Please verify its path and try again

install perl-LWP-Protocol-https package on OEL 6.10
The rpm package perl-LWP-Protocol-https seems to origin from a discontinued Suse repo for EL6.
Install the perl module LWP-Protocol-https :
# yum install perl-IO-Socket-SSL perl-CPAN
# cpan
cpan[1]> install Net::HTTPS
cpan[2]> install LWP::UserAgent
cpan[3]> install LWP::Protocol::https
The install test was done with "Redhat CentOS 6.10".
Alternatives for OEL 6.10 : Install perl-CPAN with yum. And install "the other modules" with CPAN
If no perl-CPAN in the OEL repo, then install CPAN from source https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz
cd CPAN-2.27/ && perl Makefile.PL && make
# make install

Related

psycopg2 package error while installing odoo12 enterprise version on ubuntu18

I am trying to install odoo12 enterprise version on ubuntu18.
I have the deb file, and using gdebi to install the package.
But installation fails with the error
dpkg: dependency problems prevent configuration of odoo:
odoo depends on python3-psycopg2; however:
Package python3-psycopg2 is not installed.
I have tried installing psycopg2.8.5, 2.8.3, 2.7.7 and 2.7.3.1 manually using pip3 install. But with all these , I am getting the same error.
Run this cmd:
Step 1
Run update command to update package repositories and get the latest package information.
sudo apt-get update -y
Step 2
Run the install command with -y flag to quickly install the packages and dependencies.
sudo apt-get install -y python3-psycopg2
Execute - sudo apt-get install python3-dev

can't install httpd-devel rpm by using yum without internet access

I tried to install httpd-devel rpm package by using yum without internet access.
I downloaded dependencies rpm packages by using --downloadonly option of yum on other coumptuer,
and then I move rpm packages what I downlaoded to the machine what I want to install httpd_devel.
this is centos 6.8 release version.
I expect to install currently. but the machine showed error message bellow.
Running
yum install -y httpd-devel-2.2.15-69.el6.centos.x86_64.rpm
gives this output:
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Examining httpd-devel-2.2.15-69.el6.centos.x86_64.rpm: httpd-devel-2.2.15-69.el6.centos.x86_64
Marking httpd-devel-2.2.15-69.el6.centos.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
yum tries to refresh its repositories which won't work without internet. I see two solutions:
1) tell yum not to look at any of its configured repositories:
yum --disablerepo="*" install -y httpd-devel-2.2.15-69.el6.centos.x86_64.rpm
2) use rpm directly; don't use yum:
rpm -Ivh httpd-devel-2.2.15-69.el6.centos.x86_64.rpm

How to install libvips with mozjpeg and libimagequant on Debian/Ubuntu?

I want to build a server for treat all images of a website.
I have a script in Nodejs using Sharp and I would like to setup the server with the best libs to use maximum power of libvips.
I would like to get help to install it.
I can install libvips-dev using:
apt-get install libvips-dev
But it don't have mozjpeg and libimagequant.
To install libimagequant through apt you should have debian (Buster, Bullseye or Sid).
On Ubuntu the package is available only for Ubuntu disco 19.04 and eoan 19.10.
sudo apt install libimagequant-dev
The package mozjpeg is available on this git repository, the build instruction and requirement : building.md

Unable to install postgresql on oracle linux with yum

When i try to install the package it says package is already installed, But when i try to install then it says that no package is available.
Downloads $ sudo rpm -i pgdg-oraclelinux91-9.1-7.noarch.rpm
package pgdg-oraclelinux91-9.1-7.noarch is already installed
Downloads $ sudo yum -y install postgresql91 postgresql91-contrib postgresql91-devel postgresql91-libs postgresql91-plperl postgresql91-plpython postgresql91-pltcl postgresql91-docs postgresql91-server
Loaded plugins: langpacks, ulninfo
Repository google-chrome is listed more than once in the configuration
No package postgresql91 available.
No package postgresql91-contrib available.
No package postgresql91-devel available.
No package postgresql91-libs available.
No package postgresql91-plperl available.
No package postgresql91-plpython available.
No package postgresql91-pltcl available.
No package postgresql91-docs available.
No package postgresql91-server available.
Error: Nothing to do
Thanks in Advance.
Use yum list postgresql91\* to find this package first and then use full name to install a package
I have facing same issue when downloading postgres in linux.
As i have followed some step from surfing some site.
I have download repository RPM first and its downloaded successfully.
then after in next step i have run below command
yum install postgresql10-server postgresql10
then getting below error
No package postgresql10-server available.
No package postgresql10 available.
in resolution of that i have run yum list command. and you can find out list of available software where postgres also mentioned so used specific name of postgres in command like
sudo yum install postgresql-server.x86_64
And it is working fine.

Installing Node.js with yum on Amazon CentOS - libssl error

We are using CentOS as elastic build agent for Bamboo on demand.
Recently we utilized grunt for processing our JavaScript files. So I am trying to install npm and grunt in startup script.
Original solution was taken from https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
curl -O http://download-i2.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -ivh epel-release-6-8.noarch.rpm
sudo yum install npm --enablerepo=epel
npm install -g grunt
npm install -g grunt-cli
And it worked for some time. But later it start fail on yum with error related to missed libssl.so.10.
I checked and libssl.so.10 present in the system.
yum install libssl.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install libcrypto.so.10 ->
Package openssl-1.0.0g-1.26.amzn1.i686 already installed and latest version
Nothing to do
yum install nodejs ->
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libcrypto.so.10(libcrypto.so.10)
Error: Package: nodejs-0.10.24-1.el6.i686 (epel)
Requires: libssl.so.10(libssl.so.10)
The most interesting part that on the same machine I absolutely successfully compiled nodes from sources using
git clone http://github.com/joyent/node.git
cd node
./configure
make
make install
Eventually it takes too long to make nodejs upon each elastic agent start. So I am still seeking for a way to install node.js with yum. Can you provide any ideas about directions to evaluate?
Maybe there is some other way to install npm and grunt at CentOS?
How did you remove the node.js when it started giving you problems? Try force remove the ssl and crypto packages and reinstalled them.
yum remove libssl.so.10
yum remove libcrypto.so.10
yum install libssl.so.10
yum install libcrypto.so.10
It sounds like your library files are not there when you get the errors but the rpm itself is installed. You have to remove the rpm first before you can reinstall.

Resources