Pbuilder Environment Quick Setup
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 pre-configured, you just need to install pbuilder:
sudo apt install pbuilder debootstrap devscripts
Then create a pBuilder environment
sudo pbuilder create --distribution amber --debootstrapopts --variant=buildd
Other Debian-based distros
If you are not on a PureOS distribution, but on Debian or a derivative (e.g. Ubuntu), do:
- Download & install the debootstrap package from PureOS
- Download & install the PureOS archive keyring package.
sudo apt install pbuilder devscripts
Create the pBuilder environment
sudo pbuilder create --distribution amber --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!
Tags
Subscribers
None
- Last Author
- jeremiah.foster
- Last Edited
- Sep 11 2019, 14:38