Pbuilder Environment Quick Setup
Updated 794 Days AgoPublic

This document was moved from /w/pbuilder_environment_quick_setup/.

Create PureOS pBuilder Environment

This page explains how to set up a PureOS pBuilder environment.


On PureOS, everything you need is already preconfigured, you just need to install pbuilder:

sudo apt install pbuilder debootstrap devscripts

If you are not on a PureOS distribution, but on Debian or a derivative (e.g. Ubuntu), do:

  1. Download & install the debootstrap package from PureOS
  2. Download & install the PureOS archive keyring package.

Install pbuilder:

sudo apt install pbuilder devscripts

Create the pBuilder environment

If you are on PureOS, just do

sudo pbuilder create --distribution green --debootstrapopts --variant=buildd

If you are not on PureOS, try the following command:

sudo pbuilder create --distribution green --debootstrapopts --variant=buildd --mirror http://repo.puri.sm/pureos --debootstrapopts "--keyring=/usr/share/keyrings/pureos-archive-keyring.gpg"

And that's it, you should have a working PureOS pBuilder environment now!

Last Author