Linux distribution packages for the desktop clients - help out!

a ppa for this would be great. iā€™ve never made a ppa before but failed on compiling my first attempt for the nextcloud client so I will need to fight with this some-more

if someone who has created ppaā€™s before could set one up that would be fantastic though

I would prefer an official one.

Iā€™ve spent a little bit of time reading over the generic Ubuntu guide for building a deb, though as the client is a little bit of NC and a lot of OC, Iā€™m struggling to understand how Iā€™d successfully follow this guide: http://packaging.ubuntu.com/html/packaging-new-software.html

Should anyone from the dev team fancy helping me to figure out where in the tree I need to be before running the packaging commands then Iā€™m prepared to look into maintaining a PPA via launchpad for Ubuntu.

1 Like

We donā€™t really have a packaging expert on board atmā€¦ I know thereā€™s the official documentation and I pointed to the deb sources on the open build server earlier - see here. Iā€™m afraid I canā€™t do anything more :frowning:

That might be enough, I donā€™t knowā€¦ but it looks like itā€™s failing on the rules file when I try to build the deb.

I made a tar from the build_linux dir, and used that as the basis for the deb which may not have been correct. Maybe being able to merge any changes from the NC repo into an OC repo directly would allow me to more closely follow the documentation I find.

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