mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-30 02:50:29 +08:00
install column; apt -> apt-get
This commit is contained in:
parent
ddab8bf485
commit
8b8336e2a3
@ -34,18 +34,18 @@ install_dependencies()
|
|||||||
case $(get_linux_dist) in
|
case $(get_linux_dist) in
|
||||||
"ubuntu"|"debian" )
|
"ubuntu"|"debian" )
|
||||||
$SUDO apt-get update
|
$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" )
|
"alpine" )
|
||||||
$SUDO apk update
|
$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)"
|
* ) fmt_error "dfs auto-install is not implemented on linux distribution: $(get_linux_dist)"
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"macos" )
|
"macos" )
|
||||||
$SUDO brew update
|
$SUDO brew update
|
||||||
$SUDO brew install git python3 zsh curl tmux vim
|
$SUDO brew install git python3 zsh curl tmux vim util-linux
|
||||||
;;
|
;;
|
||||||
"msys" )
|
"msys" )
|
||||||
pacman -Syu
|
pacman -Syu
|
||||||
|
@ -13,12 +13,12 @@ set_mirror()
|
|||||||
apt_install()
|
apt_install()
|
||||||
{
|
{
|
||||||
# basic packages
|
# basic packages
|
||||||
apt update
|
apt-get update
|
||||||
for i in {man-db,vim,ca-certificates}; do apt install $i -y; done
|
for i in {man-db,vim,ca-certificates}; do apt-get install $i -y; done
|
||||||
|
|
||||||
# mass installation
|
# 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
|
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 install $i -y; done
|
for i in {fzf,ripgrep}; do apt-get install $i -y; done
|
||||||
}
|
}
|
||||||
|
|
||||||
set_timezone()
|
set_timezone()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user