SteamCMD on Debian: Difference between revisions

From munkjensen.net/wiki
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Apple]][[Category:Gaming]][[Category:Debian]][[Category:SteamServer]]I wanted to install [https://www.valheimgame.com/ Valheim] on my Mac Minibian but ran into problems.
[[Category:Gaming]][[Category:Debian]][[Category:SteamServer]]I wanted to install [https://www.valheimgame.com/ Valheim] on my Mac Minibian* but ran into problems. This page is my notes on what I did to (hopefully) get it up and running.
 
This page is my notes on what I did to (hopefully) get it up and running.


<small><small>&#42; Mac Mini desktop computer running Debian that i have no other use for at this time ;-)</small></small>
== Rescources ==
== Rescources ==
* https://developer.valvesoftware.com/wiki/SteamCMD
* https://developer.valvesoftware.com/wiki/SteamCMD
* https://linuxgsm.com/lgsm/vhserver/
* https://linuxgsm.com/lgsm/vhserver/
Line 11: Line 9:
# [https://docs.linuxgsm.com/requirements/gamedig GameDig] requires [https://nodejs.org/ Node.js] a JavaScript runtime environment installed to work. Use [https://github.com/nodesource/distributions#debinstall these instructions] to install Node.js in the latest version.
# [https://docs.linuxgsm.com/requirements/gamedig GameDig] requires [https://nodejs.org/ Node.js] a JavaScript runtime environment installed to work. Use [https://github.com/nodesource/distributions#debinstall these instructions] to install Node.js in the latest version.
# Once Node.js is installed use npm to install gamedig as root with this command; ''npm install gamedig -g''
# Once Node.js is installed use npm to install gamedig as root with this command; ''npm install gamedig -g''
# Install the requirements as root;
## ''dpkg --add-architecture i386; apt update; apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd libsdl2-2.0-0:i386''
# Download LinuxGSM install script and configure it for Valheim server; ''<nowiki>wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver</nowiki>''
# Download LinuxGSM install script and configure it for Valheim server; ''<nowiki>wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver</nowiki>''
# Run the installer and follow the on-screen instructions; ''./vhserver install''
# Run the installer and follow the on-screen instructions; ''./vhserver install''
== Problems ==
<pre>apt search lib32gcc1
Sorting... Done
Full Text Search... Done
lib32gcc1-amd64-cross/stable 1:8.3.0-2cross1 all
  GCC support library (32 bit Version)
### CUT ###
lib32gcc1-x32-cross/stable 1:8.3.0-2cross2 all
  GCC support library (32 bit Version)</pre>
'''and'''
<pre>apt search lib32stdc++
Sorting... Done
Full Text Search... Done
lib32stdc++-8-dev-amd64-cross/stable 8.3.0-2cross1 all
  GNU Standard C++ Library v3 (development files) (amd64)
### CUT ###
lib32stdc++6-amd64-cross/stable 8.3.0-2cross1 all
  GNU Standard C++ Library v3 (32 bit Version)</pre>
reveals that there is '''no package''' with the excact name ''lib32gcc1'' nor ''lib32stdc++6''
I installed ''lib32gcc1-amd64-cross'' and ''lib32stdc++6-amd64-cross'' and tried to continue with the Valheim install. It is [https://linuxgsm.com/lgsm/vhserver/#v-pills-dependencies stated] that running <pre>sudo ./vhserver install</pre> should install missing dependencies - but it does not know the new package names so i cried for help in the [https://discord.com/channels/127498813903601664/135126471319617536/812275322967818300 linuxGSM support discord channel] and made a new issue at [https://github.com/GameServerManagers/LinuxGSM/issues/3284 github].

Latest revision as of 10:52, 7 April 2021

I wanted to install Valheim on my Mac Minibian* but ran into problems. This page is my notes on what I did to (hopefully) get it up and running.

* Mac Mini desktop computer running Debian that i have no other use for at this time ;-)

Rescources

My installation steps

  1. GameDig requires Node.js a JavaScript runtime environment installed to work. Use these instructions to install Node.js in the latest version.
  2. Once Node.js is installed use npm to install gamedig as root with this command; npm install gamedig -g
  3. Install the requirements as root;
    1. dpkg --add-architecture i386; apt update; apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd libsdl2-2.0-0:i386
  4. Download LinuxGSM install script and configure it for Valheim server; wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver
  5. Run the installer and follow the on-screen instructions; ./vhserver install