How To Install icon-slicer on Ubuntu 20.04
Introduction
In this tutorial we learn how to install icon-slicer
on Ubuntu 20.04.
What is icon-slicer
icon-slicer is:
The inputs to icon-slicer are conceptually:
- A set of multi-layer images, one for each size
- Am XML theme description file
Each image contains all the cursors arranged in a grid; For cursors the layers are:
- A layer with a dot for the hotspot of each cursor
- The main image or first animation frame for multi-frame animated cursors
- The second animation frame for multi-frame animated cursors
- …
For icons, the layers are:
- A layer with the images
- An optional layer with attachment points for emblems
- An optional layer with boxes for embedding text into icons
In practice, since loading of multilayer images is not supported by standard image libraries, each layer is input as a separate image file.
The theme description file contains, among other things, information about the source images to read, the location of each named cursor or icon within the grid, and a set of aliases from names to other names.
There are three methods to install icon-slicer
on Ubuntu 20.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 icon-slicer Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install icon-slicer
using apt-get
by running the following command:
sudo apt-get -y install icon-slicer
Install icon-slicer Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install icon-slicer
using apt
by running the following command:
sudo apt -y install icon-slicer
Install icon-slicer 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 icon-slicer
using aptitude
by running the following command:
sudo aptitude -y install icon-slicer
How To Uninstall icon-slicer on Ubuntu 20.04
To uninstall only the icon-slicer
package we can use the following command:
sudo apt-get remove icon-slicer
Uninstall icon-slicer And Its Dependencies
To uninstall icon-slicer
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove icon-slicer
Remove icon-slicer Configurations and Data
To remove icon-slicer
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge icon-slicer
Remove icon-slicer configuration, data, and all of its dependencies
We can use the following command to remove icon-slicer
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge icon-slicer
References
Summary
In this tutorial we learn how to install icon-slicer
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.