I need the extension curl for php and cant find any documentation online on how to install it. Normally the libaries are there from what I have read. This is the message I get when I try to install it fromn the commad shell.

> sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Reading package lists...
Building dependency tree...
Reading state information...
E: Couldn't find package curl
 
Please note I am not a linux guru hence the reason for trying turnkey linux. If ayone has an idea or knows of a tutorial to install curl that would be great. I was able to find the libary online but not sure where to put it and how to install it.

Replies (9)

You need to drop the middle libcul3-dev Now

Reply 1

Took quite a while but two parts here:

Do this in WebShell (not issue a Command from Webmin)

drop the middle libcurl2-dev from this command

apt-get install curl libcurl3 libcurl3-dev php5-curl

be sure to do both lines:  (needed for MageBridge Joomla)

apt-get update
apt-get install curl libcurl3 php5-curl

Still need now to upgrade php version to 5.2.8 or greater.  How to do that in Turnkey Joomla install (most recent version).

You need to synchronize your package index

Reply 2
Try this:
apt-get update
apt-get install curl libcurl3 libcurl3-dev php5-curl

also tired this

Reply 3
Sent this first....
 
> apt-get update
Get:1 http://archive.turnkeylinux.org hardy-security Release.gpg [481B]
Get:2 http://archive.turnkeylinux.org hardy Release.gpg [481B]
Get:3 http://archive.turnkeylinux.org hardy-security Release [1926B]
Get:4 http://archive.ubuntu.com hardy-security Release.gpg [189B]
Get:5 http://archive.ubuntu.com hardy Release.gpg [189B]
Get:6 http://archive.turnkeylinux.org hardy Release [1899B]
Get:7 http://archive.ubuntu.com hardy-updates Release.gpg [189B]
Get:8 http://archive.ubuntu.com hardy-security Release [58.5kB]
Get:9 http://archive.turnkeylinux.org hardy-security/main Packages [29B]
Get:10 http://archive.turnkeylinux.org hardy-security/universe Packages [3350B]
Get:11 http://archive.turnkeylinux.org hardy/main Packages [4377B]
Get:12 http://archive.turnkeylinux.org hardy/universe Packages [47.9kB]
Get:13 http://archive.ubuntu.com hardy Release [65.9kB]
Get:14 http://archive.ubuntu.com hardy-updates Release [58.5kB]
Get:15 http://archive.ubuntu.com hardy-security/main Packages [204kB]
Get:16 http://archive.ubuntu.com hardy-security/universe Packages [102kB]
Get:17 http://archive.ubuntu.com hardy/main Packages [1518kB]
Get:18 http://archive.ubuntu.com hardy/universe Packages [5607kB]
Get:19 http://archive.ubuntu.com hardy-updates/main Packages [566kB]
Get:20 http://archive.ubuntu.com hardy-updates/universe Packages [251kB]
Fetched 8491kB in 14s (592kB/s) Reading package lists...

then sent this...

> apt-get install curl libcurl3 libcurl3-dev php5-curl
Reading package lists...
Building dependency tree...
Reading state information...
Package libcurl3-dev is a virtual package provided by: libcurl4-openssl-dev 7.18.0-1ubuntu2.1
You should explicitly select one to install.
E: Package libcurl3-dev has no installation candidate

tried it no good

Reply 4
> apt-get update apt-get install curl libcurl3 libcurl3-dev php5-curl
E: The update command takes no arguments

also tried this...

> apt-get install curl libcurl3 libcurl3-dev php5-curl
Reading package lists...
Building dependency tree...
Reading state information...
E: Couldn't find package curl

see my prior post (drop the "dev" stuff"

Reply 5
apt-get update
apt-get install curl libcurl3 php5-curl

I have done this a few times and gotten Curl to post well.  Has worked w/ Hardy Joomla and lucid Lamp from the command

Also this is working to install GD (which I need for Magento - don't know what it is)  (need to drop the 5 in PHP to install php-apc  (accelerator) -- thanks to Adrian for his Magento Posts re GD and APC.

apt-get install php5-gd

drop the "dev" out of the libaries and use the text above -- I did this awhile back and was having the same trouble you were/or are.

Typo...

Reply 6

It's libcurl3 not libcurl13! Try that! :)

Webshell is available from your browser

Reply 7

Just like Webmin but you use port 12320 (instead of 12321 like you do for Webmin) eg https://<appliance-name-or-IP>:12320

Alternatively you can use an SSH connection eg using a SSH client such as PuTTY.

Where is WebShell

Reply 8

 

how to use fopen

Reply 9

i have absolutely no idea about fopen() in php and php , however i suppose i am trobuled by this thing only... initially i was unaware about such thingh when i started this thread

/forum/support/20111212/joomla-cannot-interact-internet

however this problem is now turning like a beast... webmin can esiely interact to external internet, however joomla is getting mad day by day.