Created
October 12, 2015 20:29
-
-
Save ten0s/51c7179376d9b032592a to your computer and use it in GitHub Desktop.
setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant init ubuntu/precise32 | |
vagrant up | |
vagrant ssh | |
Deps | |
---- | |
sudo apt-get update | |
sudo apt-get install build-essential curl dos2unix gdb emacs git htop mc wget libwxgtk2.8-dev libglu-dev xsltproc libssl-dev libncurses5-dev fop unixodbc-dev default-jdk libtk-img-dev | |
cd | |
mkdir -p ~/bin ~/projects | |
# already in ~/.profile | |
# echo 'export PATH=~/bin:$PATH' >> ~/.bashrc | |
Erlang | |
------ | |
https://www.erlang-solutions.com/downloads/download-erlang-otp | |
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
sudo dpkg -i erlang-solutions_1.0_all.deb | |
sudo apt-get update | |
sudo apt-get install esl-erlang | |
OR | |
cd ~/bin | |
curl -O https://raw.githubusercontent.com/yrashk/kerl/master/kerl | |
chmod a+x kerl | |
cat > ~/.kerlrc <<EOF | |
KERL_CONFIGURE_OPTIONS="--without-wx --without-javac --without-odbc" | |
KERL_DEFAULT_INSTALL_DIR=/opt | |
EOF | |
kerl list releases | |
kerl build R16B03-1 r16b03-1 | |
tail -f ~/.kerl/builds/r16b03-1/otp_build_R16B03-1.log | |
sudo kerl install r16b03-1 | |
echo 'source /opt/r16b03-1/activate' >> ~/.bashrc | |
syntaxerl | |
--------- | |
cd ~/projects | |
git clone https://github.com/ten0s/syntaxer | |
cd syntaxerl | |
make | |
cp syntaxerl ~/bin/ | |
Emacs | |
----- | |
cd | |
git clone https://github.com/ten0s/emacs | |
ln -s ~/emacs/.emacs ~/.emacs | |
get rid of tuareg mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment