Alpine Linux 查看发行版本

Linux Alpine Linux About 376 words

需求

根据Alpine Linux的版本,查找对应依赖的版本。

https://pkgs.alpinelinux.org/packages

方法一

cat /etc/os-release

输出

/ # cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.0
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

方法二

cat /etc/alpine-release

输出

/ # cat /etc/alpine-release
3.17.0
Views: 1,475 · Posted: 2023-09-05

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh