You are not logged in.
First post on the forum, so it may not be as clear as it's supposed to be
I'm on a laptop which doesn't have much space and also isn't my daily driver, and I'm trying to clean up some space by deleting large packages.
Running
sudo expac -S -H M '%k\t%n %r' | sort -h shows me a list of my largest installed packages, as far as I understand.
The top offenders are:
563.45 MiB supertuxkart community
696.81 MiB cuda-tools community
737.84 MiB kea-devel-docs community
872.44 MiB xonotic-data community
875.12 MiB 0ad-data community
914.08 MiB sauerbraten-data community
1039.99 MiB cudnn community
1136.96 MiB cuda communityI think I installed these long ago; I played the tux game once and at this point I would remote somewhere to use cuda.
I tried to remove these packages like so:
[k@sp6 ~]$ sudo pacman -Rns cuda-tools
error: target not found: cuda-tools
[k@sp6 ~]$ sudo pacman -Rns supertuxkart
error: target not found: supertuxkartI get the same error with some but not all of the packages. I likely installed them with yay but replacing
sudo pacman with
yay -Rns doesn't help at all. Are these packages still even installed? They show up on pacman -Si but I have no idea how to remove or access them.
Offline
-S, --sync
Search the sync databases for provided targets.
It looks like that command checks everything you could possibly install .
You probably found it on the pacman / tips & tricks page ?
A bit higher there's a command[1] that looks at installed packages .
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
That makes a lot of sense! I thought I had loads of junk installed from ages ago, but it turns out I just can't follow instructions ![]()
Thanks for your answer, and as you linked the correct command is
LC_ALL=C pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4$5, name}' | sort -hOffline
You just missed a little detail , happens to all of us.
Please prepend [Solved] to the title (edit first post)
Last edited by Lone_Wolf (2021-06-16 12:34:08)
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