Linux MintにLaravel、Composer、Curlをインストールする

Linux MintにLaravel、Composer、Curlをインストールする

私はLinux Mintマシンを使用しています。 Laravelをインストールしたいです。

これを検索すると、次のコマンドが得られました。curl -sS https://getcomposer.org/installer | php from "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でこれらの機能をどのように正常にインストールできますか?

ベストアンサー1

使用しているUbuntuのバージョン(Quantal、12.10)は次のとおりです。サポートされなくなりました5月16日から施行されます。したがって、パッケージをダウンロードすることはできません。

インストールDVDからインストールするか、両方のcurlソースコードをダウンロードしてソースからコンパイルできます。phpwget

ただし、12.10を引き続き使用するとセキュリティのアップグレードが欠落しているため、サポートされているUbuntuバージョン(14.04、12.04)にアップグレード(またはダウングレード)することをお勧めします。

おすすめ記事