APT-Repository


PM Code Works provides an APT repository for installing the software using an package manager. Gaining access to the repository is easy and requires only a few steps.

Installation

All packages in the APT repository are signed by PM Code Works GPG signing key. The public key needs to be downloaded to verify the signature:

~# wget -qO - http://apt.pm-codeworks.de/pm-codeworks.de.gpg | apt-key add -

Add PM Code Works package source:

~# echo "deb http://apt.pm-codeworks.de stretch main" | tee /etc/apt/sources.list.d/pm-codeworks.list

Refresh package lists:

~# apt-get update

Packages from PM Code Works can now be installed:

~# apt-get install packagename

Building from source

Since the APT repository only contains Open-Source software it is possible to compile the projects from source. The package "devscripts" from offical Debian APT repository is required for building:

~# apt-get install devscripts

Add PM Code Works package source:

~# echo "deb-src http://apt.pm-codeworks.de stretch main" | tee -a /etc/apt/sources.list.d/pm-codeworks.list

Refresh package lists:

~# apt-get update

Source packages from PM Code Works can now be downloaded:

~$ apt-get source packagename

Navigate into downloaded directory and build the package:

~$ cd packagename/
~$ dpkg-buildpackage -uc -us

Install the package:

~# dpkg -i ../packagename.deb