Ubuntu 18.04 LTS 安装 GLIBC_2.28(APT方法)

# 查看版本,若有:GLIBC_2.28 就不需要在安装了
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_

# 添加软件源
sudo su -c 'echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list' root

# 增加密钥
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853

# 更新库列表
sudo apt update -y

# 安装或更新库
sudo apt install libc6 libc6-dev -y


# 重新查看版本,若有:GLIB_2.28 就成功了。
strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_2.28

猜你喜欢

转载自blog.csdn.net/liulilittle/article/details/141440926