You are not logged in.
Pages: 1
Upgrade Arch Linux by a simple click!
2 methods: .desktop or script.
.desktop :
Create a .desktop file (e.g. in /home/username/Desktop) within:
[Desktop Entry]
Exec=sudo pacman -Syu;sudo rm /var/cache/pacman/pkg/*
Icon=system-run
Name=Upgrade
Terminal=true
Type=Application
TerminalOptions=\s--noclose
The last line is an option, to not close the terminal when command exits.
Created on KDE by right click, Create New, Link to Application...
Script:
Create a .sh or a file without extension
chmod +x the_file
or right click the file, Properties, Permissions, Allow executing file as program
Within:
#! /usr/bin/sh
sudo pacman -Syu
sudo rm /var/cache/pacman/pkg/*
Right click the file, Actions, Run in Konsole.
Left click the file but no terminal!
Options:
paru -Syu --noconfirm
(but I prefer to look carefully before upgrade).
/etc/paru.conf
[options]
SkipReview
to skip Proceed to review https://github.com/Morganamilo/paru/iss … 1418917275 .
paru;sudo rm /var/cache/pacman/pkg/*;sudo rm -r /home/username/.cache/paru/clone/*
instead if you use the AUR.
Last edited by jebez (2025-10-03 15:38:36)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
For "-Syu" you wouldn't need to invoke "yes", since there's "--noconfirm" for pacman.
However, on "-Scc" the behavior would be different, since it defaults to "N" on package removal.
Edit: This is a nice shortcut for people who use a DE and sudo.
Since I'm a Gnome lamer myself, I do most of this stuff via the "Arch Linux Update Indicator". :-)
Last edited by schard (2025-04-09 18:08:04)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Thanks, I edited.
Interesting Arch Linux Updates Indicator, seems there isn't such thing on KDE...
Last edited by jebez (2025-04-09 18:25:06)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline
Pages: 1