在Linux Mint上安装Laravel和Composer

我正在使用Linux Mint机器。 我想要Laravel来安装它。

当我search这个我得到这个命令: curl -sS https://getcomposer.org/installer | php 从“ https://getcomposer.org/download/ ”的curl -sS https://getcomposer.org/installer | php放在terminal,但它给了我这个:

 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? 

得到这没有成功安装curl

我怎么能成功安装这些东西,composer php和Laravel?

Composer已经提示你安装这些程序的方式,你应该运行这些命令,输入你的密码,这些库应该被自动安装,安装这些库后重新运行作曲家下载。