如何在Ubuntu 18.04,18.10中通过PPA安装Mesa 18.2.8
2019/01/13 19:20:40 来源:Linux公社 作者:醉落红尘

最新的Mesa图形驱动程序18.2.8最终可以通过Ubuntu-X PPA安装在Ubuntu 18.04和Ubuntu 18.10中。

如何在Ubuntu 18.04,18.10中通过PPA安装Mesa 18.2.8

Mesa 18.2.8两周前发布了,有以下变化:

对于坚持使用开源RadeonSI/RADV/Intel/Nouveau驱动程序并希望享受一些Linux游戏的用户,您可以按照以下步骤在Ubuntu 18.04和/或Ubuntu 18.10中安装Mesa 18.2.8:

1.通过Ctrl + Alt + T键盘快捷键或从软件启动器打开终端。 打开时,运行命令:

linuxidc@linuxidc:~/www.linuxidc.com$ sudo add-apt-repository ppa:ubuntu-x-swat/updates
[sudo] linuxidc 的密码:
 Updated versions of X.org drivers, libraries, etc. for Ubuntu.

This PPA is for stable upstream releases of X.org components. If you're looking for something even more bleeding-edge, please see the xorg-edgers PPA.

While Ubuntu does not "officially/formally" support these packages, if you discover problems when installing these debs please feel free to report bugs to launchpad. However, please make sure to clearly state that you are running packages from this PPA so we know the fixes need to come here.

If you are upgrading from one release to another with this PPA activated, please install the ppa-purge package and use it to downgrade everything in here beforehand. sudo ppa-purge ppa:ubuntu-x-swat/updates will do it.

[Directions for packaging drivers can be seen at https://wiki.ubuntu.com/X/DriverBuilding]
 更多信息: https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates
按 [ENTER] 继续或 Ctrl-c 取消安装。

提示时键入用户密码(无星号反馈),然后按Enter键继续。

如何在Ubuntu 18.04,18.10中通过PPA安装Mesa 18.2.8

2.添加PPA后,通过命令进行系统更新:

linuxidc@linuxidc:~/www.linuxidc.com$ sudo apt-get dist-upgrade

如何在Ubuntu 18.04,18.10中通过PPA安装Mesa 18.2.8

在Ubuntu 18.04中不再需要apt-get update,因为添加PPA会自动刷新系统存储库。

3.最后通过命令检查驱动程序版本:

linuxidc@linuxidc:~/www.linuxidc.com$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.1 Mesa 18.2.8

卸载:

要恢复更改并降级到Ubuntu 18.04中提供的默认驱动,请运行命令:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

更多Ubuntu相关信息见Ubuntu 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=2

Linux公社的RSS地址https://www.linuxidc.com/rssFeed.aspx

本文永久更新链接地址https://www.linuxidc.com/Linux/2019-01/156338.htm


5

本栏最新