LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install curl (https://www.linuxquestions.org/questions/linux-newbie-8/install-curl-4175583720/)

LYC 07-04-2016 04:14 AM

install curl
 
Hi,

I tried to install curl but not successful:

# rpm -ivh /tmp/curl-7.49.1-3.1.cf.fc10.i386.rpm
warning: /tmp/curl-7.49.1-3.1.cf.fc10.i386.rpm: Header V4 DSA signature: NOKEY, key ID b56a8bac
error: Failed dependencies:
libcrypto.so.7 is needed by curl-7.49.1-3.1.cf.fc10.i386
libcurl(x86-32) = 7.49.1-3.1.cf.fc10 is needed by curl-7.49.1-3.1.cf.fc10.i386
libcurl.so.4 is needed by curl-7.49.1-3.1.cf.fc10.i386
libmetalink.so.3 is needed by curl-7.49.1-3.1.cf.fc10.i386
libssl.so.7 is needed by curl-7.49.1-3.1.cf.fc10.i386

Please advise how to go about it?

hydrurga 07-04-2016 04:23 AM

Either manually install those missing dependencies or use a package manager that automatically resolves dependencies.

It would be useful if you were to mention which distro you're using.

LYC 07-04-2016 04:29 AM

We are using RH 5 but it is not supporting the curl version (7.49.1) that I downloaded.

Where can I download libcryto, libcurl, libmetalink and libssl?

Note that: I have installed openssl 1.0.2h by recompiling.

hydrurga 07-04-2016 04:37 AM

Do you have yum installed? If not, install that and use it to get the packages you need. It resolves package dependencies.

https://access.redhat.com/solutions/9934

chrism01 07-04-2016 04:42 AM

I assume you mean you have RHEL v5.
That is a commercial distro, so you should have paid support for it.
Try
Code:

yum install curl
and post the output.

If its not already registered with RH, you either have to pay for a subscription to get support and updates, or replace with Centos, which is a free rebuild of RHEL. It includes updates, but not support.
NB: V5 is pretty old, you shold really go with v7, or at least v6.
See https://access.redhat.com/support/po...pdates/errata/ for support dates.

LYC 07-04-2016 04:48 AM

I would like to install curl that supports TLS 1.2. The curl that comes with RH 5 is a lower version and does not support TLS 1.2.

Since higher curl version is not supported by RH 5, I have to download and compile. There is a curl (version 7.49.1) rpm available in https://curl.haxx.se/download.html but failed on dependencies during installing.

ardvark71 07-04-2016 04:59 AM

Quote:

Originally Posted by LYC (Post 5570137)
We are using RH 5 but it is not supporting the curl version (7.49.1) that I downloaded.

Where can I download libcryto, libcurl, libmetalink and libssl?

Note that: I have installed openssl 1.0.2h by recompiling.

Hi...

You might be able to find some or all of your needed dependencies here but I cannot make any guarantees. It would seem 7.49.1 is still too new to be fully covered. :)

Regards...


All times are GMT -5. The time now is 12:32 AM.