Skip to content

Instantly share code, notes, and snippets.

@TheBeachLab
Last active February 7, 2017 18:01
Show Gist options
  • Save TheBeachLab/e57964158347cb5297612529c275c4c6 to your computer and use it in GitHub Desktop.
Save TheBeachLab/e57964158347cb5297612529c275c4c6 to your computer and use it in GitHub Desktop.
Script to make a fab computer from a clean Arch Linux based distro
# ██▓ ▓█████▄▄▄█████▓ ██▓▄▄▄█████▓ █████▒▄▄▄ ▄▄▄▄
# ▓██▒ ▓█ ▀▓ ██▒ ▓▒ ▓██▒▓ ██▒ ▓▒ ▓██ ▒▒████▄ ▓█████▄
# ▒██░ ▒███ ▒ ▓██░ ▒░ ▒██▒▒ ▓██░ ▒░ ▒████ ░▒██ ▀█▄ ▒██▒ ▄██
# ▒██░ ▒▓█ ▄░ ▓██▓ ░ ░██░░ ▓██▓ ░ ░▓█▒ ░░██▄▄▄▄██ ▒██░█▀
# ░██████▒░▒████▒ ▒██▒ ░ ░██░ ▒██▒ ░ ░▒█░ ▓█ ▓██▒░▓█ ▀█▓
# ░ ▒░▓ ░░░ ▒░ ░ ▒ ░░ ░▓ ▒ ░░ ▒ ░ ▒▒ ▓▒█░░▒▓███▀▒
# ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ▒▒ ░▒░▒ ░
# ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░
# ░ ░ ░ ░ ░ ░ ░ ░
# ░
#
####################################################
# Let it Fab! by Francisco Sanchez
# A post install script for Linux Arch based systems
# for Fab Labs that believe in open source
#
# February 2017 in Dubai
# http://beachlab.org
#
# CC-SA-BY 4.0 License
####################################################
# WARNING: WIP Not yet ready for use
## Install essentials
sudo pacman -S vim git curl atom
## Creating folders structure
mkdir ~/Documents/repos
## Configuring Git
git config --global core.editor "mousepad"
read -p 'Please write your name for git commits: ' gitname
git config --global username.name $gitname
read -p 'Please write your email for git commits: ' gitmail
git config --global username.email $gitmail
## Install 2D and 3D Software
sudo pacman -S inkscape gimp krita mypaint blender openscad freecad
## Install Antimony
# Clone the repo
echo Installing antimony in your Documents/repos folder
cd ~/Documents/repos
git clone https://github.com/mkeeter/antimony.git
cd antimony
# Make a build folder
mkdir build
cd build
# Build the application and i
cmake -GNinja ..
ninja
sudo ninja install
## Install AVR C toolchain
## Install AVS Assembly toolchain
## Install compiled Fab Modules
@sibusaman
Copy link

for installing antimony, you need more packages in a fresh system
I'll let you know soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment