How To Install hamradio-files on Ubuntu 22.04

In this tutorial we learn how to install hamradio-files on Ubuntu 22.04. hamradio-files is Ham radio call sign and prefix lists

Introduction

In this tutorial we learn how to install hamradio-files on Ubuntu 22.04.

What is hamradio-files

hamradio-files is:

Ham radio call signs start with prefixes that indicate which country issued their license. The country files are listings of these prefixes together with exceptions for use in logging software. The Super Check Partial database files provide a list of call signs used by active contesters.

Contained files:

  • cty.csv, cty.dat (“bigcty” from country-files.com)
  • MASTER.SCP (from supercheckpartial.com)
  • WAG_call_history.txt (from www.dk9tn.de/downloads.php)

There are three methods to install hamradio-files 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 hamradio-files Using apt-get

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

sudo apt-get update

After updating apt database, We can install hamradio-files using apt-get by running the following command:

sudo apt-get -y install hamradio-files

Install hamradio-files Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hamradio-files

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

sudo aptitude -y install hamradio-files

How To Uninstall hamradio-files on Ubuntu 22.04

To uninstall only the hamradio-files package we can use the following command:

sudo apt-get remove hamradio-files

Uninstall hamradio-files And Its Dependencies

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

sudo apt-get -y autoremove hamradio-files

Remove hamradio-files Configurations and Data

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

sudo apt-get -y purge hamradio-files

Remove hamradio-files configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hamradio-files

References

Summary

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