GNU/Linux Debian Adding Salt Repo Guide
Hi! The Tutorial shows you Step-by-Step How to Add Salt Repository in Debian-Based GNU/Linux OSes.
And Salt for Debian is an event-driven Automation Tool and Framework to Deploy, Configure, and Manage complex IT Systems built on Python.
Last, this Repo Setup is Valid for All the Debian-based Platforms like:
- Kali
- MX Linux
- Deepin
- Parrot
- antiX
- SparkyLinux
- Q4OS
- Netrunner
- Voyager Debian
- MakuluLinux
- Elive
- LMDE
- Parsix (You may just need to Discover what’s the Parent Release)
1. Launching Terminal
How to QuickStart with Command Line on Debian:
2. Adding Salt GPG Key
Again to Add Salt GPG Signature Key
On Debian 11.x, and currently also for 12.x based, and Kali do:sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/debian/11/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg
Where for Debian 10.x based instead:mkdir /etc/apt/keyrings
And again:sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/debian/10/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg
In case of Issue or for more Insight see the Official Documentation.
Authenticate with the User’s Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.3. Adding Salt Repo
Then to Add Salt Repository for Debian
For Debian 11.x, and currently also for 12.x based, and Kali run:echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye main" | sudo tee /etc/apt/sources.list.d/salt.list
Where for Debian 10.x based instead:echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/10/amd64/latest buster main" | sudo tee /etc/apt/sources.list.d/salt.list
4. Refreshing Debian Sources
Next to Refresh Debian Apt Repo Sources
Needed for most Debian derivatives:sudo apt update
5. Salt Getting Started
Finally, to Quick Start Salt for Debian