How to add apt sources from AnduinOS #354
samwhelp
started this conversation in
Show and tell
Replies: 2 comments 5 replies
-
|
This is a trick that can convert an Ubuntu to AnduinOS directly. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
One-command conversion from a standard Ubuntu installation to AnduinOS. sudo -v
# Variables for APT repository and GPG key
APKG_SERVER="https://packages.anduinos.com"
CERT_NAME="anduinos"
KEYRING_PATH="/usr/share/keyrings/anduinos-archive-keyring.gpg"
SUITE="$(lsb_release -sc)-addon"
# Make sure is Ubuntu 26.04 Resolute:
if [[ "$(lsb_release -rs)" != "26.04" ]]; then
echo "This script is designed for Ubuntu 26.04 Resolute. Exiting."
exit 1
fi
# Update package lists and install prerequisites for adding the AnduinOS repository
sudo apt update
sudo apt install -y curl gnupg2 ca-certificates
# Create the keyring directory and download the AnduinOS GPG key
sudo mkdir -p /usr/share/keyrings
curl -sL "${APKG_SERVER}/artifacts/certs/${CERT_NAME}" \
| sed '1s/^\xEF\xBB\xBF//' \
| gpg --dearmor \
| sudo tee "${KEYRING_PATH}" > /dev/null
# Add the AnduinOS repository to the sources list
sudo tee /etc/apt/sources.list.d/anduinos.sources > /dev/null <<EOF
Types: deb
URIs: ${APKG_SERVER}/artifacts/anduinos/
Suites: ${SUITE}
Components: main
Architectures: amd64
Signed-By: ${KEYRING_PATH}
EOF
# Update the package lists and install AnduinOS packages while removing conflicting Ubuntu packages
sudo apt update
sudo apt install -y \
anduinos-desktop \
anduinos-desktop-apps \
anduinos-gnome-extensions \
anduinos-appstore \
anduinos-theme \
anduinos-wallpapers \
anduinos-fonts \
anduinos-no-snapd \
anduinos-session \
anduinos-software-properties-common \
anduinos-software-properties-gtk \
anduinos-system-tweaks \
firefox-anduinos \
gnome-shell-extension-appindicator-anduinos \
gnome-shell-extension-dash-to-panel-anduinos \
gnome-shell-extension-desktop-icons-ng-anduinos \
plymouth-anduinos \
alsa-ucm-conf-anduinos \
firmware-sof-anduinos \
initramfs-tools \
snapd- \
firefox- \
ubuntu-session- \
ubuntu-desktop- \
ubiquity-slideshow-ubuntu- \
yaru-theme-gnome-shell- \
gnome-shell-ubuntu-extensions- \
update-notifier- \
update-notifier-common- \
update-manager- \
update-manager-core- \
ubuntu-release-upgrader-core- \
ubuntu-release-upgrader-gtk- \
whoopsie- \
software-properties-gtk- \
software-properties-common- \
firmware-sof-signed- \
alsa-ucm-conf- \
plymouth-theme-spinner- \
gnome-shell-extension-appindicator- \
gnome-shell-extension-dash-to-panel- \
gnome-shell-extension-desktop-icons-ng- \
ubuntu-wallpapers- \
ubuntu-advantage-desktop-daemon- \
ubuntu-wallpapers-resolute- \
--install-recommends
sudo apt reinstall -y base-files
# Update dconf settings to apply AnduinOS defaults
sudo dconf update
dconf reset -f /org/gnome/
Have a try on a clean Ubuntu 26.04! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to add apt sources from AnduinOS
Referring to AnduinOS-2/build.sh, I created a simple script that can be used to add apt-sources from AnduinOS(https://packages.anduinos.com).
The script create two files
The following is a brief introduction to the basic usage of this script. For more advanced usage examples, please refer to README.md.
Before using this script, please ensure you understand the associated actions and risks.
This is to prevent unforeseen circumstances from damaging your existing system.
I'm sharing this script purely for learning and reference purposes.
Environment
Usage
How to download add-apt-source-from-anduinos.sh and run it.
Usage / basic
download script
wget -c 'https://raw.githubusercontent.com/samwhelp/demo-for-anduinos-discussion/refs/heads/main/demo/apt/demo-add-apt-source-from-anduinos/demo-start/add-apt-source-from-anduinos.sh'chmod
run it
then run
run to search package
run to install anduinos-wallpapers
run
show
Check
Viwe File: /etc/apt/sources.list.d/anduinos.sources
run
show
Howto
How to remove
just remove two files and run
sudo apt-get updateSee Also
Also see the script below provided by @Anduin2017, used to convert Ubuntu to AnduinOS.
Beta Was this translation helpful? Give feedback.
All reactions