dongxiezhuo8852 2014-09-17 07:36
浏览 55

Linux Mint上的Laravel和Composer安装

I have a Linux Mint machine I am working on. I want Laravel to install on it.

When I search for this I got this command: curl -sS https://getcomposer.org/installer | php from "https://getcomposer.org/download/" to put in terminal but it gives me this:

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

After i have done 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?

got this which is not successfully installed curl

How can any one I successfully install these things and Composer and Laravel?

  • 写回答

1条回答 默认 最新

  • dongzhuang6417 2014-09-17 07:53
    关注

    The Composer already hints you the way to install those, you should run those commands, enter your password en those libraries should be installed automatically, after you install those libraries rerun the composer download.

    评论

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么