This is the second day of my participation in the August More text Challenge. For details, see:August is more challenging

For the appearance of high requirements, the first installation of time reference www.github.com/Airblader/i here…

Personal profile address: github.com/itgoyo/i3

cd /path/where/you/want/the/repository # clone the repository git clone https://www.github.com/Airblader/i3 i3-gaps cd i3-gaps # compile & install autoreconf --force --install rm -rf build/ mkdir -p build && cd build/ # Disabling sanitizers is important for release versions! # The prefix and sysconfdir are, obviously, dependent on the distribution. .. /configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers make sudo make installCopy the code

I used Linux Mint to install the actual dependencies so I referred to this article again hackmd. IO /s/By6mF5Rqb… Install dependencies first

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 libtoolCopy the code

It can also occur during compilation

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
Copy the code

Use sudo apt-get install automake to fix the problem

It’s also possible that

No package 'xcb-xrm' found
Copy the code

Here use sudo apt – get the install libxcb XRM – dev to fix this problem, a detailed reference: unix.stackexchange.com/questions/3…

Kbase101.com/question/33…

One option is to build it manually from the source (Github)

The second option is to obtain a third-party PPA

sudo add-apt-repository ppa:aguignard/ppa
sudo apt-get update
sudo apt-get install xcb-util-xrm

Copy the code

no Package xcb-shape

solution

sudo apt install libxcb-shape0-dev

Copy the code

No package ‘libpcre’ found

sudo apt-get install libpcre3-dev
Copy the code

No package ‘cairo’ found

sudo apt-get install libcairo2-dev
Copy the code

No package ‘pangocairo’ found

Sudo apt - get the install libpango1.0 - devCopy the code

It is recommended to install Conky to beautify the status bar

sudo apt-get install conky

Once you have everything, run the command to install successfully

gaps also needs to be installed from source so run these commands:

cd /tmp git clone https://www.github.com/Airblader/i3 i3-gaps cd i3-gaps git checkout gaps && git pull autoreconf --force --install rm -rf build mkdir build cd build .. /configure --prefix=/usr --sysconfdir=/etc make sudo make installCopy the code

Now i3-gaps should be installed.