如何给Alpine Linux安装curl

/etc # cat *release
3.10.5
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.10.5
PRETTY_NAME="Alpine Linux v3.10"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
/etc # 
给alpine安装curl  

1.设置国内镜像源

 

 sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories


2.安装curl

apk add curl

 

你可能感兴趣的:(linux)