Check to see if cURL is installed locally?

后端 未结 5 1184
难免孤独
难免孤独 2020-12-29 18:13

How do I check if cURL is installed on my local server instance?

Does it matter what type of server I\'m running to check it?

Is

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 18:47

    Another way, say in CentOS, is:

    $ yum list installed '*curl*'
    Loaded plugins: aliases, changelog, fastestmirror, kabi, langpacks, priorities, tmprepo, verify,
                  : versionlock
    Loading support for Red Hat kernel ABI
    Determining fastest mirrors
    google-chrome                                                                                    3/3
    152 packages excluded due to repository priority protections
    Installed Packages
    curl.x86_64                                        7.29.0-42.el7                                @base
    libcurl.x86_64                                     7.29.0-42.el7                                @base
    libcurl-devel.x86_64                               7.29.0-42.el7                                @base
    python-pycurl.x86_64                               7.19.0-19.el7                                @base
    

提交回复
热议问题