How To Install dict-gazetteer2k-places on Ubuntu 18.04
Introduction
In this tutorial we learn how to install dict-gazetteer2k-places
on Ubuntu 18.04.
What is dict-gazetteer2k-places
dict-gazetteer2k-places is:
This is a database of (primarily) United States cities using information gathered in the 2000 census. Each entry contains:
- Full name for the city
- Type of entry (city, borough, village, etc)
- Total population and housing units
- Total land and water area, given in both square miles and square kilometers
- Government FIPS code
- State the city is within
- Latitude and longitude of the city
- ZIP codes for the location from 1990.
There are three methods to install dict-gazetteer2k-places
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 dict-gazetteer2k-places 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-places
using apt-get
by running the following command:
sudo apt-get -y install dict-gazetteer2k-places
Install dict-gazetteer2k-places Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dict-gazetteer2k-places
using apt
by running the following command:
sudo apt -y install dict-gazetteer2k-places
Install dict-gazetteer2k-places 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 dict-gazetteer2k-places
using aptitude
by running the following command:
sudo aptitude -y install dict-gazetteer2k-places
How To Uninstall dict-gazetteer2k-places on Ubuntu 18.04
To uninstall only the dict-gazetteer2k-places
package we can use the following command:
sudo apt-get remove dict-gazetteer2k-places
Uninstall dict-gazetteer2k-places And Its Dependencies
To uninstall dict-gazetteer2k-places
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove dict-gazetteer2k-places
Remove dict-gazetteer2k-places Configurations and Data
To remove dict-gazetteer2k-places
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge dict-gazetteer2k-places
Remove dict-gazetteer2k-places configuration, data, and all of its dependencies
We can use the following command to remove dict-gazetteer2k-places
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dict-gazetteer2k-places
References
Summary
In this tutorial we learn how to install dict-gazetteer2k-places
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.