当前位置:   article > 正文

Debian 安装steam client记录_debian12 安装steam

debian12 安装steam

1.下载steam安装https://store.steampowered.com/about/

  1. sudo dpkg -i steam_latest.deb
  2. Selecting previously unselected package steam-launcher.
  3. (Reading database ... 202509 files and directories currently installed.)
  4. Preparing to unpack steam_latest.deb ...
  5. Unpacking steam-launcher (1.0.0.61) ...
  6. dpkg: dependency problems prevent configuration of steam-launcher:
  7. steam-launcher depends on python-apt; however:
  8. Package python-apt is not installed.
  9. dpkg: error processing package steam-launcher (--install):
  10. dependency problems - leaving unconfigured
  11. Processing triggers for desktop-file-utils (0.23-1) ...
  12. Processing triggers for mime-support (3.60) ...
  13. Processing triggers for hicolor-icon-theme (0.15-1) ...
  14. Processing triggers for man-db (2.7.6.1-2) ...
  15. 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位???)

  1. sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 libGL.so.1
  2. sudo ln -s /usr/lib/x86_64-linux-gnu/libdrm.so.2 libdrm.so.2
  3. #试试链接64位的无效

6.解压NVIDIA官方驱动,发现里面包含了32位的驱动,可能安装的时候没有添加32位架构,没有安装;退出图形xserver,重新运行安装run文件,安装兼容32的驱动(有提示选择是否安装)

  1. # dpkg --add-architecture i386
  2. # apt update
  3. # sudo init 3
  4. #ctrl+alt+F1
  5. # sh nvidia...run

7.重启后/usr/lib/i386-linux-gnu/里有了32位驱动LibGL.so,但还是没有libdrm.so,安装libdrm2:i386

  1. neil@debian99:~/Desktop$ sudo apt-get install libdrm2:i386
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following NEW packages will be installed:
  6. libdrm2:i386
  7. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  8. Need to get 0 B/38.8 kB of archives.
  9. After this operation, 111 kB of additional disk space will be used.
  10. Selecting previously unselected package libdrm2:i386.
  11. (Reading database ... 202585 files and directories currently installed.)
  12. Preparing to unpack .../libdrm2_2.4.74-1_i386.deb ...
  13. Unpacking libdrm2:i386 (2.4.74-1) ...
  14. Setting up libdrm2:i386 (2.4.74-1) ...
  15. Processing triggers for libc-bin (2.24-11+deb9u4) ...

可以看到libdrm.so和libGL.so都有了,运行steam,成功,Dota2正常运行。

8.在线更新后,启动会报一大堆错,并且右下角右键退出不可用,主要是steam是32位程序,需要安装一大堆i386库:

  1. #Gtk-Message: Failed to load module "gail"
  2. #Gtk-Message: Failed to load module "atk-bridge"
  3. sudo apt-get install libatk-adaptor:i386 libgail-common:i386
  4. #GTK theme error: Unable to locate theme engine in module_path: "pixmap"
  5. sudo apt-get install gtk2-engines-pixbuf:i386
  6. #Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita"
  7. sudo apt-get install gnome-themes-standard(安装主题,可以不安装吧)

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/164899
推荐阅读
相关标签
  

闽ICP备14008679号