Ubuntu – How to install curl package .deb file in ubuntu 16.04?


I download curl deb file from curl official site : https://curl.haxx.se/. I want to install curl deb file but meet this trouble:

enter image description here

Please tell e how to fix this trouble. I'm not edit anything on /etc/apt/sources.list. Why this trouble happend to me?

Best Answer

Ubuntu 16.04 has upgraded PHP to 7.0. Just do sudo apt-get install php7.0-curl.

Source: http://packages.ubuntu.com/xenial/php7.0-curl