This is a note for myself to setup a developer environment on chromebook without using crouton (Running Linux GUI on chromeOS). I chose chromebrew since it is just a CLI interface and doesn't require running anything on top of any apps. And I am also a fan of miniconda, which works well on the linux kernal of ChromeOS.
-
Get into developer mode, go to terminal and enter shell.
-
Install chromebrew:
wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
- Install zsh:
crew install zsh
- Install oh my zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
echo zsh >> ~/.bash_profile
- Install vim (for some reason crew install vim doesn't work for me)
cd /usr/local
git clone https://github.com/vim/vim.git
cd vim
./configure --prefix=/usr/local --disable-selinux
make
make install
cd ../
rm -rf vim
- Install miniconda (set install path as /usr/local/miniconda2)
cd ~/Downloads
curl -O https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
zsh ~/Downloads/Miniconda2-latest-Linux-x86_64.sh
echo PATH=/usr/local/miniconda2/bin:$PATH >> ~/.zshrc