-
Notifications
You must be signed in to change notification settings - Fork 5
/
install_pkg.sh
23 lines (22 loc) · 1015 Bytes
/
install_pkg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# alpine linux
if uname -v | grep iSH
then
apk add sudo git clang g++ gcc llvm-dev pcre-dev gc-dev readline-dev ncurses-dev make samurai cmake autoconf valgrind gdb musl-dev
elif uname | grep Darwin
then
brew install git llvm pcre libgc readline ncurses make ninja cmake autoconf
elif which apk > /dev/null
then
sudo apk add sudo git clang g++ gcc llvm-dev pcre-dev gc-dev readline-dev ncurses-dev make samurai cmake autoconf valgrind gdb lldb musl-dev
# termux
elif test `uname -o` = Android
then
apt install which clang libllvm pcre libgc readline ncurses make ninja cmake autoconf valgrind gdb lldb binutils libandroid-glob
# debian
elif ls /etc/debian_version
then
sudo apt install clang g++ gcc llvm-dev libpcre3-dev libgc-dev libreadline-dev ncurses-dev make ninja-build cmake autoconf valgrind gdb lldb
elif which apt > /dev/null
then
sudo apt install clang g++ gcc llvm-dev libpcre++-dev libgc-dev libreadline-dev ncurses-dev make ninja-build cmake autoconf valgrind gdb lldb
fi