본문 바로가기
SW/Chrome OS

크롬OS - 리눅스 (Linux on Chrome OS, Crostini) & 개발 환경 (Fish Shell, gcc/g++, Python(Anaconda)) (1/2)

by 라꾸스떼(YR) 2019. 12. 28.
반응형

크롬북은 크롬OS의 특이한 호환성(?)으로 제법 괜찮은 개발 환경을 꾸릴 수 있다.

 

바로 데비안 계열의 리눅스 환경이 제공이 되기 때문이다.

 

즉 크롬 웹 앱과 안드로이드 앱은 물론 리눅스 앱이 실행 가능하다. 

 

[Linux on Chrome OS]

https://support.google.com/chromebook/answer/9145439?p=chromebook_linuxapps&b=atlas-signed-mpkeys&visit_id=637131373179025327-17408785&rd=1

 

Chromebook에서 Linux(베타) 설정 - Chromebook 고객센터

도움이 되었나요? 어떻게 하면 개선할 수 있을까요? 예아니요

support.google.com

[Linux가 제공되는 Chrome OS System]

https://sites.google.com/a/chromium.org/dev/chromium-os/chrome-os-systems-supporting-linux

 

Chrome OS Systems Supporting Linux (Beta) - The Chromium Projects

Home of the Chromium Open Source Project

sites.google.com

앞으로 설치할 개발 환경은 이렇다.

1. Linux (Debian 계열)

2. Fish Shell & Oh-My-Fish & Godfather Theme

3. C/C++ - gcc, g++

4. Python3 (Anaconda)

5. Git

6. VS Code

7. Notion

8. Slack

...

 

[1.  Linux]

설정 - Linux - 설치 (리눅스 백업 및 복원 기능이 제공된다.)

[리눅스 환경 확인]

uname -a
cat /proc/version
grep . /etc/*-release

[리눅스 환경 업데이트]

sudo apt-get update && sudo apt-get dist-upgrade

 

[2.  Fish Shell & Oh-My-Fish & Godfather Theme]

sudo apt-get install fish
curl -L https://get.oh-my.fish | fish
omf install godfather

[3.  C/C++ - gcc, g++] - https://gcc.gnu.org/projects/cxx-status.html

 

C++ Standards Support in GCC - GNU Project - Free Software Foundation (FSF)

For information about the status of C++ defect reports, please see this page. For information about the status of the library implementation, please see the Implementation Status section of the Libstdc++ manual. GCC has experimental support for the next re

gcc.gnu.org

sudo apt-get install g++
g++ -v

[4. Python3 (Anaconda)]

1. https://www.anaconda.com/distribution/ 에서 Anaconda 2019.10 for Linux Installer - Python 3.7 version을 Download한다. (.sh 파일)

 

Anaconda Python/R Distribution - Free Download

Anaconda Distribution is the world's most popular Python data science platform. Download the free version to access over 1500 data science packages and manage libraries and dependencies with Conda.

www.anaconda.com

2. [내 파일] - [다운로드]를 공유폴더 설정하여 아래와 같이 리눅스에서 접근 가능하게 한다.

ll /mnt/chromeos/MyFiles/Downloads/ #해당 경로에서는 권한 문제가 발생한다.
mv /mnt/chromeos/MyFiles/Downloads/Anaconda3-*.sh .
chmod +x Anaconda3-*.sh
./Anaconda3-*.sh
1. Enter
2. yes
3. 설치할 경로 지정
4. yes

[터미널 재실행]

which python3
python3

 

반응형

댓글