Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Install ntpsec on FreeBSD

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

    Downloading

    You can find several download methods on the ntpsec website.

    Installation

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

  2. 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

    Update

    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 …

  3. Building gphoto2-ffi on FreeBSD

    Download

    Clone the repository from https://github.com/jbaiter/gphoto2-cffi.

    > cd ~/github
    > git clone https://github.com/jbaiter/gphoto2-cffi
    

    Build

    I had to specify where to find the include files.

    > env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
    

    Install and clean-up

    # python3 setup.py install
    # python3 setup.py clean …
  4. 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 …

  5. Updating Python to 3.5

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

    Introduction

    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 …

  6. 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 …

  7. 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 …

  8. 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 …

  9. Automated local backups

    These days it is commonplace to have hardware or software RAID1, even in common PCs. In previous machines I’ve used ataraid to implement RAID1.

    The advantage is that every write is recorded on two disks at once, minimizing the chance of data loss. The flip side of the coin …


Page 1 / 3 Page 2 →