Univention Development Setup

Introduction

This document describes the changes needed to install a machine on which Univention packages can be built and developed.

Setting up for development

Start with an installed Univention machine and apply the following changes:

  • ucr set repository/online/unmaintained=yes
  • ucr set repository/online/sources=yes
  • apt-get update

Install basic development tools on the system:

  • apt-get install subversion build-essential

To download and extract source code for Univention packages use the following command:

  • apt-get source <package>

The source packages will be downloaded to the current directory. After downloading, the source files are extracted and patched, also in the current directory.

To compile a package, enter the source code directory and run:

  • dpkg-buildpackage -uc -us -b

Some dependency packages may need to be installed first, see the output of dpkg-buildpackage. Built packages are placed in the parent directory.

More information

See http://docs.univention.de/developer-reference-3.2.html for more information.

-- Ivo van Geel - 23 Jun 2014


This topic: Main > WebHome > UniventionDevelopmentSetup
Topic revision: r3 - 15 Jul 2017 - IvoVanGeel
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS