How to Remove NextCloud Desktop from PureOS Librem 14

I’m finding NextCloud desktop buggy on my Librem 14. Doesn’t show the menus and keeps spontaneously closing. I’ve tried rebooting and no help. The guy who helped me set up my laptop said that it came preinstalled on PureOS. Is this true? When I go to the NextCloud install site it gives me an AppImage file for NextCloud desktop. My NextCloud host said I should uninstall and reinstall but the command they gave me didn’t work.
Here is what I get when I try to remove the client with that command:
sudo apt-get remove nextcloud-client

USER:~$ sudo apt-get remove nextcloud-client
[sudo] password for USER:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package nextcloud-client

I’m hoping to get some help on how to approach this issue so I don’t mess up anything on my system.

I see there is a NextCloud desktop sync client in the Software store as well from the PureOS repo, but not sure if I should use that one or the AppImage. If I should use the one in the repo, I would like to install it using the command line which I couldn’t find. Not sure if you could help me there. Thank you

1 Like

Hello,

try the command:

sudo apt remove nextcloud-desktop

2 Likes

Thank you! Do I need to remove my Next Cloud account or do anything else before running that command?

1 Like

no.

in your home folder the Nextcloud directory will remain. After running the command you can rename that folder. Or remove it.

1 Like

This is what I got:

USER:~$ sudo apt remove nextcloud-desktop
[sudo] password for USER:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package ‘nextcloud-desktop’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
libfuse3-3 libtext-csv-perl libtext-csv-xs-perl libwpe-1.0-1
libwpebackend-fdo-1.0-1 python3-proton-vpn-session
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

1 Like

Also, I see there is a NextCloud desktop sync client in the Software store as well from the PureOS repo, but not sure if I should use that one or the AppImage.

1 Like

It is not true.

1 Like

Thank you. Can anyone help me with the error message I got when trying the suggested command? Output above.

1 Like

An AppImage is a bit like a Windows executable. If you are using an AppImage, you can just delete the AppImage file, and that’s it.

If you’re not sure whether you are using an AppImage file or not, it’s also possible it was installed as a Flatpak.

In the terminal, you could try

flatpak list

This will show you all the Flatpak apps you have installed, and you could look for Nextcloud. I think the Application ID would be com.nextcloud.desktopclient.nextcloud, in which case you could uninstall it with

flatpak uninstall com.nextcloud.desktopclient.nextcloud
3 Likes

That did it. Thank you!

2 Likes

Great, mark @taylor-williamc’s post as a solution.