Installing Laravel and Composer on Linux Mint
I have a Mint Linux machine that 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 the 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 did 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 one that was not successfully installed curl
How can I successfully install these things while Composer and Laravel?
+3
Karmjeet singh
source
to share
1 answer
Composer already hints you how to install them, you have to run these commands, enter your password and these libraries should be installed automatically, after installing these libraries, run the composer download.
0
Sjors
source
to share