How to install Nextcloud desktop client in Rocky linux

Please help me out.
i want to access my files from application, i am currently relying on browser, which is fine, but an app should be great, considering i delete cookies and other data every time i logout of my browser

thanks.

[username@device-name ~]$ su -
Password: 
[root@device-name ~]# dnf install nextcloud
Last metadata expiration check: 1:38:22 ago on Sat 11 Dec 2021 09:43:01 AM IST.
All matches were filtered out by modular filtering for argument: nextcloud
Error: Unable to find a match: nextcloud
[root@device-name ~]# dnf install nextcloud-client
Last metadata expiration check: 1:38:31 ago on Sat 11 Dec 2021 09:43:01 AM IST.
Error: 
 Problem: conflicting requests
  - nothing provides libQt5Gui.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by nextcloud-client-3.2.4-2.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@device-name ~]# dnf install nextcloud-desktop-client
Last metadata expiration check: 1:38:47 ago on Sat 11 Dec 2021 09:43:01 AM IST.
No match for argument: nextcloud-desktop-client
Error: Unable to find a match: nextcloud-desktop-client
[root@device-name ~]# neofetch
        #####           root@device-name 
       #######          ---------------- 
       ##O#O##          OS: Rocky Linux 8.5 (Green Obsidian) x86_64 
       #######          Host: H81M-S 
     ###########        Kernel: 4.18.0-348.2.1.el8_5.x86_64 
    #############       Uptime: 1 hour, 47 mins 
   ###############      Packages: 1450 (rpm), 8 (flatpak), 8 (snap) 
   ################     Shell: bash 4.4.20 
  #################     Resolution: 1366x768 
#####################   WM: Mutter 
#####################   WM Theme: Adwaita 
  #################     Theme: Adwaita [GTK2/3] 
                        Icons: Adwaita [GTK2/3] 
                        Terminal: gnome-terminal 
                        CPU: Intel Pentium G3240 (2) @ 3.100GHz 
                        GPU: Intel HD Graphics 
                        Memory: 1847MiB / 3637MiB 

                                                
                                                


[root@device-name ~]# 

The Nextcloud client is available in EPEL as nextcloud-client. The package qt5-qtbase-gui provides libQt5Gui.so.5.

dnf install epel-release
dnf install nextcloud-client

Should just work. Did you disable the appstream repo somehow?

1 Like

Try dnf repolist --enabled and make sure appstream shows up.

1 Like

@brian sir, appstream repo is enabled, i have attached terminal code,
please help me out.

[username@device-name ~]$ su -
Password: 
[root@device-name ~]# dnf install epel-release

Rocky Linux 8 - PowerTools                      2.4 kB/s | 4.8 kB     00:02    
Rocky Linux 8 - PowerTools                      289 kB/s | 2.3 MB     00:08    
Package epel-release-8-13.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# 
[root@device-name ~]# dnf install nextcloud-client
Last metadata expiration check: 0:00:12 ago on Sat 11 Dec 2021 01:00:07 PM IST.
Error: 
 Problem: conflicting requests
  - nothing provides libQt5Gui.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by nextcloud-client-3.2.4-2.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@device-name ~]# dnf repolist --enabled
