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 LiBeAs的带隙等于0.997eV,计算阴离子的N和P
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 matlab有关常微分方程的问题求解决
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法