diff --git a/install.sh b/install.sh index c20add2..9f354a3 100755 --- a/install.sh +++ b/install.sh @@ -34,18 +34,18 @@ install_dependencies() case $(get_linux_dist) in "ubuntu"|"debian" ) $SUDO apt-get update - $SUDO apt-get install -y git zsh bash tmux vim python3 python3-pip curl inetutils-ping cmake less + $SUDO apt-get install -y git zsh bash tmux vim python3 python3-pip curl inetutils-ping cmake less bsdmainutils ;; "alpine" ) $SUDO apk update - $SUDO apk add zsh bash git tmux vim curl python3 py3-pip fzf iputils coreutils + $SUDO apk add zsh bash git tmux vim curl python3 py3-pip fzf iputils coreutils util-linux ;; * ) fmt_error "dfs auto-install is not implemented on linux distribution: $(get_linux_dist)" esac ;; "macos" ) $SUDO brew update - $SUDO brew install git python3 zsh curl tmux vim + $SUDO brew install git python3 zsh curl tmux vim util-linux ;; "msys" ) pacman -Syu diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index d15fbf8..c9309f9 100755 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -13,12 +13,12 @@ set_mirror() apt_install() { # basic packages - apt update - for i in {man-db,vim,ca-certificates}; do apt install $i -y; done + apt-get update + for i in {man-db,vim,ca-certificates}; do apt-get install $i -y; done # mass installation - apt install git tmux zsh curl wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron inetutils-ping openssh-client openssh-server htop gcc g++ cmake make zip less - for i in {fzf,ripgrep}; do apt install $i -y; done + apt-get install git tmux zsh curl wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron inetutils-ping openssh-client openssh-server htop gcc g++ cmake make zip less bsdmainutils + for i in {fzf,ripgrep}; do apt-get install $i -y; done } set_timezone()