Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get update
- #/-----------------\
- #| Install AWS CLI |
- #\-----------------/
- apt install python-pip -y
- pip install awscli
- apt-get install libssl-dev cmake zlib1g-dev libcurl3-dev zip -y
- apt-get install git
- git clone https://github.com/aws/aws-sdk-cpp.git --depth=1
- cd aws-sdk-cpp
- mkdir build
- cd build
- cmake .. -DBUILD_ONLY="s3" \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_SHARED_LIBS=OFF \
- -DCUSTOM_MEMORY_MANAGEMENT=OFF \
- -DCMAKE_INSTALL_PREFIX=~/install \
- -DENABLE_UNITY_BUILD=ON
- make
- make install
- git clone https://github.com/awslabs/aws-lambda-cpp.git
- cd aws-lambda-cpp
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/lambda-install
- make && make install
Add Comment
Please, Sign In to add comment