Help us understand the problem. What is going on with this article?

stack install curlができないときの解決法(Ubuntu)

More than 3 years have passed since last update.

libcurl4-gnutls-devをインストール

環境

Ubuntu 16.04 LTS

このようなエラーがでる

 setup: Missing dependency on a foreign library:
    * Missing C library: curl
    This problem can usually be solved by installing the system package that
    provides this library (you may need the "-dev" version). If the library is
    already installed but in a non-standard location then you can use the flags
    --extra-include-dirs= and --extra-lib-dirs= to specify where it is.

解決法

libcurl4-gnutls-devというパッケージをインストールすれば解決します。

sudo apt install libcurl4-gnutls-dev

参考

http://momocus.hatenablog.com/entry/2014/04/18/122347

v97ug
型に生き、型を守りて、型を往く
https://anison-pianist.com
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした