How To Install chiark-utils-bin on Ubuntu 18.04

In this tutorial we learn how to install chiark-utils-bin on Ubuntu 18.04. chiark-utils-bin is chiark system administration utilities

Introduction

In this tutorial we learn how to install chiark-utils-bin on Ubuntu 18.04.

What is chiark-utils-bin

chiark-utils-bin is:

This package contains a number of small administration scripts used by chiark.greenend.org.uk and other systems belonging to the Sinister Greenend Organisation. Currently featuring only:

with-lock-ex: a simple tool for acquiring a lockfile before running another program or script.

summer: a tool for reporting complete details about a filesystem tree in a parseable format, including checksums.

xbatmon-simple: a very simple X client for displaying battery charge status.

xduplic-copier: a very simple X client for typing into multiple windows at once.

watershed: a utility for saving on superfluous executions of an idempotent command. (This is the same utility as shipped separately in Ubuntu’s udev, but with slightly different defaults and a different install location.)

rcopy-repeatedly: a utility for repeatedly copying a file from one host to another, to keep a copy constantly up to date.

acctdump: for reading process accounting files.

summer and watershed require the installation of the Recommended crypto libraries; xbatmon-simple needs the Suggested X libraries.

cgi-fcgi-interp: for use with cgi-fcgi as a #! interpreter

There are three methods to install chiark-utils-bin on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install chiark-utils-bin Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install chiark-utils-bin using apt-get by running the following command:

sudo apt-get -y install chiark-utils-bin

Install chiark-utils-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install chiark-utils-bin using apt by running the following command:

sudo apt -y install chiark-utils-bin

Install chiark-utils-bin Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install chiark-utils-bin using aptitude by running the following command:

sudo aptitude -y install chiark-utils-bin

How To Uninstall chiark-utils-bin on Ubuntu 18.04

To uninstall only the chiark-utils-bin package we can use the following command:

sudo apt-get remove chiark-utils-bin

Uninstall chiark-utils-bin And Its Dependencies

To uninstall chiark-utils-bin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove chiark-utils-bin

Remove chiark-utils-bin Configurations and Data

To remove chiark-utils-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge chiark-utils-bin

Remove chiark-utils-bin configuration, data, and all of its dependencies

We can use the following command to remove chiark-utils-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge chiark-utils-bin

References

Summary

In this tutorial we learn how to install chiark-utils-bin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.