Counter-Strike 2 installed via Steam Deb package cannot be played under Ubuntu WSL. By the way, I would like to mention the problems of some paid games in the current issue, but Counter-Strike 2, as a free game, seems to be easier to reproduce. Obviously I'm talking about https://store.steampowered.com/app/730/CounterStrike_2/ .
Due to #448, I installed more dependencies manually.
See the Steps to reproduce Comment section for detailed reproduction steps.
What was expected?
Counter-Strike 2 runs under Ubuntu WSL when installed via the Steam Deb package.
Steps to reproduce
Execute the following command under Ubuntu WSL. Currently Ubuntu 22.04.
If you do not execute sudo dpkg-reconfigure locales to specify a certain encoding, such as en_US.UTF-8 UTF-8 or zh_CN.UTF-8 UTF-8, steamwebhelper will startup failed due to the default C.UTF-8. I don't know what the historical background is. This is required on Ubuntu WSL/Ubuntu 22.04. For Ubuntu Preview WSL/Ubuntu 24.04, this is not required.
# In the current issue, it is set to `en_US.UTF-8 UTF-8`.
# In fact, `zh_CN.UTF-8 UTF-8` is also acceptable, as long as it is not `C.UTF-8`.
sudo dpkg-reconfigure locales
sudo apt update && sudo apt upgrade -y
This is just to install more potential Gnome dependencies in case some weird dependencies are missing.
cmd /c ver
Microsoft Windows [版本 10.0.22631.3374]
wsl --status
默认分发: Ubuntu-22.04 默认版本: 2
Did the problem occur during installation?
What happened?
Counter-Strike 2
installed via Steam Deb package cannot be played under Ubuntu WSL. By the way, I would like to mention the problems of some paid games in the current issue, butCounter-Strike 2
, as a free game, seems to be easier to reproduce. Obviously I'm talking about https://store.steampowered.com/app/730/CounterStrike_2/ .Steps to reproduce Comment
section for detailed reproduction steps.What was expected?
Counter-Strike 2
runs under Ubuntu WSL when installed via the Steam Deb package.Steps to reproduce
sudo dpkg-reconfigure locales
to specify a certain encoding, such asen_US.UTF-8 UTF-8
orzh_CN.UTF-8 UTF-8
,steamwebhelper
will startup failed due to the defaultC.UTF-8
. I don't know what the historical background is. This is required onUbuntu WSL
/Ubuntu 22.04
. ForUbuntu Preview WSL
/Ubuntu 24.04
, this is not required.sudo apt update && sudo apt upgrade -y
This is just to install more potential Gnome dependencies in case some weird dependencies are missing.
sudo apt install gnome-text-editor gimp vlc nautilus x11-apps -y
cd /tmp/
The main reason to install
microsoft-edge
is thatsteam
requires a browser on the system to open the URL.wget https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_122.0.2365.92-1_amd64.deb?brand=M102 -O ./microsoft-edge-stable.deb sudo apt install --fix-missing ./microsoft-edge-stable.deb -y
Open
microsoft-edge
and then close it. This is to enable the browser to hook into the URL.microsoft-edge
wget https://repo.steampowered.com/steam/archive/precise/steam_latest.deb sudo apt install --fix-missing ./steam_latest.deb -y sudo dpkg --add-architecture i386 sudo apt update && sudo apt upgrade -y sudo apt install libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-amd64:amd64 steam-libs-i386:i386 -y steam
Additional information