Install Nextcloud client on ubuntu (v. 4)

nextcloud-square-logoBuild the Nextcloud client for ubuntu out of the ppa-repositories or from scratch. Install all required dependencies as shown above. But it might be necessary to install further binaries, it depends on your system:

Update series (history)
v. 4 – Feb. 12th, 2017: Changed PPA for Nextcloud client
v. 3 – Jan. 08th, 2017: Using PPA for Nextcloud client
v. 2 – Nov. 28th, 2016: updates to build process (…sed … Icon=Nextcloud…)
v. 1 – Oct. 10th, 2016: Initial Post

Using PPA for Nextcloud client

Add the Nextcloud repository to your Ubuntu installation

sudo -s
add-apt-repository ppa:nextcloud-devs/client
optional (if you used guide v.3 before):
rm /etc/apt/sources.list.d/ivaradi-ubuntu-nextcloud-client-ppa-xenial.list*

Update your System:

apt update

and install the Nextcloud client

apt install nextcloud-client

From now you find the Nextcloud client as expected in Ubuntu

Advanced / Manual installation

Ensure having all dependencies and pre-requirements in place:

apt install build-essential git cmake openssl libssl-dev sqlite3 libsqlite3-dev qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools python-sphinx texlive-latex-base inotify-tools qt5keychain-dev

Change to your working-directory:

cd /usr/local/src

and start the Nextcloud procedure:

git clone
cd client_theming
git submodule update --init
cd client
git submodule update --init
cd ..
mkdir build-linux
cd build-linux
cmake -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client

Now we change the lower ‘n’ to an upper ‘N’, otherwise no icon would appear in Ubuntu’s dashboard:

sed -i 's/Icon=nextcloud/Icon=Nextcloud/g' src/gui/nextcloud.desktop
sed -i 's/Icon\[\(.*\)\]=nextcloud/Icon\[\1\]=Nextcloud/g' src/gui/nextcloud.desktop
make && make install

© ©  ©

At least edit your environment (/etc/environment) and add the following row at the end of this file:

vi /etc/environment

Add the following row:



Now reboot your system and enjoy your Nextcloud client by

(a) running “nextcloud” in a terminal



(b) start Nextcloud using Ubuntu’s dashboard.


If the start fails with “nextcloud client nextcloud: error while loading shared libraries:…” please modify x86_64-linux-gnu.conf as shown in the solution toogle:

vi /etc/

Add the line:


Then run:


Works for me on both, Mint and Mate.

© 2016, rieger::CLOUD

Enjoy your Nextcloud.

1 thought on “Install Nextcloud client on ubuntu (v. 4)

Comments are closed.