Actions

Dev/apt-build

From Whonix

< Dev



Introduction[edit]

apt-build:
https://packages.debian.org/search?keywords=apt-build [archive]

apt-build is an orphaned package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365427 [archive]

Eventual security issue, see discussion:
https://lists.debian.org/debian-security/2015/03/msg00020.html [archive]

Ticket[edit]

Mirrored from:
https://phabricator.whonix.org/T207 [archive]

Mirrored to:
https://github.com/Whonix/Whonix/issues/400 [archive]

On bountysource:
https://www.bountysource.com/issues/9115540 [archive]

How[edit]

Untested!

Become root.

sudo su

apt-cacher-ng *might* speed up compilation. Not exactly compilation, but *might* prevent downloading the same source packages over and over again from the internet.

apt-get update
apt-get install apt-cacher-ng
export http_proxy=http://127.0.0.1:3142
apt-get update

ccache *might* help speed up compilation. Consider installation of ccache.

apt-get install ccache

There is also distcc, a distributed compile cache, but setting that up on a cluster looks more complicated. Consider using distcc, perhaps later.

Install apt-build.

apt-get install apt-build

Keep the defaults for now.

As per /usr/share/doc/apt-build/README.Debian.

echo 'Package: *
Pin: origin ""
Pin-Priority: 800' > /etc/apt/preferences.d/aptpinning

As per /usr/share/doc/apt-build/README.Debian.

dpkg --get-selections | \
	awk '{if ($2=="install") print $1}' > /etc/apt/apt-build.list

System wide rebuild.

apt-build world


Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png

Share: Twitter | Facebook

Want to get involved with Whonix ™? Check out our Contribute [archive] page.

https [archive] | (forcing) onion [archive]

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.