You are not logged in.
Upgrade Arch Linux KDE by a shell script, by a simple click!
The RAM version https://wiki.archlinux.org/title/Tmpfs#Usage :
/etc/pacman.conf
[options]
...
CacheDir = /tmp/pkgCreate an empty or .sh file e.g. in /home/username/Desktop within:
#!/bin/bash
cd
konsole -e bash -c 'mkdir /tmp/pkg
sudo pacman -Syu
sudo rm -r /tmp/pkg
bash'Info: the 5th line is to remove the downloaded package(s).
Or the original version:
Create an empty or .sh file e.g. in /home/username/Desktop within:
#!/bin/bash
cd
konsole -e bash -c 'sudo pacman -Syu
sudo rm /var/cache/pacman/pkg/*
bash'Info: the 4th line is to remove the downloaded package(s).
Right click the file, Properties, Permissions, check Execute
or
chmod +x /a_path/the_fileOption:
sudo pacman -Syu --noconfirm but I prefer to look carefully before upgrade.
Last edited by jebez (Today 00:57:22)
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