Atom Ubuntu 저장소 추가.

언제 나온거야 도대체.
그동안 Github 에 올라온 꾸러미 파일을 받아서 설치해왔었는데, 오늘, 저장소가 있다는 사실을 알게됐다.
어제 생겼는지, 3년 전(?)에 생겼는지는 알 길이 없지만, 아무튼, 일찍 알았다는 생각은 들 지 않는 건, 내 피해의식이려나.

다음과 같이 설치할 수 있다.

$ wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
$ sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
$ sudo apt update
$ sudo apt install atom 또는, sudo apt install atom-beta
또는,
$ sudo apt upgrade

아톰 문서에서는 wget 대신 curl 을 사용했는데, 내 시스템엔 curl 은 없고 wget 만 있어서 대신 사용했다.
curl 에선 -L 을 사용했고, wget 에선 -O(대문자 O) 를 사용했는데, 이 부분, man 페이지에 이렇게 설명되어 있다. (-q 는 quiet)

-O file
       --output-document=file
           The documents will not be written to the appropriate files, but all
           will be concatenated together and written to file.  If - is used as
           file, documents will be printed to standard output, disabling link
           conversion.  (Use ./- to print to a file literally named -.)

앞으론 새 판 나오는 거 신경쓰지 않고 사용할 수 있겠네.

Author: 아무도안

2 thoughts on “Atom Ubuntu 저장소 추가.

안녕하세요. 글 남겨주셔서 고맙습니다.