Linux distribution packages for the desktop clients - help out!

I am trying to build it with make before I attempt to build the deb. I am failing there you cann see my errors here http://pastebin.com/UWjP07Ty

I’ve built a deb with successfully, though using checkinstall rather than the official recommended method. @jospoortvliet should I make that available on the forum for the moment while I carry on figuring out the PPA stuff?

1 Like

sweet! will you submit it to the archive?

It’s not a “proper” build, so I don’t think so. Now I have the checkinstall method working I’ll look to getting a deb built using the traditional approach and see how it goes. If I can build a deb perhaps I can an rpm for RHEL, Fedora & CentOS too. Getting ahead of myself though.

Before you submit it, perhaps provide it somewhere that some people can test it in different environments. Especially if you have doubts about the whole procedure.

There’s also this dude - https://morph027.gitlab.io/post/nextcloud-install-via-packages-on-jessie/ perhaps he is interested in helping out.

I’ve had a time getting it to install on Debian 8. I followed the instructions here: Compile instructions from Reddit and got an error with the “cmake…” part of the steps. I ignored that and proceeded to make and make install. I think that’s basically the same procedure as on the Github instructions. Somewhere between make install and starting it from command line I got an error about libnextcloudsync.so.0, but then I found this lucky tip which fixed that issue. Error while loading shared libraries
So, all that being done I got it to run from the command line! It ran and synced…and then I wanted to close the terminal I had opened so I did…and of course nextcloud quit with the terminal window.
So now I’m trying to set it to run at startup or something and…sheesh, I’m tired!
I love Nextcloud; I mean this is a seriously great endeavour. But compiling this beast on Debian 8 (lxde desktop) for a noob like myself is a daunting proposition!
Keep up the good work, and the better documentation!

https://www.c-rieger.de/how-to-install-nextcloud-desktop-client-for-ubuntu/

This tutorial works perfectly, it’s not so hard to do :wink: Of course, a little sudo apt install nextcloud-client will be awesome :wink:

I’m using docker to build things and keep my system clean. Instructions and CI for xenial is here: https://gitlab.com/packaging/nextcloud-client/

Resulting repo: http://repo.morph027.de/nextcloud-client.php

Please note, that the PPA mentioned below is no longer maintained and will be removed soon.

It is replaced by the PPA named ppa:nextcloud-devs/client. You can start using this PPA by issuing the following commands:

sudo add-apt-repository ppa:nextcloud-devs/client
sudo apt-get update

You can remove the old PPA by:

sudo add-apt-repository -r ppa:ivaradi/nextcloud-client-ppa


Hello,

I have created a PPA for the Nextcloud client. It currently contains the packages for Ubuntu Trusty, Xenial and Yakkety. Install as follows:

sudo add-apt-repository ppa:ivaradi/nextcloud-client-ppa
sudo apt-get update
sudo apt-get install nextcloud-client

Please, let me know your results, and if it is useful or not.

14 Likes

Thanks very much for setting up this PPA! I’ve just used it to install the Nextcloud client on Ubuntu 16.04 LTS without any problems.

1 Like

Amazing!

Could you share your methods of packaging the client and pushing to the PPA?

Linux Mint 18 Mate: Installation without problems, sync runs, default system icon in the menu, seems to be useful

Works great on Ubuntu 16.04!

works fine on my Linux Mint 17.3 Cinnamon, Thanks

Installed on 16.04, but I faced a crash on first login with a missing letter in the url of my Nextcloud instance, then all good, it is currently syncing.

Thanks a lot.

Works great! Thank you for this!

I basically take the Git repository containing the nextcloud theme (i.e. the one mentioned on the download page), add the debian directory with the necessary files and create a source package using “debuild -S”. I use the CDBS support for cmake, so the building is really simple: I only have to set a few variables in the “debian/rules” file.

I then upload the source package to the PPA using “dput” and it then gets built into the binary packages.

I have some scripts to automate most of the building (and to test the building locally) on my machine. If interested, I can share them along with the files in the “debian” directory. However, if you download the source (apt-get source nextcloud-client), you can get the “debian” files.

1 Like

2 posts were split to a new topic: How to migrate your owncloud desktop client to Nextcloud

Confirmed working on Deepin 15.3 as well (Debian unstable). Though you have to change the zesty distro to trusty.

@ivaradi If you ask me this PPA should transform to Nextcloud where you become the maintainer. What does others think? Maybe create a new repo called “client_ppa” and add it there? https://github.com/nextcloud/client_theming

1 Like