I can never figure this shit out on AL2.
First things first, remove cmake.
sudo yum remove cmake
Next, install gcc-c++
sudo yum install gcc-c++
Grab cmake
wget https://cmake.org/files/v3.10/cmake-3.10.0.tar.gz
Extract
tar -xvzf cmake-3.10.0.tar.gz
Install
cd cmake-3.10.0 # I be Bootstrappin' ./bootstrap # make the thing make # make all the things sudo make install
Why did I do this? Ah shit I almost forgot. Installing Neovim...
sudo pip-3.7 install neovim --upgrade cd "$(mktemp -d)" git clone https://github.com/neovim/neovim.git cd neovim # This shit takes forever make CMAKE_BUILD_TYPE=Release # This takes even longer # The things I do for a decent text editing experience # F in chat make install
You're going to notice that tmux is on version 1.8 for some reason.
Let's fix that so we can get actual terminal colors that won't break nvim.
# Install tmux 3.0a on Centos # install deps sudo yum install -y gcc kernel-devel make ncurses-devel # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL curl -LOk https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz tar -xf libevent-2.1.11-stable.tar.gz cd libevent-2.1.11-stable ./configure --prefix=/usr/local make sudo make install # DOWNLOAD SOURCES FOR TMUX AND MAKE AND INSTALL curl -LOk https://github.com/tmux/tmux/releases/download/3.0a/tmux-3.0a.tar.gz tar -xf tmux-3.0a.tar.gz cd tmux-3.0a LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --prefix=/usr/local make sudo make install # pkill tmux # close your terminal window (flushes cached tmux executable) # open new shell and check tmux version tmux -V
Sick. Hopefully that entire process didn't accidentally download a kernel update. :')