How To Install dict-gazetteer2k-counties on Debian 10

Learn how to install dict-gazetteer2k-counties on Debian 10 with this tutorial. dict-gazetteer2k-counties is Counties Database for the 2000 US Gazetteer

Introduction

In this tutorial we learn how to install dict-gazetteer2k-counties on Debian 10.

What is dict-gazetteer2k-counties

dict-gazetteer2k-counties is:

This is a database of (primarily) United States counties using information gathered in the 2000 census. Each entry contains:

  • Full name for the county
  • Type of entry (county, municipio, parish, borough, etc)
  • Total population and housing units
  • Total land and water area, in both mi^2 and km^2
  • State the county is within
  • Latitude and longitude of the county

There are three methods to install dict-gazetteer2k-counties on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dict-gazetteer2k-counties Using apt-get

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

sudo apt-get update

After updating apt database, We can install dict-gazetteer2k-counties using apt-get by running the following command:

sudo apt-get -y install dict-gazetteer2k-counties

Install dict-gazetteer2k-counties Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dict-gazetteer2k-counties using apt by running the following command:

sudo apt -y install dict-gazetteer2k-counties

Install dict-gazetteer2k-counties 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dict-gazetteer2k-counties using aptitude by running the following command:

sudo aptitude -y install dict-gazetteer2k-counties

How To Uninstall dict-gazetteer2k-counties on Debian 10

To uninstall only the dict-gazetteer2k-counties package we can use the following command:

sudo apt-get remove dict-gazetteer2k-counties

Uninstall dict-gazetteer2k-counties And Its Dependencies

To uninstall dict-gazetteer2k-counties and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove dict-gazetteer2k-counties

Remove dict-gazetteer2k-counties Configurations and Data

To remove dict-gazetteer2k-counties configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge dict-gazetteer2k-counties

Remove dict-gazetteer2k-counties configuration, data, and all of its dependencies

We can use the following command to remove dict-gazetteer2k-counties configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dict-gazetteer2k-counties

Dependencies

dict-gazetteer2k-counties have the following dependencies:

References

Summary

In this tutorial we learn how to install dict-gazetteer2k-counties package on Debian 10 using different package management tools: apt, apt-get and aptitude.