Skip to content

Instantly share code, notes, and snippets.

@Ankit-Kulkarni
Created September 10, 2018 16:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ankit-Kulkarni/d16edbfe2ea21f8bc49c27985ab7c8d1 to your computer and use it in GitHub Desktop.
Save Ankit-Kulkarni/d16edbfe2ea21f8bc49c27985ab7c8d1 to your computer and use it in GitHub Desktop.
Install tmux in coreos
#!/bin/bash
# REF: Sean Kane https://groups.google.com/d/msg/coreos-dev/JAeABXnQzuE/8v_SIPsnCAAJ
# create a directory
sudo mkdir -p /opt/bin
sudo chown -R $(whoami):$(whoami) /opt
sudo sh -c 'echo "export PATH=$PATH:/opt/bin" >> /etc/environment'
cd /opt/bin
wget http://s.minos.io/s -O static-get
chmod a+rx ./static-get
cd /opt
./bin/static-get tmux
tar xf tmux-*.tar.xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment