内容目录
问题
一个法国留学生,学校一台ubuntu18.04要安装unityhub+unity
安装一直提示
/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found
root@ubuntu:~# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853
Executing: /tmp/apt-key-gpghome.OXSaRjhblA/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853
gpg: keyserver receive failed: End of file
安装libc6
sudo su -c 'echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list' root
sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853
apt update
#出现弹窗选yes回车
sudo apt install libc6-dev
有GLIBC_2.28了
root@ubuntu:~# strings /lib/x86_64-linux-gnu/libc.so.6 | grep GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_PRIVATE
下载安装unityhub
1.unity.cn下载deb安装
https://unity.cn/release
点击图标启动
2. 添加unity源安装
https://docs.unity3d.com/hub/manual/InstallHub.html
wget -qO - https://hub.unity3d.com/linux/keys/public | gpg --dearmor | sudo tee /usr/share/keyrings/Unity_Technologies_ApS.gpg > /dev/null
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/Unity_Technologies_ApS.gpg] https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
sudo apt update
sudo apt-get install unityhub
点击图标启动
3. Appimage安装
所有平台下载地址
https://discussions.unity.com/t/unity-hub-v2-0-0-release/743151/1
linux下载地址
https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage
wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage
#非root用户启动才行
chmod +x UnityHub.AppImage
./UnityHub.AppImage
近期评论