How To Install chiark-scripts on Ubuntu 22.04

In this tutorial we learn how to install chiark-scripts on Ubuntu 22.04. chiark-scripts is chiark system administration scripts

Introduction

In this tutorial we learn how to install chiark-scripts on Ubuntu 22.04.

What is chiark-scripts

chiark-scripts 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. Featuring:

fishdescriptor: a tool for extracting a file descriptor from another (non-cooperating) process and giving it to you (or for examining it). Requires gdb and python3.

chiark-named-conf: a tool for managing nameserver configurations and checking for suspected DNS problems. Its main functions are to check that delegations are appropriate and working, that secondary zones are slaved from the right places, and to generate a configuration for BIND, from its own input file.

sync-accounts: a simple but flexible account info synchroniser. sync-accounts is a tool for copying un*x account data from remote systems and installing it locally. It is flexible and reasonably straightforward, but lacks integration with other distributed databases such as NIS.

cvs-repomove and cvs-adjustroot: tools for moving CVS repositories and adjusting working trees.

palm-datebook-reminders: a program which emails mails you reminders about the appointments in your Palm’s Datebook.

cvsweb-list: cgi program to list ucgi (userv-utils) cvsweb repos

expire-iso8601: keep or expire backup trees named after their dates

gnucap2genspic, ngspice2genspic, genspic2gnuplot: convert gnucap files and ngspice output files to genspic and genspic files to gnuplot input so they can be plotted.

hexterm: connects to serial port and allows the user interact in ASCII and hex. Ie, a hex “terminal” program which lets you speak a serial port protocol directly. (Needs tcl8.4 to be installed.)

git-branchmove, random-word, remountresizereiserfs, summarise-mailbox-preserving-privacy

There are three methods to install chiark-scripts on Ubuntu 22.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-scripts 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-scripts using apt-get by running the following command:

sudo apt-get -y install chiark-scripts

Install chiark-scripts Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install chiark-scripts

Install chiark-scripts 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-scripts using aptitude by running the following command:

sudo aptitude -y install chiark-scripts

How To Uninstall chiark-scripts on Ubuntu 22.04

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

sudo apt-get remove chiark-scripts

Uninstall chiark-scripts And Its Dependencies

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

sudo apt-get -y autoremove chiark-scripts

Remove chiark-scripts Configurations and Data

To remove chiark-scripts configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge chiark-scripts

Remove chiark-scripts configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge chiark-scripts

References

Summary

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