Skip to content

Instantly share code, notes, and snippets.

@ScriptAutomate
Created December 13, 2020 06:58
Show Gist options
  • Save ScriptAutomate/fece0f23654f991476bbc46b1d1ca692 to your computer and use it in GitHub Desktop.
Save ScriptAutomate/fece0f23654f991476bbc46b1d1ca692 to your computer and use it in GitHub Desktop.
Install Latest Python 3 version of Salt on Manjaro Linux
#!/usr/bin/env bash
# By default, Manjaro seems to only have 2019.2.7
# Python 2 variant available for installation via pacman.
# Following the install directions doesn't work as expected, for latest:
# https://docs.saltstack.com/en/latest/topics/installation/arch.html
cd ~/Downloads
sudo pacman -S base-devel --noconfirm
wget https://aur.archlinux.org/cgit/aur.git/snapshot/salt-py3.tar.gz
tar xf salt-py3.tar.gz
cd salt-py3
makepkg --clean --syncdeps --rmdeps
sudo pacman -U salt-py3-3002.2-2-any.pkg.tar.zst --noconfirm
# Cleanup
cd ~/Downloads
rm -rf salt-py*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment