You are not logged in.
I think I am actively overlooking something, but after some time of trying I give up
My problem: I wanted to switch wps-office to german language and somehow read multiple times to install it using the Chinese version first, and switch to different languages later. So I wanted to uninstall my wps-office and this is where my troubles start:
pacman -Q does not list wps-office (or anything with wps in its name). But I am pretty sure I installed it from AUR, probably using "packer". So how can I uninstall a package I installed with packer? There is no -Q or similar option for packer and no remove flag (only for pacman).
Last edited by xtlc (2024-05-14 10:49:06)
Offline
* wps-office is in the AUR. You can't install it using pacman alone.
* To uninstall with pacman just execute pacman -R <PACKAGE_NAME> (or better -Rcns to remove dependencies).
* pacman -Q will show info on the exact package name which in your case isn't installed on your system. You can pass -Qs to search "contains".
Just install it from AUR (IMO better with a helper like yay) with the language pack you need.
Last edited by impossibleveins23 (2024-04-03 08:59:04)
Offline
* You can install it using pacman alone, you just need to build it first. See https://man.archlinux.org/man/makepkg.8
* Don't use -Rcns or you might end up uninstalling more than what you expect. RTFM https://man.archlinux.org/man/pacman.8# … PLY_TO_-R)
Don't recommend yay to someone that is this new, you will only lead them to a path of destruction.
Last edited by icar (2024-04-03 09:24:17)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
* To uninstall with pacman just execute pacman -R <PACKAGE_NAME> (or better -Rcns to remove dependencies).
* pacman -Q will show info on the exact package name which in your case isn't installed on your system. You can pass -Qs to search "contains".
* sudo pacman -Qs "wps" yields: local/ttf-wps-fonts 1.0-5 Symbol fonts required by wps-office.
* sudo pacman -R wps-office yields: error: target not found: wps-office
what am I missing here?
Offline
Whatever you think you did with packer, you didn't. If there was an installed package on your system, pacman would show it. If nothing was installed, there is nothing to remove. If it was installed without a package circumventing pacman, then still there is nothing to remove with pacman.
SIDE NOTE: `pacman -Q...` doesn't need to be run as root (i.e., w/ sudo). There's no real harm in it, but it'd be best to avoid the habit of using "sudo" habitually - only use it when you know it's needed and you know why it's needed.
Last edited by Trilby (2024-04-03 21:05:52)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Check your pacman log, find out what you actually did.
Offline
mhm ok ... so the fact that I see WPS spreadsheets and so on in my gnome Apps list does not mean I installed it using pacman? So I can just delete the folders and install it with pacman again? Or should I immediately install a multilanguage version?
* This does not seem to have any other language than English: https://aur.archlinux.org/packages/wps-office
* but this only speaks of Chinese: https://aur.archlinux.org/pkgbase/wps-office-cn
Offline
Perhaps you installed it as a flatpak?
Last edited by impossibleveins23 (2024-04-03 21:23:20)
Offline
Perhaps you installed it as a flatpak?
This. And it was called com.wps.Office. That's why I did not find it. Very thankful for your hint!
Offline
Cool. Please mark as solved if you consider this as solved.
Offline