Package Details: steamcmd latest-3

Git Clone URL: https://aur.archlinux.org/steamcmd.git (read-only)
Package Base: steamcmd
Description: Steam Command Line Tools
Upstream URL: http://developer.valvesoftware.com/wiki/SteamCMD
Keywords: download games network server steam
Licenses: custom
Submitter: markzz
Maintainer: markzz
Last Packager: markzz
Votes: 93
Popularity: 3.65
First Submitted: 2014-01-01 02:21
Last Updated: 2019-03-24 20:06

Pinned Comments

markzz commented on 2017-10-27 15:48

Please read the note on the Wiki before using this PKGBUILD: https://wiki.archlinux.org/index.php/Steam#SteamCMD

Latest Comments

1 2 3 4 5 6 Next › Last »

moll commented on 2019-08-06 15:16

lhark:

In the steamcmd script, you must quote the "$@", or else arguments with spaces in their names will get split a second time.

markzz:

Seeing as that script was taken with little modifications from Debian, I will leave it as is.

Nah, this is definitely a bug in the script. $@ must be quoted or arguments are not properly passed on.

You can see this yourself in a tiny example:

#!/bin/sh
cat $@
$ ./foo.sh "1 2"
cat: 1: No such file or directory
cat: 2: No such file or directory

This would be the fix:

diff --git a/PKGBUILD b/PKGBUILD
index ac36b24..e8c9446 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ license=('custom')
 url=http://developer.valvesoftware.com/wiki/SteamCMD
 source=(https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz steamcmd)
 md5sums=('70a38a1c8688d170c48b7f4990782c7a'
-         '5de1fddd114f10ff5d2a8fbeee044a8f')
+         '116e6dc3d17a90ca4372235fa575263e')
 install='steamcmd.install'
 depends_x86_64=('lib32-gcc-libs')

diff --git a/steamcmd b/steamcmd
index 22a942c..ca2c1e8 100755
--- a/steamcmd
+++ b/steamcmd
@@ -21,4 +21,4 @@ then
     cp /usr/share/steamcmd/steamcmd.sh ~/.steam/steamcmd/steamcmd.sh
     cp /usr/share/steamcmd/linux32/steamcmd ~/.steam/steamcmd/linux32/steamcmd
 fi
-exec ~/.steam/steamcmd/steamcmd.sh $@
+exec ~/.steam/steamcmd/steamcmd.sh "$@"

finesse commented on 2019-06-20 01:25

Can anyone else confirm that upgrading to kernel 5.1.11 breaks steamcmd? I keep getting time outs when trying to retrieve data. Downgrading kernel fixed it for me.

markzz commented on 2019-04-28 03:10

Seeing as that script was taken with little modifications from Debian, I will leave it as is.

lhark commented on 2019-04-28 03:06

In the steamcmd script, you must quote the "$@", or else arguments with spaces in their names will get split a second time.

markzz commented on 2019-03-14 19:38

Nukesor: I will get this updated and I will model this package after the one in Debian's repositories to not interfere with a possible steam desktop install.

Nukesor commented on 2019-03-04 13:59

The download link is obsolete. There is a new one from the official docs:}

curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz"

https://developer.valvesoftware.com/wiki/SteamCMD#Linux

Please fix this one :) Otherwise the current version needs root access to update itself and can't be executed by an unprivileged user.

markzz commented on 2018-10-12 16:20

eimis: Your initial run of steamcmd needs to be ran as root to update steamcmd itself. Once this is done, you can run it as a non-root user to install the application you want with it.

eimis commented on 2018-10-12 15:49

Debian managed to package this properly - works fine on non privileged user. Works fine after chowning -R user.users the staemcmd dir.

Freso commented on 2018-02-05 12:04

Wouldn't it be possible to make a "steam" or "steamcmd" Unix group (or maybe even user as Valve suggests: https://developer.valvesoftware.com/wiki/SteamCMD#Linux ) and give that permissions instead of having to run as root?

markzz commented on 2017-10-27 15:48

Please read the note on the Wiki before using this PKGBUILD: https://wiki.archlinux.org/index.php/Steam#SteamCMD