INNER CODE UNIT · Vim script
install_prepare_software_on_alpine
chxuan/vimplus · install.sh:307
function install_prepare_software_on_alpine()
{
sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories
version=$(get_alpine_version)
apk update
apk add python3 python3-dev ruby ruby-dev lua lua-dev luajit luajit-dev ctags tcl tcl-dev perl perl-dev libx11 libx11-dev ncurses ncurses-dev g++ gcc make automake cmake fontconfig fontconfig-dev nerd-fonts gcompat clang clang-dev vim
}
# 安装ubuntu必备软件
function install_prepare_software_on_ubuntu()
{
sudo apt-get update
version=$(get_ubuntu_version)
if [ $version -eq 14 ];then