install laravel aws ec2 linux code example

Example 1: install git ec2 linux

#Create an EC2 instance with Amazon Linux 2 with internet access
#Connect to your instance using putty
 
#Perform a quick update on your instance:
sudo yum update -y
 
#Install git in your EC2 instance
sudo yum install git -y
 
#Check git version
git version

Example 2: install pip3 linux

sudo apt install python3-pip

on Fedora
sudo yum install python3-pip

Example 3: install pip linux

//IF you have problem with your pip try the oldest one :]
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python get-pip.py
pip install xlrd --upgrade