Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-loui committed Jun 16, 2023
1 parent 24677bb commit e1d2f24
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,21 @@ echo this script will install freeRtr dependencies on your computer.
echo WARNING: this can alter your current network settings!
echo prerequisites: minimal debian sid and root rights.

installPackage()
{
echo ""
echo ""
echo ""
echo ""
echo --------------------------------------------- installing $1...
apt-get -f -y install --no-install-recommends $1
}

export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get -f -y dist-upgrade

apt install -f -y ca-certificates-java

PKG_LIST="apt-utils default-jre-headless socat ethtool iproute2 net-tools procps \
libpcap-dev openssl libssl-dev libbpf-dev bpftool \
zip unzip wget psmisc busybox \
telnet tshark nmap iperf vim"

apt-get -f -y install $PKG_LIST
apt-get -f -y --no-install-recommends install $PKG_LIST

for PKG in apparmor cloudinit; do
echo ""
Expand Down

0 comments on commit e1d2f24

Please sign in to comment.