关于在linux mint上安装curl的问题

时间:2014-09-25 05:31:01

标签: php linux linuxmint

我正在使用Linux Mint机器。我希望Laravel能够安装它。

当我搜索这个时,我得到了这个命令:curl -sS https://getcomposer.org/installer |来自“https://getcomposer.org/download/”的php放入终端,但它给了我这个:

The program 'php' is 
currently not installed. You can install it by typing:
sudo apt-get install php5-cli
The program 'curl' is currently not installed. You can install it by typing:
sudo apt-get install curl

完成sudo apt-get install curl后

libcurl3 curl
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main libcurl3 i386 7.27.0-1ubuntu1.9
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/main libcurl3 i386 7.27.0-1ubuntu1.9
  404  Not Found [IP: 91.189.91.14 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/main curl i386 7.27.0-1ubuntu1.9
  404  Not Found [IP: 91.189.91.14 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.27.0-1ubuntu1.9_i386.deb  404  Not Found [IP: 91.189.91.14 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.27.0-1ubuntu1.9_i386.deb  404  Not Found [IP: 91.189.91.14 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

得到了这个没有成功安装的卷曲

我怎样才能成功安装这些东西以及Composer和Laravel? 请帮我解决这个问题我有一个很大的问题

2 个答案:

答案 0 :(得分:2)

Quantal Quetzal,你的Mint版本所基于的Ubuntu版本,已于今年早些时候达到使用寿命。

http://fridge.ubuntu.com/2014/05/01/ubuntu-12-10-quantal-quetzal-reaches-end-of-life-on-may-16-2014/

回收物被拆除,不再可以进入。您需要更新操作系统。

答案 1 :(得分:0)

首次运行

sudo apt-get update

之后

sudo apt-get install php5-curl

我希望它能奏效。