Use the following script to set up the SuryaOS APT repository on your local system:
#!/bin/bash
sudo curl -i http://archive.suryaos.in/pgp-key.public -o /etc/apt/trusted.gpg.d/suryaos-pgp.asc
sudo chmod a+r /etc/apt/trusted.gpg.d/suryaos-pgp.asc
echo "Added the public key"
echo "deb [signed-by=/etc/apt/trusted.gpg.d/suryaos-pgp.asc arch=amd64] http://archive.suryaos.in/debs stable main" | sudo tee /etc/apt/sources.list.d/suryaos-release.list
echo "Package: *" | sudo tee -a /etc/apt/preferences.d/99SuryaOSPref
echo "Pin: release o=SuryaOS" | sudo tee -a /etc/apt/preferences.d/99SuryaOSPref
echo "Pin-Priority: 1001" | sudo tee -a /etc/apt/preferences.d/99SuryaOSPref
sudo apt update && sudo apt upgrade -y
Download Repo Setup Script