Update install.sh

updates for centos
This commit is contained in:
bharnden 2019-12-21 11:53:14 -08:00 committed by GitHub
parent fb5f1a771c
commit ace15636ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ function install_ospf_mdr() {
function install_core() { function install_core() {
./bootstrap.sh ./bootstrap.sh
./configure ./configure $1
make -j8 make -j8
sudo make install sudo make install
} }
@ -43,11 +43,11 @@ case ${os} in
install_core install_core
;; ;;
"CentOS Linux") "CentOS Linux")
sudo yum install -y automake pkgconf-pkg-config gcc libev-devel bridge-utils iptables-ebtables gawk \ sudo yum install -y automake pkgconf-pkg-config gcc gcc-c++ libev-devel bridge-utils iptables-ebtables gawk \
python36 python36-devel python3-pip python3-tk tk ethtool libtool readline-devel autoconf python36 python36-devel python3-pip python3-tkinter tk ethtool libtool readline-devel autoconf
install_python_depencencies install_python_depencencies
install_ospf_mdr install_ospf_mdr
install_core install_core --prefix=/usr
;; ;;
*) *)
echo "unknown os ${os} cannot install" echo "unknown os ${os} cannot install"