Building a Linux Distro From Scratch: Compiling & Installing Golang
FULL SERIES:
==========================
Monkey See, Monkey Do LINUX
==========================
================================================
VICI – Minimalist cross-platform terminal based text editor
================================================
==================================
ED – The standard Linux Text Editor in Go
==================================
====================
MY TOY TEXT EDITORS
====================
VI-like text editor in 100 lines of C++ code:
Text editor in 50 lines of python:
VI-like text editor in 125 lines of python:
Text editor with python shell:
Tiny vi-like text editor in only 125 lines of python code:
Text editor with syntax highlighting:
Kilo text editor cone in C:
Kilo text editor port to ESP32:
===============================================
TUTORIALS COVERING MOST OF THE ABOVE PROJECTS
===============================================
=====================
SUPPORT THE CHANNEL
=====================
Patreon:
PayPal: maksymkorzh@gmail.com
==========
CONTENTS
==========
00:00 Intro
01:00 Downloading Golang sources
01:40 Extracting files from the archive
02:10 Configuring make to build statically linked binary
03:25 Compiling Golang
05:05 Installing Golang to the Distro
06:50 Adding Golang environmental variables
08:40 Updating ISO image
09:05 Testing Golang
11:50 Adding /tmp folder to rootfs
12:25 Updating ISO
13:17 Writing ‘Hello, World’ program in Golang
15:00 Installing Golang packages THE VERY TOUGH WAY
16:30 Why standard ‘go get…’ is not going to work
17:00 A workaround: using ‘get’ to manually download packages
18:05 Downloading termbox-go (sort of ncurses for Golang)
18:30 Installing termbox-go as a standard Golang package
19:40 Altering import line in a test file
20:20 Altering package source to resolve nested dependency
20:55 Installing go-runewidth
21:30 Installing go-runewidth as a standard Golang package
22:25 Downloading uniseg
22:54 Installing uniswg as a standard Golang Package
23:20 Altering package source one last time
24:15 Package termbox-go finally compiles!!!
24:50 Writing termbox-go ‘Hello, world’ program
27:40 Summary on Monkey See, Monkey do Linux project
[ad_2]
source