Check to see if cURL is installed locally?

后端 未结 5 1226
难免孤独
难免孤独 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 19:06

    Assuming you want curl installed: just execute the install command and see what happens.

    $ sudo yum install curl

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.cat.pdx.edu
     * epel: mirrors.kernel.org
     * extras: mirrors.cat.pdx.edu
     * remi-php72: repo1.sea.innoscale.net
     * remi-safe: repo1.sea.innoscale.net
     * updates: mirrors.cat.pdx.edu
    Package curl-7.29.0-54.el7_7.1.x86_64 already installed and latest version
    Nothing to do
    

提交回复
热议问题