repo id                                        repo name
appstream                                      Rocky Linux 8 - AppStream
baseos                                         Rocky Linux 8 - BaseOS
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
epel                                           Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                   Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                         Rocky Linux 8 - Extras
gitlab.com_paulcarroty_vscodium_repo           download.vscodium.com
powertools                                     Rocky Linux 8 - PowerTools
rpmfusion-free-updates                         RPM Fusion for EL 8 - Free - Updates
[root@device-name ~]# dnf install qt5-qtbase-gui
Last metadata expiration check: 0:03:18 ago on Sat 11 Dec 2021 01:00:07 PM IST.
Package qt5-qtbase-gui-5.15.2-3.el8.0.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# dnf replist --disabled
No such command: replist. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(replist)'"
[root@device-name ~]# dnf repolist --disabled
repo id                                  repo name
appstream-debug                          Rocky Linux 8 - AppStream - Source
appstream-source                         Rocky Linux 8 - AppStream - Source
baseos-debug                             Rocky Linux 8 - BaseOS - Source
baseos-source                            Rocky Linux 8 - BaseOS - Source
devel                                    Rocky Linux 8 - Devel WARNING! FOR BUILDROOT AND KOJI USE
epel-debuginfo                           Extra Packages for Enterprise Linux 8 - x86_64 - Debug
epel-modular-debuginfo                   Extra Packages for Enterprise Linux Modular 8 - x86_64 - Debug
epel-modular-source                      Extra Packages for Enterprise Linux Modular 8 - x86_64 - Source
epel-playground                          Extra Packages for Enterprise Linux 8 - Playground - x86_64
epel-playground-debuginfo                Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Debug
epel-playground-source                   Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Source
epel-source                              Extra Packages for Enterprise Linux 8 - x86_64 - Source
epel-testing                             Extra Packages for Enterprise Linux 8 - Testing - x86_64
epel-testing-debuginfo                   Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Debug
epel-testing-modular                     Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64
epel-testing-modular-debuginfo           Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Debug
epel-testing-modular-source              Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Source
epel-testing-source                      Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Source
ha                                       Rocky Linux 8 - HighAvailability
ha-debug                                 Rocky Linux 8 - High Availability - Source
ha-source                                Rocky Linux 8 - High Availability - Source
media-appstream                          Rocky Linux 8 - Media - AppStream
media-baseos                             Rocky Linux 8 - Media - BaseOS
nfv                                      Rocky Linux 8 - NFV
plus                                     Rocky Linux 8 - Plus
powertools-debug                         Rocky Linux 8 - PowerTools - Source
powertools-source                        Rocky Linux 8 - PowerTools - Source
resilient-storage                        Rocky Linux 8 - ResilientStorage
resilient-storage-debug                  Rocky Linux 8 - Resilient Storage - Source
resilient-storage-source                 Rocky Linux 8 - Resilient Storage - Source
rpmfusion-free-updates-debuginfo         RPM Fusion for EL 8 - Free - Updates Debug
rpmfusion-free-updates-source            RPM Fusion for EL 8 - Free - Updates Source
rpmfusion-free-updates-testing           RPM Fusion for EL 8 - Free - Test Updates
rpmfusion-free-updates-testing-debuginfo RPM Fusion for EL 8 - Free - Test Updates Debug
rpmfusion-free-updates-testing-source    RPM Fusion for EL 8 - Free - Test Updates Source
rt                                       Rocky Linux 8 - Realtime
[root@device-name ~]# dnf repolist
repo id                                        repo name
appstream                                      Rocky Linux 8 - AppStream
baseos                                         Rocky Linux 8 - BaseOS
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
epel                                           Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                   Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                         Rocky Linux 8 - Extras
gitlab.com_paulcarroty_vscodium_repo           download.vscodium.com
powertools                                     Rocky Linux 8 - PowerTools
rpmfusion-free-updates                         RPM Fusion for EL 8 - Free - Updates
[root@device-name ~]# 



Hello @2rocky1

could you try dnf install qt5-qtbase and check if you get an error
i know dnf should install the dependency auto but let us try to do it manually and see what is going on

1 Like

Hello @brian @2rocky1

i found a bug reported in centos 8 0018355: RPM dependency conflict with nextcloud-client qt5-qtbase-gui breeze-gtk-common - CentOS Bug Tracker
the report about centos 8.4 so i tried to install nextcloud and i got the same exact error even i already has qt5-qtbase installed

so i think rocky could have that one also not sure if it related to rhel or something else

hope that help an have a nice day :slight_smile:

2 Likes

@JustSomeone
hi sir,
i have preinstalled i guess., it is a bug i believe.

[root@device-name ~]# dnf install qt5-qtbase
Last metadata expiration check: 0:27:52 ago on Mon 13 Dec 2021 01:35:07 PM IST.
Package qt5-qtbase-5.15.2-3.el8.0.1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# 

1 Like

Yes is the bug in dependencies Qt_5.12.5_PRIVATE_API vs Qt_5.15.2_PRIVATE_API from EPEL. After rpm-build nextcloud package is working fine.

1 Like

@brian sir
i have all the repo’s that are available to me,
and then tried install epel-release, which is preinstalled, then i tried to install nextcloud, still getting error/bug, then i tried to install qt5 and libqt5gui, still no luck,
please help me out.

[username@device-name ~]$ su -
Password: 
[root@device-name ~]# dnf repolist --enabled
repo id                                        repo name
appstream                                      Rocky Linux 8 - AppStream
appstream-debug                                Rocky Linux 8 - AppStream - Source
appstream-source                               Rocky Linux 8 - AppStream - Source
baseos                                         Rocky Linux 8 - BaseOS
baseos-debug                                   Rocky Linux 8 - BaseOS - Source
baseos-source                                  Rocky Linux 8 - BaseOS - Source
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
copr:copr.fedorainfracloud.org:taw:element     Copr repo for element owned by taw
epel                                           Extra Packages for Enterprise Linux 8 - x86_64
epel-debuginfo                                 Extra Packages for Enterprise Linux 8 - x86_64 - Debug
epel-modular                                   Extra Packages for Enterprise Linux Modular 8 - x86_64
epel-modular-debuginfo                         Extra Packages for Enterprise Linux Modular 8 - x86_64 - Debug
epel-modular-source                            Extra Packages for Enterprise Linux Modular 8 - x86_64 - Source
epel-playground                                Extra Packages for Enterprise Linux 8 - Playground - x86_64
epel-playground-debuginfo                      Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Debug
epel-playground-source                         Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Source
epel-source                                    Extra Packages for Enterprise Linux 8 - x86_64 - Source
epel-testing                                   Extra Packages for Enterprise Linux 8 - Testing - x86_64
epel-testing-debuginfo                         Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Debug
epel-testing-modular                           Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64
epel-testing-modular-debuginfo                 Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Debug
epel-testing-modular-source                    Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Source
epel-testing-source                            Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Source
extras                                         Rocky Linux 8 - Extras
gitlab.com_paulcarroty_vscodium_repo           download.vscodium.com
ha                                             Rocky Linux 8 - HighAvailability
ha-debug                                       Rocky Linux 8 - High Availability - Source
ha-source                                      Rocky Linux 8 - High Availability - Source
powertools                                     Rocky Linux 8 - PowerTools
powertools-debug                               Rocky Linux 8 - PowerTools - Source
powertools-source                              Rocky Linux 8 - PowerTools - Source
resilient-storage                              Rocky Linux 8 - ResilientStorage
resilient-storage-debug                        Rocky Linux 8 - Resilient Storage - Source
resilient-storage-source                       Rocky Linux 8 - Resilient Storage - Source
rpmfusion-free-updates                         RPM Fusion for EL 8 - Free - Updates
rpmfusion-free-updates-debuginfo               RPM Fusion for EL 8 - Free - Updates Debug
rpmfusion-free-updates-source                  RPM Fusion for EL 8 - Free - Updates Source
rpmfusion-free-updates-testing                 RPM Fusion for EL 8 - Free - Test Updates
rpmfusion-free-updates-testing-debuginfo       RPM Fusion for EL 8 - Free - Test Updates Debug
rpmfusion-free-updates-testing-source          RPM Fusion for EL 8 - Free - Test Updates Source
rt                                             Rocky Linux 8 - Realtime
[root@device-name ~]# dnf repolist --disabled
repo id            repo name
devel              Rocky Linux 8 - Devel WARNING! FOR BUILDROOT AND KOJI USE
media-appstream    Rocky Linux 8 - Media - AppStream
media-baseos       Rocky Linux 8 - Media - BaseOS
nfv                Rocky Linux 8 - NFV
plus               Rocky Linux 8 - Plus
[root@device-name ~]# dnf install epel-release
Last metadata expiration check: 0:08:27 ago on Tue 14 Dec 2021 05:25:21 PM IST.
Package epel-release-8-13.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# dnf install nextcloud-client
Last metadata expiration check: 0:08:37 ago on Tue 14 Dec 2021 05:25:21 PM IST.
Error: 
 Problem: conflicting requests
  - nothing provides libQt5Gui.so.5(Qt_5.12.5_PRIVATE_API)(64bit) needed by nextcloud-client-3.2.4-2.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@device-name ~]# dnf install libQt5Gui.so.5
Last metadata expiration check: 0:08:49 ago on Tue 14 Dec 2021 05:25:21 PM IST.
Package qt5-qtbase-gui-5.15.2-3.el8.0.1.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# dnf install qt5-qtbase-gui
Last metadata expiration check: 0:10:39 ago on Tue 14 Dec 2021 05:25:21 PM IST.
Package qt5-qtbase-gui-5.15.2-3.el8.0.1.x86_64 is already installed.
Package qt5-qtbase-gui-5.15.2-3.el8.0.1.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@device-name ~]# 

Hi, excuse me for chipping in, but I’m having no problems so far in using NextCloud with Rocky 8.5. I have noticed however, that mileage might vary regarding success in doing so. Maybe I can help?

@2rocky1 - there are 2 ways of using nextcloud:

  1. a desktop client (aka “the client”)
  2. gnome’s “online account” feature

I suppose you’re trying to use method #1 above, the client.
With that (taken from dnf, flathub), there are indeed some problems. Although installation worked for me, it didn’t display anything, just an empty UI. I worked around that by using the “appimage” version of the client which is available from nextcloud’s website:
https://github.com/nextcloud/desktop/releases/download/v3.3.6/Nextcloud-3.3.6-x86_64.AppImage
( from their actual webpage, link is Install – Nextcloud )

Note: I can’t tell if that will work for you. It depends on your architecture, desktop environment, etc. But perhaps it’s worth trying out.

Which takes me to method #2:
In case you’re having the gnome desktop environment installed, check out “online accounts” in its system settings to see whether it features “nextcloud” and if that might do the trick for you.

Hope this helps, cheers, Thomas

1 Like