As may know Google have enabled support for Linux apps on Google Chromebooks. I have the latest [easyazon_link identifier=”B075JLPLBL” locale=”US” tag=”wn0d5-20″] Google Chromebook Pixel [/easyazon_link]which is very nice machine and once you enable support for Linux apps – it becomes great DevOps machine.
- Open Settings
- Click on Help
- Click on About Chrome OS
- Click on Detailed Build Information
- Change the channel to Beta
- Wait for Chromebook to finish install and update
- Go back to Settings and scroll down
- Click on Linux(Beta) – Turn On
- Wait for installation of the Linux
- New icon is place in your apps
- Click the Terminal icon
- You are in your Linux console
Now when you have Linux installed and you are in console you can easily install some apps in my case I have installed [easyazon_link identifier=”1491977086″ locale=”US” tag=”wn0d5-20″] Terraform [/easyazon_link] and [easyazon_link identifier=”1491979801″ locale=”US” tag=”wn0d5-20″] Ansible [/easyazon_link] and Microsoft Visual Code.
Here is the script for Terraform:
# Install and configure Terraform # Check for latest release https://releases.hashicorp.com/terraform/ sudo apt-get install wget git unzip gnupg python3 python3-pip -y sudo apt-get update && sudo apt-get upgrade sudo wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip sudo unzip terraform_0.11.18_linux_amd64.zip sudo mv terraform /usr/local/bin/ terraform –version
Here is script for installation of [easyazon_link identifier=”1787125688″ locale=”US” tag=”wn0d5-20″] Ansible [/easyazon_link]:
# Install Ansible sudo apt-get update && sudo apt-get upgrade sudo apt-get install ansible ansible --version
And last package is Microsoft Visual Code:
sudo pt-get update && sudo apt-get upgrade sudo wget https://az764295.vo.msecnd.net/stable/f46c4c469d6e6d8c46f268d1553c5dc4b475840f/code_1.27.2-1536736588_amd64.deb sudo dpkg -i code*-1536736588.deb # It will fail so need to re-run sudo apt --fix-broken install sudo apt-get update sudo dpkg -i code*-1536736588.deb
You have now all 3 apps installed on your Linux running out of [easyazon_link identifier=”B075JLPLBL” locale=”US” tag=”wn0d5-20″] Google Chromebook Pixel [/easyazon_link] — all works like charm and you can start to write your code and deploy with ansible and terraform.