gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 05:40:18 25 4
gpt4 key购买 nike

我正在使用一台 Linux Mint 机器。我想要在上面安装 Laravel。

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

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 和 Laravel?请帮我解决这个问题,我对此有一个大问题

最佳答案

Quantal Quetzal(您的 Mint 版本所基于的 Ubuntu 版本)已于今年早些时候结束生命周期。

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

存储库已被删除并且无法再访问。您将需要更新您的操作系统。

关于php - 关于在 linux mint 上安装curl的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26031240/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com