Skip to content

Instantly share code, notes, and snippets.

@JOduMonT
Last active June 22, 2025 17:33
Show Gist options
  • Save JOduMonT/245799c2f036acb378654f112dbb011a to your computer and use it in GitHub Desktop.
Save JOduMonT/245799c2f036acb378654f112dbb011a to your computer and use it in GitHub Desktop.
Clear Clear Linux
for pkg in 'LVM2' 'LVM2-bin' 'LVM2-config' 'LVM2-lib' 'LVM2-libexec' 'LVM2-license' 'LVM2-man' 'LVM2-python' 'LVM2-python3' 'LVM2-services' 'aspell-de' 'aspell-es' 'aspell-fr' 'bridge-utils' 'bridge-utils-bin' 'bridge-utils-license' 'bridge-utils-man' 'cni-plugins' 'cni-plugins-config' 'cni-plugins-libexec' 'cni-plugins-license' 'compose' 'compose-libexec' 'compose-license' 'containerd-bin' 'containerd-license' 'containerd-services' 'cri-o' 'cri-o-bin' 'cri-o-config' 'cri-o-data' 'cri-o-license' 'cri-o-man' 'cri-o-services' 'cri-tools' 'cri-tools-bin' 'cri-tools-license' 'docker-cli' 'gtk4libs' 'gstreamer' 'gst-plugins-base' 'gst-plugins-base-bin' 'gst-plugins-base-locales' 'gst-plugins-base-man' 'gst-plugins-good' 'gst-plugins-good-lib' 'gst-plugins-good-data' 'gst-plugins-good-license' 'gst-plugins-good-locales' 'gst-plugins-ugly' 'gst-plugins-ugly-lib' 'gst-plugins-ugly-license' 'gst-plugins-ugly-locales' 'gstreamer-vaapi' 'gstreamer-vaapi-lib' 'gstreamer-vaapi-license' 'mpg123-lib' 'mpg123-license' 'pulseaudio' 'pulseaudio-lib' 'pulseaudio-data' 'pulseaudio-license' 'runc' 'runc-bin' 'runc-license' 'speex-lib' 'speex-license' 'speexdsp-lib' 'speexdsp-license' 'tini' 'tini-bin' 'tini-license' 'v4l-utils-lib' 'v4l-utils-data' 'v4l-utils-license' 'wavpack-lib'; do
sudo swupd bundle-remove "$pkg"
done
# install wget
sudo swupd bundle-add curl-bin gnupg-bin nodejs-bin wget-bin
# secure ssh
## ensure your ssh key in a user on the server; then run these
# sudo wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/JOduMonT/ubuntu/refs/heads/main/etc/ssh/sshd_config
# sudo systemctl restart sshd.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment