You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rwxrob-dot/install/ubuntu/install-neo

19 lines
527 B
Bash

#!/bin/sh
sudo apt install autoconf
sudo apt install build-essentials
sudo apt install ncurses-base
sudo apt-get install libncurses5-dev
[ -z "$(command -v gh)" ] && echo "gh required" && exit
[ -z "$(command -v make)" ] && echo "make required (build-essentials)" && exit
[ -z "$(command -v autoconf)" ] && echo "autoconf required" && exit
dir="$REPOS/github.com/st3w/neo"
mkdir -p "$(basename "$dir")"
if [ ! -d "$dir" ]; then
gh repo clone st3w/neo "$dir"
fi
cd "$dir" || exit
./autogen.sh
./configure
make
sudo make install