Bellow you can find all the commands that you need to create an Counter-Strike: 1.6 Server on Ubuntu 22.04.1
Requirements
Default
sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 libsdl2-2.0-0:i386 steamcmd
Add the multiverse repository and the i386 architecture:
sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386