-
-
Save samsulmaarif/496811d7ab0031cf9b542fd3bab75a79 to your computer and use it in GitHub Desktop.
Install i3-gaps on Ubuntu 16.04
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
#!/bin/bash | |
# Install i3-gaps on Ubuntu 16 | |
set -e | |
set -x | |
sudo apt-get update && sudo apt-get -y dist-upgrade && \ | |
sudo apt-get install -y libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev dh-autoreconf | |
mkdir -p $HOME/repos | |
cd $HOME/repos | |
if cd xcb-util-xrm; then \ | |
git pull; | |
else | |
git clone --recursive https://github.com/Airblader/xcb-util-xrm.git xcb-util-xrm; cd xcb-util-xrm; | |
fi | |
./autogen.sh | |
make | |
sudo ldconfig | |
sudo ldconfig -p | |
cd $HOME/repos | |
if cd i3-gaps; then | |
git pull | |
else | |
git clone https://www.github.com/Airblader/i3 i3-gaps; cd i3-gaps; | |
fi | |
autoreconf --force --install | |
rm -Rf build/ | |
mkdir build | |
cd build/ | |
../configure --prefix=/usr --sysconfdir=/etc | |
make | |
sudo make install | |
which i3 | |
ls -l /usr/bin/i3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment