Skip to content

Instantly share code, notes, and snippets.

View kdqed's full-sized avatar
🌅
Up for projects

Karthik Devan kdqed

🌅
Up for projects
View GitHub Profile

Setting Up Flutter On ARM Chromebook Linux Container (Crostini)

I recently bought a Chromebook with an ARM processor and the battery lasts around 12-15 hours. It's a huge upgrade from my 10 year old Intel laptop which did 2 hours at best. I did try replacing ChromeOS with proper Linux but it's too complicated and I gave up. Moreover, ChromeOS isn't that bad, it's looks very eyecandy out of the box and has a lot of fun features - including Android app support. I always keep it on battery saver mode though.

The next challenge was to get my Flutter dev environment to run on this. Here's how I managed to get it running, without compiling anything from source.

1. For Linux Desktop Apps

1.1 Install basic and Linux build dependencies mentioned on https://docs.flutter.dev/get-started/install/linux/desktop:

$ sudo apt install curl git unzip xz-utils zip libglu1-mesa
Verifying my Blockstack ID is secured with the address 17N71SD5Ts4m33cP5mRxYYtbrxX6Nju12C https://explorer.blockstack.org/address/17N71SD5Ts4m33cP5mRxYYtbrxX6Nju12C
server {
listen 80;
# Change to corresponding location
root /projects/directus/public;
# Change virtual host if needed
server_name directus.local;
index index.html index.htm index.nginx-debian.html index.php;
@kdqed
kdqed / DNA codon table.json
Last active August 20, 2017 11:10 — forked from anonymous/rna codon table.json
json table of DNA codons
{
"TTT": "F",
"CTT": "L",
"ATT": "I",
"GTT": "V",
"TTC": "F",
"CTC": "L",
"ATC": "I",
"GTC": "V",
"TTA": "L",