WSL2에서 Ubuntu(20.04.2 LTS)에 AWS SAM 설치
소개
안녕하세요. 새로운 PC를 구입했음에도 불구하고 오래된 PC에 여러 가지를 넣고 나중에 일을 늘리고있는 필자입니다 
마이그레이션하더라도 작업하기에는 전혀 가지 않으면 안되기 때문에 무거운 허리가 오르지 않고 ...

그런데, 이번은 Windows 머신으로 WSL2로 Lambda의 동작 확인을 위해서 AWS SAM의 인스톨을 해 나가려고 생각합니다.
WSL2(20.04.2 LTS)에 AWS SAM 설치
공식 문서를 참고로 진행하겠습니다.
1. zip 파일을 다운로드합니다.
wget이든 curl이든 취향에 
(여담이지만 상당히 302로 리디렉션됩니다
)
$ wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip
2. 해시값 확인
다음 명령으로 생성 된 해시 값이 GitHub 릴리스 노트에 나열된 것과 일치하면 OK입니다 
$ sha256sum aws-sam-cli-linux-x86_64.zip
3. zip 파일의 압축을 풉니 다.
$ unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
4. 설치
$ sudo ./sam-installation/install
5. 버전 확인
설치 완료 
$ sam --version
SAM CLI, version 1.24.1
결론
아무것도없이 설치할 수있었습니다 
그럼!
Reference
이 문제에 관하여(WSL2에서 Ubuntu(20.04.2 LTS)에 AWS SAM 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/akitkat/items/00e4ccb54bd50b4c734e
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
공식 문서를 참고로 진행하겠습니다.
1. zip 파일을 다운로드합니다.
wget이든 curl이든 취향에

(여담이지만 상당히 302로 리디렉션됩니다

$ wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip
2. 해시값 확인
다음 명령으로 생성 된 해시 값이 GitHub 릴리스 노트에 나열된 것과 일치하면 OK입니다

$ sha256sum aws-sam-cli-linux-x86_64.zip
3. zip 파일의 압축을 풉니 다.
$ unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
4. 설치
$ sudo ./sam-installation/install
5. 버전 확인
설치 완료

$ sam --version
SAM CLI, version 1.24.1
결론
아무것도없이 설치할 수있었습니다 
그럼!
Reference
이 문제에 관하여(WSL2에서 Ubuntu(20.04.2 LTS)에 AWS SAM 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/akitkat/items/00e4ccb54bd50b4c734e
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Reference
이 문제에 관하여(WSL2에서 Ubuntu(20.04.2 LTS)에 AWS SAM 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/akitkat/items/00e4ccb54bd50b4c734e텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)