[GH-ISSUE #2819] steamcmd not in repo for Ubuntu 14.04 #2029

Closed
opened 2026-02-27 03:00:26 +03:00 by kerem · 11 comments
Owner

Originally created by @dvdvideo1234 on GitHub (Apr 12, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2819

Issues raised here are ONLY for:

  • LinuxGSM bugs.
  • Feature suggestions.

User Story

I tried installing a linux server for classic CS1.6 and it says SteamCMD is still missing
During the installation i was missing jq, netcat, and steamcmd shown in red under

Checking Dependencies
=================================

I cancelled the server installation and installed these manually, however steamcmd was not located
even I put it in LinuxGSM/steamcmd. It just shows that there is no such dependency present:

Server:/var/Volume00/LinuxGSM$ sudo apt-get install steamcmd
[sudo] password for XXXX: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package steamcmd

Basic info

  • Distro: [Ubuntu 14.04]
  • Game: [Counter strike 1.6]
  • LinuxGSM version:
Server:/var/Volume00/LinuxGSM$ git  log -1 --pretty
commit 9e5377086bbbb0bc065c5a8990b25c3d472c1d20
Merge: 3ae32af 0257457
Author: Daniel Gibbs <me@danielgibbs.co.uk>
Date:   Tue Mar 24 22:49:08 2020 +0000

    Merge branch 'hotfix/v20.1.5'

Further Information

The server manager better use curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

To Reproduce

Steps to reproduce the behaviour:

  1. Clone LinuxGSM in a folder
  2. Execute Server:/var/Volume00/LinuxGSM$ ./linuxgsm.sh install csserver
  3. Select CS1.6
  4. Executable created ./csserver
  5. Execute Server:/var/Volume00/LinuxGSM$ ./csserver install
  6. Installed SteamCMD is not present
  7. Start the server...
Server:/var/Volume00/LinuxGSM$ ./csserver start
Warning! Missing dependencies: steamcmd
Information! Automatically installing missing dependencies.

Expected behaviour

When SteamCMD is curl-ed and extracted in the steamcmd folder to pass its dependency as green.

Originally created by @dvdvideo1234 on GitHub (Apr 12, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2819 Issues raised here are **ONLY** for: * LinuxGSM bugs. * Feature suggestions. ## User Story I tried installing a linux server for classic CS1.6 and it says `SteamCMD` is still missing During the installation i was missing `jq`, `netcat`, and `steamcmd` shown in red under ```sql Checking Dependencies ================================= ``` I cancelled the server installation and installed these manually, however `steamcmd` was not located even I put it in `LinuxGSM/steamcmd`. It just shows that there is no such dependency present: ``` Server:/var/Volume00/LinuxGSM$ sudo apt-get install steamcmd [sudo] password for XXXX: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package steamcmd ``` ## Basic info * **Distro:** [Ubuntu 14.04] * **Game:** [Counter strike 1.6] * **LinuxGSM version:** ``` Server:/var/Volume00/LinuxGSM$ git log -1 --pretty commit 9e5377086bbbb0bc065c5a8990b25c3d472c1d20 Merge: 3ae32af 0257457 Author: Daniel Gibbs <me@danielgibbs.co.uk> Date: Tue Mar 24 22:49:08 2020 +0000 Merge branch 'hotfix/v20.1.5' ``` ## Further Information The server manager better use `curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -` ## To Reproduce Steps to reproduce the behaviour: 1. Clone `LinuxGSM` in a folder 2. Execute `Server:/var/Volume00/LinuxGSM$ ./linuxgsm.sh install csserver` 3. Select CS1.6 4. Executable created `./csserver` 5. Execute `Server:/var/Volume00/LinuxGSM$ ./csserver install` 6. Installed `SteamCMD` is not present 7. Start the server... ``` Server:/var/Volume00/LinuxGSM$ ./csserver start Warning! Missing dependencies: steamcmd Information! Automatically installing missing dependencies. ``` ## Expected behaviour When `SteamCMD` is `curl`-ed and extracted in the `steamcmd` folder to pass its dependency as green.
Author
Owner

@gOOvER commented on GitHub (Apr 12, 2020):

Use a newer Ubuntu like 18.04 ;)

<!-- gh-comment-id:612647195 --> @gOOvER commented on GitHub (Apr 12, 2020): Use a newer Ubuntu like 18.04 ;)
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 12, 2020):

