Installing wps office

I am a newbie to Arch based systems so am struggling here. I want to install WPS Office. I am completely at a loss as to how to do this. Can someone please talk me through what exactly I need to do or steer me to a guide in very simple steps as to how i do this.
Thanks

Go into a terminal and use the command:

yay -S wps-office

The terminal may ask you some question, which need to answer with yes.

The AUR package in this case is pretty popular and therefore probably safe to use. For other AUR packages, you need to be a bit more careful.

1 Like

Thank you. May I ask for future reference how I remove a package installed by yay and packman -S

Remove a package:

sudo pacman -R [package name] ##removes just the package only

sudo pacman -Rs [package name] ##removes the package and any dependencies

Think of yay as pacman, just that yay can also talk to the AUR, while pacman can not. But once a package is installed on your system, pacman can be used to remove it.

To remove wps office specifically, you can use either yay or pacman, either will do the same job, so it makes no difference which you prefer in regards to removing a package:

sudo pacman -R wps-office ##should suffice enough for uninstalling

sudo pacman -Rs wps-office ##if you want to remove any possible dependencies as well as the package. Both options are fine to use.

If you came from a different distro, the Arch wiki has a great breakdown of common commands from other distros that you might want to know the pacman version of:

https://wiki.archlinux.org/title/Pacman/Rosetta

3 Likes

Here are some resources:

https://wiki.archlinux.org/title/Pacman

2 Likes

You should use yay to remove packages from the AUR. So in this case use

yay -R wps-office

yay is handling this package and may not notice changes otherwise.

For package management:

https://wiki.archlinux.org/title/Pacman

https://wiki.archlinux.org/title/Pacman/Tips_and_tricks

For system maintenance:

https://wiki.archlinux.org/title/System_maintenance

For anything else:

https://wiki.archlinux.org/title/Main_page

https://discovery.endeavouros.com/

and the forum’s search function:

https://forum.endeavouros.com/search

And of course feel free to ask any questions.

Good luck and welcome to EnOS’ community!

:enos_flag:

1 Like

Once a package is installed on your system, from the repos or the AUR, pacman is more than capable of handling it and/or removing it as well. yay is just a wrapper for pacman anyways, it just lacks the AUR support. Perhaps this might be a bit of a misconception otherwise. In any case though, you can just use yay for everything and not have to think about it ever again :stuck_out_tongue:

4 Likes

I always thought yay/paru are managing the packages (besides installing it after compiling) and are having problems otherwise. Well, another thing learned every day.

3 Likes

Some very helpful advice here. Thank you everyone who replied. I’ll study the links etc.

1 Like

You can learn more about how yay works once you manually build and install an AUR package using makepkg. Try it once, it’s fun.

2 Likes

Here is a nice write-up by @Kresimir

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.