How To Install fonts-material-design-icons-iconfont on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 391 words
Introduction
In this tutorial we learn how to install fonts-material-design-icons-iconfont on Ubuntu.
What is fonts-material-design-icons-iconfont
fonts-material-design-icons-iconfont is:
Material Design icons are the official icon set from Google designed under the Material Design guidelines.
This package is a fork of the official upstream project and includes many fixes and improvements, such as missing icons. The package contains the Material Icons font in TrueType format, Embedded OpenType format and both versions of the Web Open Font Format. It also includes the Material Design icons Cascading Style Sheet.
There are three methods to install fonts-material-design-icons-iconfont on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fonts-material-design-icons-iconfont Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fonts-material-design-icons-iconfont using apt-get by running the following command:
sudo apt-get -y install fonts-material-design-icons-iconfont
Install fonts-material-design-icons-iconfont Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fonts-material-design-icons-iconfont using apt by running the following command:
sudo apt -y install fonts-material-design-icons-iconfont
Install fonts-material-design-icons-iconfont 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 fonts-material-design-icons-iconfont using aptitude by running the following command:
sudo aptitude -y install fonts-material-design-icons-iconfont
How To Uninstall fonts-material-design-icons-iconfont on Ubuntu
To uninstall only the fonts-material-design-icons-iconfont package we can use the following command:
sudo apt-get remove fonts-material-design-icons-iconfont
Uninstall fonts-material-design-icons-iconfont And Its Dependencies
To uninstall fonts-material-design-icons-iconfont and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove fonts-material-design-icons-iconfont
Remove fonts-material-design-icons-iconfont Configurations and Data
To remove fonts-material-design-icons-iconfont configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge fonts-material-design-icons-iconfont
Remove fonts-material-design-icons-iconfont configuration, data, and all of its dependencies
We can use the following command to remove fonts-material-design-icons-iconfont configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fonts-material-design-icons-iconfont
Dependencies
fonts-material-design-icons-iconfont have the following dependencies:
References
Summary
In this tutorial we learn how to install fonts-material-design-icons-iconfont package on Ubuntu using different package management tools: apt, apt-get and aptitude.