-
golang 최신버전 쉽게 설치하는 방법개발/고(Go) 2023. 6. 15. 12:40반응형
https://github.com/udhos/update-golang
GitHub - udhos/update-golang: update-golang is a script to easily fetch and install new Golang releases with minimum system intr
update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion - GitHub - udhos/update-golang: update-golang is a script to easily fetch and install new Gol...
github.com
위 사이트에 가면 자세히 설명이 나오지만 간단히 원리 설명을 하자면
깃허브에서 레포지토리를 다ㅡ운
다운받은 레포에는 쉘파일이 들어있음.
그 쉘파일을 관리자권한으로 실행시키면 알아서 다운로드해주는 원리
명령어
git clone https://github.com/udhos/update-golang
cd update-golang
sudo ./update-golang.sh
환경변수 설정
source /etc/profile.d/golang_path.sh
- 끗 -
반응형'개발 > 고(Go)' 카테고리의 다른 글
블로그 자동화 프로세서 (0) 2023.05.31 Golang pgx로 psql batch insert를 해보자 (0) 2023.05.17 Golang 에서 nested map을 이용해 보자 (1) 2023.05.17