How to Install OTS on NetBSD

OTS is a command-line tool that can parse font files and detect whether they incorporate outdated and problematic font hinting and smoothing technologies. In this tutorial, we will explain how to install OTS on NetBSD.

Prerequisites

To follow this tutorial, you must have the following:

Steps

  1. Open a terminal window on your NetBSD system.

  2. Update the system's package list by typing the following command:

    $ sudo pkgin update
    
  3. Install the necessary dependencies by typing the following command:

    $ sudo pkgin in cmake gcc git
    
  4. Clone the OTS repository by typing the following command:

    $ git clone https://github.com/khaledhosny/ots.git
    
  5. Change to the OTS directory by typing the following command:

    $ cd ots
    
  6. Configure the build by typing the following command:

    $ cmake .
    
  7. Build OTS by typing the following command:

    $ make
    
  8. Install the OTS binary by typing the following command:

    $ sudo make install
    
  9. Verify that OTS is installed by typing the following command:

    $ ots-sanitize --version
    

    If OTS is installed correctly, this command should print the version number of OTS.

Congratulations! You have successfully installed OTS on NetBSD. You can now use the ots-sanitize command to check whether your font files contain deprecated hinting and smoothing technologies.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!