UBUNTU 14.04 is since 1 year EOL ;) Use a newer Version and try again

No, because ;)

  1. No need to change the distro version with an update when it is already working on prod ( the server also runs other remote service applications )
  2. The board is designed to work with Ubuntu 12.
  3. This is remote machine and maintenance requires me going out during coronavirus epidemic
  4. Any major update has potentially catastrophic outcome which will require me going out.
  5. Valve have already defined the way of installing steamcmd using curl and tar commands.
  6. There is really no point of invoking sudo apt-get install steamcmd as they do not support only this way of installation.
  7. To me LinuxGSM must check the steamcmd folder if there is available installation whensudo apt-get install steamcmd is not available and being used automatically
  8. There must always be a manual interaction available for installing dependencies
<!-- gh-comment-id:612648703 --> @dvdvideo1234 commented on GitHub (Apr 12, 2020): > UBUNTU 14.04 is since 1 year EOL ;) Use a newer Version and try again No, because ;) 1. No need to change the distro version with an update when it is already working on `prod` ( the server also runs other remote service applications ) 2. [The board][ref-2] is designed to work with Ubuntu 12. 3. This is remote machine and maintenance requires me going out during coronavirus epidemic 4. Any major update has potentially catastrophic outcome which will require me going out. 5. Valve have already defined the way of installing `steamcmd` using [curl and tar commands][ref-1]. 6. There is really no point of invoking `sudo apt-get install steamcmd` as they do not support only this way of installation. 7. To me `LinuxGSM` must check the `steamcmd` folder if there is available installation when`sudo apt-get install steamcmd` is not available and being used automatically 8. There must always be a [manual interaction][ref-3] available for installing dependencies [ref-1]: https://developer.valvesoftware.com/wiki/SteamCMD#Linux [ref-2]: https://www.asrockrack.com/general/productdetail.asp?Model=C2750D4I#Specifications [ref-3]: https://developer.valvesoftware.com/wiki/SteamCMD#Manually
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 12, 2020):

I can do the manual steps of sudo apt-get install steamcmd, will evaluate to copying this into /etc, but I do not think this is the point here as it beter use the local installation /steamcmd folder.

<!-- gh-comment-id:612650294 --> @dvdvideo1234 commented on GitHub (Apr 12, 2020): I can do the manual steps of `sudo apt-get install steamcmd`, will evaluate to copying this into `/etc`, but I do not think this is the point here as it beter use the local installation `/steamcmd` folder.
Author
Owner

@dgibbs64 commented on GitHub (Apr 12, 2020):

  1. You shouldn't be using unsupported distros because of security risks. Plus if Canonical isn't supporting it then I'm not sure why I should.
  2. It is unlikely that you will have an issue upgrading because of a motherboard.
  3. Do you not have some sort of KVM access? Its pretty standard for remote servers.
  4. same as above
  5. I wrote most of the instructions on the SteamCMD wiki page.
  6. I have decided to start using the packages if they are available.
  7. If the server is not Ubuntu or Debian then it will use curl.

I had waited several years before using the steamcmd packages to ensure that the package we're available on all supported Ubuntu versions before deciding to use them. I did not anticipate people still using unsupported distros (14.04 has been out of support for a year at this point) especially since game servers regularly use the latest software.

What I will do is add a bypass for 14.04 so it will not look for the steamcmd package and instead, it will use the curl version. It will be ready for release 20.2.0. I do however highly recommend you upgrade at the next available opportunity.

<!-- gh-comment-id:612670505 --> @dgibbs64 commented on GitHub (Apr 12, 2020): 1. You shouldn't be using unsupported distros because of security risks. Plus if Canonical isn't supporting it then I'm not sure why I should. 2. It is unlikely that you will have an issue upgrading because of a motherboard. 3. Do you not have some sort of KVM access? Its pretty standard for remote servers. 4. same as above 5. I wrote most of the instructions on the SteamCMD wiki page. 6. I have decided to start using the packages if they are available. 7. If the server is not Ubuntu or Debian then it will use curl. I had waited several years before using the steamcmd packages to ensure that the package we're available on all supported Ubuntu versions before deciding to use them. I did not anticipate people still using unsupported distros (14.04 has been out of support for a year at this point) especially since game servers regularly use the latest software. What I will do is add a bypass for 14.04 so it will not look for the steamcmd package and instead, it will use the curl version. It will be ready for release 20.2.0. I do however highly recommend you upgrade at the next available opportunity.
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 15, 2020):

