我正在尝试在Debian 9上安装steamcmd。我相信它是这个软件包:https ://packages.debian.org/stretch/steamcmd
但是,使用“ apt-get install”时出现“找不到软件包”错误,因为我需要添加非自由存储库。我尝试在存储库文件的每一行中添加“非自由”,我尝试添加在互联网上找到的新文件,但没有任何效果,再加上我在很多地方都发现了steamcmd,我不知道一个人是否比另一个更好是官方的,例如,例如,我什至不确定它们是否相同:
https : //launchpad.net/debian/+source/steamcmd/0~20130205-1
https://launchpad.net/debian / +来源/ steamcmd
谁能告诉我在apt-get信息库中获取此信息以便我可以安装它吗?
您应该将non-free
组件添加到您的sources.list
编辑您的sources.list
sudo apt edit-sources
如下:
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
保存然后运行:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install steamcmd
检查包装:
$ apt-cache search steamcmd
steamcmd - Command-line interface for Valve's Steam
$apt-cache policy steamcmd
steamcmd:i386:
Installé : (aucun)
Candidat : 0~20130205-1
Table de version :
0~20130205-1 500
500 http://deb.debian.org/debian stretch/non-free i386 Packages
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句