출처 : https://docs.microsoft.com/ko-kr/cli/azure/install-azure-cli-apt
Last active
March 12, 2019 01:39
-
-
Save allieus/9475e5263bbbfcc345592b708dd7dff3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update # 먼저 팩키지 목록을 업데이트해주세요. | |
# 필수 구성 요소 패키지 설치 | |
sudo apt-get install apt-transport-https lsb-release software-properties-common dirmngr -y | |
# 목록에 저장소 추가 | |
AZ_REPO=$(lsb_release -cs) | |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \ | |
sudo tee /etc/apt/sources.list.d/azure-cli.list | |
# Microsoft 서명 키 가져오기 | |
sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg adv \ | |
--keyserver packages.microsoft.com \ | |
--recv-keys BC528686B50D79E339D3721CEB3E94ADBE1229CF | |
# CLI 설치 | |
sudo apt-get update | |
sudo apt-get install azure-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment