Last active
March 20, 2024 09:41
-
-
Save Sharrnah/aa4ba2880789d78d3d4e165aae112aae to your computer and use it in GitHub Desktop.
Pacman Installation Scripts for SteamDeck (requires a set user password using `passwd` first)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo steamos-readonly disable | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
#sudo pacman-key --refresh-keys | |
# install docker package | |
echo -e "\rInstalling Docker..." | |
sudo pacman -Syu docker | |
sudo steamos-readonly enable | |
# install docker compose 2 | |
echo -e "\rInstalling Docker compose v2 plugin..." | |
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} | |
mkdir -p $DOCKER_CONFIG/cli-plugins | |
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose | |
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose | |
# add deck user do docker usergroup | |
sudo usermod -a -G docker deck | |
echo -e "\r\rFinshed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo steamos-readonly disable | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
echo -e "\rInstalling Mono..." | |
# Install mono runtime | |
sudo pacman -Syu mono | |
sudo steamos-readonly enable | |
echo -e "\r\rFinshed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run docker daemon | |
sudo containerd & | |
sudo dockerd & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment