How to build nextcloud-server package
Ivan Jurišić edited this page 1 month ago

How to build debian package

Install package for build debian packages:

apt-get install build-essential devscripts dh-make apache2-dev git

Download debian package source:

git clone

Example if you want to rebuild nextcloud-server package:

cd buster/nextcloud-server
uscan --download-current-version

Now lets move in new folder with source,add information in changelog:

cd ../nextcloud-server-20.0.5

Build package:

dpkg-buildpackage -b -rfakeroot -us -uc