Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Automating package updates on FreeBSD

    When updating my ports, I prefer to use packages when I have not changed the options of a port. This describes how I do that.


    Compiling large programs like firefox can take a long time. Therefore I like to use packages when updating my ports. But I don’t …

  2. Install ntpsec on FreeBSD

    A short article on how to install ntpsec on FreeBSD. Tested with 0.9.7 and 1.0.0.


    You can find several download methods on the ntpsec website.


    As of 2017-07-29, the is no port for ntpsec yet. So on FreeBSD you have to compile it yourself …

  3. Fixing dependencies after mesa ports consolidation

    After the 2017-05-12 mesa port consolidation, there were packages left with missing dependencies. This is how to fix them


    The update from mesa 17.0.3 to 17.0.4 merged libGL, libEGL, libglesv2, libglapi, and gbm into mesa-libs, and moved dri to mesa-dri. I performed the update using …

  4. Building gphoto2-ffi on FreeBSD


    Clone the repository from

    > cd ~/github
    > git clone


    I had to specify where to find the include files.

    > env C_INCLUDE_PATH=/usr/local/include python3 build

    Install and clean-up

    # python3 install
    # python3 clean …
  5. Updating python3 to 3.6

    This article document how I updated python3 from version 3.5 to 3.6 on FreeBSD.

    This article is written for FreeBSD 11-STABLE amd64. The procedure on other supported FreeBSD versions should be similar if not identical. Commands following a “>” can be run as an unprivileged user. Commands following …

  6. Updating Python to 3.5

    This article documents the process I followed to update Python 3.4 to 3.5 on my FreeBSD machines.


    The goal is to replace Python 3.4 and all the packages that depend on it by Python 3.5. Normally I would use portmaster for updating but at the …

  7. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation …

  8. Updating FreeBSD from source

    Sometimes I need to update my FreeBSD operating system. I prefer to do that from the source code, so that my customizations in (/etc/src.conf) remain.

    At the writing of this article, I’m tracking the 10-STABLE branch. To start this, I removed the contents of /usr/src …

  9. Switching IPython to Python 3

    More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.

    While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.

    With Python 2.7 effectively mostly …

Page 1 / 3 Page 2 →