Thank you!

It passes now !

<!-- gh-comment-id:614201406 --> @dvdvideo1234 commented on GitHub (Apr 15, 2020): Thank you! It passes now !
Author
Owner

@dgibbs64 commented on GitHub (Apr 15, 2020):

It shouldn't as I haven't released the update to the master branch yet 😬

<!-- gh-comment-id:614245360 --> @dgibbs64 commented on GitHub (Apr 15, 2020): It shouldn't as I haven't released the update to the master branch yet 😬
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 15, 2020):

It shouldn't as I haven't released the update to the master branch yet

Your change persist here which is made in the develop branch :) I switched my repo to the DEV branch an voila ;) it works. Thank you very much ;) You can close the issue if you like ;)

image

<!-- gh-comment-id:614267906 --> @dvdvideo1234 commented on GitHub (Apr 15, 2020): > It shouldn't as I haven't released the update to the master branch yet Your change persist [here](https://github.com/GameServerManagers/LinuxGSM/commit/b30b36fd6df919c7815deca8a01bd47289838fb6) which is made in the [develop branch](https://github.com/GameServerManagers/LinuxGSM/tree/develop) :) I switched my repo to the DEV branch an voila ;) it works. Thank you very much ;) You can close the issue if you like ;) ![image](https://user-images.githubusercontent.com/9112662/79386189-74c09980-7f72-11ea-9c69-e620e52c53fd.png)
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 15, 2020):

Yes, I will likely upgrade it to Ubuntu 18.04, will just wait for the corona virus to pass out. :)

<!-- gh-comment-id:614274878 --> @dvdvideo1234 commented on GitHub (Apr 15, 2020): Yes, I will likely upgrade it to Ubuntu 18.04, will just wait for the corona virus to pass out. :)
Author
Owner

@dvdvideo1234 commented on GitHub (Apr 16, 2020):

@dgibbs64 @gOOvER

I wonder though. Is it better for ${distroversion} to compare to some known threshold rather than 14.04 like ...

distroversion="14.04"

maj=$(echo "$distroversion" | grep -oE "^[+-]?[0-9]+")
min=$(echo "$distroversion" | grep -oE "[0-9]+$")

echo "$min" # prints 04
echo "$maj" # prints 14

And later compare minor/major as integers with if -lt

Is there any way for the Steam and .steam folders to be created in /var/Volume00/LinuxGSM$ instead of the current user home foder ?

The thing is that Volume00 mount point is a dedicated place for that purpose.

<!-- gh-comment-id:614450862 --> @dvdvideo1234 commented on GitHub (Apr 16, 2020): @dgibbs64 @gOOvER I wonder though. Is it better for `${distroversion}` to compare to some known threshold rather than 14.04 like ... ```bash distroversion="14.04" maj=$(echo "$distroversion" | grep -oE "^[+-]?[0-9]+") min=$(echo "$distroversion" | grep -oE "[0-9]+$") echo "$min" # prints 04 echo "$maj" # prints 14 ``` And later compare minor/major as integers with `if -lt` Is there any way for the `Steam` and `.steam` folders to be created in `/var/Volume00/LinuxGSM$` instead of the current user home foder ? The thing is that `Volume00` mount point is a dedicated place for that purpose.
Author
Owner

@dgibbs64 commented on GitHub (Apr 16, 2020):

@dvdvideo1234 that probably is a better way. However, in this case, I did the quick way because of limited time and limited use case for this issue.

Secondly, steamcmd will always install itself in the ${HOME} directory no matter where steamcmd is downloaded. A symlobic will probably work

<!-- gh-comment-id:614599488 --> @dgibbs64 commented on GitHub (Apr 16, 2020): @dvdvideo1234 that probably is a better way. However, in this case, I did the quick way because of limited time and limited use case for this issue. Secondly, steamcmd will always install itself in the ${HOME} directory no matter where steamcmd is downloaded. A symlobic will probably work
Author
Owner

@github-actions[bot] commented on GitHub (Apr 26, 2021):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:826418770 --> @github-actions[bot] commented on GitHub (Apr 26, 2021): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2029
No description provided.