yum list --showduplicates | grep ${soft-name}
yum install -y ${soft-name}-${version}
yum install --nogpgcheck ${soft-name}
apt list --installed
apt-cache madison ${soft-name}
apt-get install -y ${soft-name}=${version}
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${key-name}
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
必装工具
brew install wget
brew install ccat
brew install htop
brew install node
brew install mysql-client
brew install libpq
brew tap ringohub/redis-cli; brew install redis-cli
安装历史版本
brew search {$name}
brew install {$name}@{$version}
pkg update -f
pkg install <pkg-name>