gpt4 book ai didi

php - Laravel 和 Composer 在 Linux Mint 上的安装

转载 作者:搜寻专家 更新时间:2023-10-31 22:02:31 25 4
gpt4 key购买 nike

我有一台正在使用的 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?

得到这个没有成功安装的curl

我怎么能成功安装这些东西以及 Composer 和 Laravel?

最佳答案

Composer 已经提示您安装它们的方法,您应该运行这些命令,输入您的密码,然后这些库应该自动安装,在您安装这些库后重新运行 composer 下载。

关于php - Laravel 和 Composer 在 Linux Mint 上的安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25884873/

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