You are not logged in.

#1 2026-07-08 11:05:20

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,462

pac.sh - one more pacman wrapper!

pac.sh


pac.sh is a TUI, bash shell script using pacman, pacman-contrib and fzf. It allows to do most pacman things, without needing to remember command line arguments. It uses doas by default but sudo users can simply comment out "priv=doas" and un-comment "priv=sudo" in first few lines of the code.

One can use "y" to update list of upgradable packages but it is preferable to run checkupdates from time to time in cronjob or something similar. ( I use systemd timer to do that).

Note: Some of the code is directly lifted from arch-wiki fzf page, and I have received some help from google gemini in polishing the script (mostly cosmetics, and in displaying last sync time). So this doesn't count as my contribution to the community, but it may act as a seed where community can contribute and make something better.

Features:
- Upgrade/Update
- Install/Remove packages from list
- checkupdates
- check pacman log
- remove orphans / clean package cache
- and few more

I have tried to keep this as safe as possible for a pacman wrapper. Warning is displayed where necessary. However if someone chooses to do Ctrl-A and remove all selected packages, there is installation guide on archwiki to help smile.

Last edited by Docbroke (Yesterday 16:54:05)

Offline

#2 Yesterday 09:31:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,188

Re: pac.sh - one more pacman wrapper!

Moderastor Note
Don't post large pics, scale them down or link to fullsize versions hosted elsewhere .
See Pasting pictures and code


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB