赞
踩
1.下载steam安装https://store.steampowered.com/about/
- sudo dpkg -i steam_latest.deb
-
- Selecting previously unselected package steam-launcher.
- (Reading database ... 202509 files and directories currently installed.)
- Preparing to unpack steam_latest.deb ...
- Unpacking steam-launcher (1.0.0.61) ...
- dpkg: dependency problems prevent configuration of steam-launcher:
- steam-launcher depends on python-apt; however:
- Package python-apt is not installed.
-
- dpkg: error processing package steam-launcher (--install):
- dependency problems - leaving unconfigured
- Processing triggers for desktop-file-utils (0.23-1) ...
- Processing triggers for mime-support (3.60) ...
- Processing triggers for hicolor-icon-theme (0.15-1) ...
- Processing triggers for man-db (2.7.6.1-2) ...
- Errors were encountered while processing:
2.提示python-apt未安装;执行apt修复broken,自动安装
sudo apt-get install -f
3.运行,提示缺少32位的库
4.安装sudo apt-get install libgl1-mesa-glx:i386;提示libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast
5.我debian安装了nvidia最新的驱动430.14;没有32位libGL。安装mesa的似乎没用;参考https://wiki.debian.org/Steam
需要安装libgl1-nvidia-glx:i386(添加“non-free”至apt sources),但这个会覆盖最新的nvidia驱动;放弃。
(Nvidia驱动里有32位libGL或者steam只运行64位???)
- sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 libGL.so.1
- sudo ln -s /usr/lib/x86_64-linux-gnu/libdrm.so.2 libdrm.so.2
- #试试链接64位的无效
6.解压NVIDIA官方驱动,发现里面包含了32位的驱动,可能安装的时候没有添加32位架构,没有安装;退出图形xserver,重新运行安装run文件,安装兼容32的驱动(有提示选择是否安装)
- # dpkg --add-architecture i386
- # apt update
- # sudo init 3
- #ctrl+alt+F1
- # sh nvidia...run
7.重启后/usr/lib/i386-linux-gnu/里有了32位驱动LibGL.so,但还是没有libdrm.so,安装libdrm2:i386
- neil@debian99:~/Desktop$ sudo apt-get install libdrm2:i386
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- libdrm2:i386
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 0 B/38.8 kB of archives.
- After this operation, 111 kB of additional disk space will be used.
- Selecting previously unselected package libdrm2:i386.
- (Reading database ... 202585 files and directories currently installed.)
- Preparing to unpack .../libdrm2_2.4.74-1_i386.deb ...
- Unpacking libdrm2:i386 (2.4.74-1) ...
- Setting up libdrm2:i386 (2.4.74-1) ...
- Processing triggers for libc-bin (2.24-11+deb9u4) ...
可以看到libdrm.so和libGL.so都有了,运行steam,成功,Dota2正常运行。
8.在线更新后,启动会报一大堆错,并且右下角右键退出不可用,主要是steam是32位程序,需要安装一大堆i386库:
- #Gtk-Message: Failed to load module "gail"
- #Gtk-Message: Failed to load module "atk-bridge"
- sudo apt-get install libatk-adaptor:i386 libgail-common:i386
-
- #GTK theme error: Unable to locate theme engine in module_path: "pixmap"
- sudo apt-get install gtk2-engines-pixbuf:i386
-
- #Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita"
- sudo apt-get install gnome-themes-standard(安装主题,可以不安装吧)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。