-2

I am trying to auto accept in an unattended manner, the STEAMCMD package EULA

As per the following previous answer on this topic

The best way should be to first get the question and answers using

debconf-show steam

which should output

* steam/question: I AGREE
* steam/license:
* steam/purge:

And then using debconf-set-selections

echo steam steam/license note '' | sudo debconf-set-selections
echo steam steam/question select "I AGREE" | sudo debconf-set-selections

However, it appears this no longer works, example

show console commands above being executed, with no outputs

I have also tried the debconf-set-selections commands above, to no effect

How to install steamcmd in a fully unattended manner ?

muru
  • 207,228
Shodan
  • 130

1 Answers1

0

After a fresh install I have found out why debcon-show had no output

It will not show until you run apt update after adding the non-free repo

The following commands will install steamcmd without interactive interruption. On a fresh debian 12-based distro.

echo deb http://deb.debian.org/debian/ bookworm non-free >> /etc/apt/sources.list
dpkg --add-architecture i386
echo steam steam/license note '' | debconf-set-selections
echo steam steam/question select "I AGREE" | debconf-set-selections
apt update
apt install steamcmd -y
Shodan
  • 130