pkgng repository size

Software

While testing some FreeBSD package management goodness, I wondered what it would take to host a pkgng mirror.

For those unversed, pkgng is FreeBSD’s new binary package manager, designed to replace pkg_add and other such tools. I blogged with excitement about the system; along with NetBSD’s pkgin; at the time they were announced.

I haven’t got far in finding out what you need to do to register yourself as a mirror, though I did copy and paste the web package table for FreeBSD 10 x86_64 into LibreOffice. Which gave me a spinning cursor then crashed after twenty minutes.

So I copied the table into Gnumeric, which accepted the tabular data in about five seconds.

According to a simple sum, you’d be looking at 40.25GiB, or 43,219,644,432 bytes to host a pkgng mirror, assuming the x86_64 architecture.

The more you know.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.