0

I installed curl using synaptic package manager on my Ubuntu machine. However it didn't installed with ssl enabled. When I do curl-config --protocols, it does not show HTTPS.

I want to install curl with ssl enabled. If I do it manually by downloading curl and then compiling it with --with-ssl flag and then recompiling my PHP with -with-curl, this is tedious and also i have many packages which are installed in PHP, so i have to re-install them back again.

I am looking for some way if i could supply the --with-ssl=/usr/lib/ssl flag with apt-get or synaptic package manager. Is it possible?

1 Answer 1

4

You need to uninstall your existing package and install the curl-ssl package like this:

sudo apt-get remove curl
sudo apt-get install curl-ssl

Depending on what else you have installed, you may also need libcurl.

Sign up to request clarification or add additional context in comments.

1 Comment

It will probably use libcurl.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.