1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
package_manager=pkg upgrade() { sudo "$package_manager" upgrade -y } install() { (($#)) || return 0 sudo "$package_manager" install -y "$@" } packages=( pciutils jq gdb fio p5-extutils-pkgconfig libtool flex bison gdisk socat sshpass py37-pandas wget )