- Joined
- Feb 23, 2023
- Messages
- 311
Post Content:
This script is designed for Fedora users who want to quickly and easily update their system and related package managers in one go โ no manual typing needed.
It even detects Secure Boot and will handle MOK creation, import, and NVIDIA module signing automatically.
Quick Install & Use (One-Liner)
Paste this into Konsole to download, set permissions, and install tn-update:
Replace the URL above with the actual link to your script attachment.
What It Does
Manual Install Method
If you prefer the manual method:
Download the attached script:
Run these commands in Konsole:
Run manually:
(Optional) Add tn-update shortcut:
Then you can just run:
Secure Boot Info
If Secure Boot is enabled, the script will:
Example Output
Questions or issues?
Reply below or visit team-nocturnal.com
Team-Nocturnal Fedora Update Script
Automated Updates for DNF, Flatpak, Snap, Pip, Cargo, NPM, and Secure Boot NVIDIA Signing
Automated Updates for DNF, Flatpak, Snap, Pip, Cargo, NPM, and Secure Boot NVIDIA Signing
This script is designed for Fedora users who want to quickly and easily update their system and related package managers in one go โ no manual typing needed.
It even detects Secure Boot and will handle MOK creation, import, and NVIDIA module signing automatically.
Paste this into Konsole to download, set permissions, and install tn-update:
Bash:
curl -Lo ~/tn_xs_fedora_update_all_script.sh "https://raw.githubusercontent.com/XsMagical/Fedora-Tools/refs/heads/main/tn_xs_fedora_update_all_script.sh" &&
chmod +x ~/tn_xs_fedora_update_all_script.sh &&
mkdir -p ~/.local/bin &&
mv ~/tn_xs_fedora_update_all_script.sh ~/.local/bin/tn-update &&
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc &&
source ~/.bashrc &&
tn-update
[] Updates Fedora via DNF
[] Updates Flatpak apps and runtimes (and prunes old runtimes)
[] Updates Snap packages (if installed)
[] Updates Pip Python packages
[] Updates Cargo Rust packages
[] Updates Global NPM Node.js packages
[] Detects and handles Secure Boot
[] Creates and enrolls MOK key if needed- Rebuilds and signs NVIDIA kernel modules
If you prefer the manual method:
Download the attached script:
Run these commands in Konsole:
Bash:
chmod +x ~/Downloads/tn_xs_fedora_update_all_script.sh
mkdir -p ~/scripts
mv ~/Downloads/tn_xs_fedora_update_all_script.sh ~/scripts/
Run manually:
Bash:
~/scripts/tn_xs_fedora_update_all_script.sh
(Optional) Add tn-update shortcut:
Bash:
install -Dm755 ~/scripts/tn_xs_fedora_update_all_script.sh ~/.local/bin/tn-update
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Then you can just run:
Code:
tn-update
If Secure Boot is enabled, the script will:
[] Create a MOK keypair (one time only)
[] Import it into the MOK manager
[] Prompt you to enroll it at next boot (blue MOK screen)
[] Sign NVIDIA modules automatically after each kernel update
Code:
โโโโโโโโโโโโโ โโโ
โโโโโโโโโโโโโโ โโโ
โโโ โโโโโโ โโโ
โโโ โโโโโโโโโโ
โโโ โโโ โโโโโโ
โโโ โโโ โโโโโ
Team-Nocturnal.com Fedora Update Script by XsMagical
==> Updating via DNF...
Repositories loaded.
Nothing to do.
==> Updating Flatpak apps and runtimes...
Nothing to do.
==> Secure Boot detected: secureboot enabled
==> Signing NVIDIA modules...
โ
All updates complete!
Reply below or visit team-nocturnal.com
Attachments