Debian 9 Stretchにsteamcmdをインストールする

Debian 9 Stretchにsteamcmdをインストールする

Debian 9にsteamcmdをインストールしようとしています。私はこれがこのパッケージだと思います。 https://packages.debian.org/stretch/steamcmd

ただし、無料でないリポジトリを追加する必要があるため、「apt-get install」を使用すると「パッケージが見つかりません」というエラーが発生します。リポジトリファイルのすべての行に「non-free」を追加してみましたが、インターネット上で見つけた新しいファイルを追加してみましたが、何も機能しませんでした。そしていくつかの場所でsteamcmdを見つけましたが、うまくいきません。 1つを他のものよりよく知っているか、どちらが良いかは正式です。たとえば、どちらも同じであるかどうかはわかりません。
https://launchpad.net/debian/+source/steamcmd/0~20130205-1
https://launchpad.net/debian/+source/steamcmd

誰もがこれをインストールできるようにapt-getリポジトリに置くのを助けることができますか?

ベストアンサー1

non-freeこのコンポーネント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

おすすめ記事