How to install Curl manually through SSH?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • John_Accuwebhosting
    Senior Member
    • Jun 2006
    • 120

    How to install Curl manually through SSH?

    You can enable Curl using easyapache script of cPanel/WHM. However, sometimes you may require installing it manually. You will have to follow below steps in order to install it manually:

    1. cd /usr/local/src
    2. wget http://curl.haxx.se/download/curl-7.19.5.tar.gz
    3. tar -xvzf curl-7.19.5.tar.gz
    4. cd curl-7.19.5
    5. ./configure –prefix=/usr/local –with-ssl=/usr/include/openssl
    6. make
    7. make install

    Please make sure that this will install curl and also associate it with openssl.

    Note: Do not forgot to restart apache once you finish above steps.

    Thanks!
    John D.
    Support Technician,
    accuwebhosting.com
    Windows based hosting
    Linux based hosting
  • edjallen
    Junior Member
    • Nov 2010
    • 1

    #2
    Re: How to install Curl manually through SSH?

    Hi.
    I tried this but get the error:

    invalid variable name: '-prefix'

    I'm running a Linux VPS with Plesk. Thanks for your help.
    e.

    Comment

    Working...
    X