Introduction
In this tutorial we learn how to install aspic
on Ubuntu 22.04.
What is aspic
aspic is:
Aspic is a program that generates line art images from a text
description of a picture that contains commands such as “lineâ€, “boxâ€,
“circleâ€, and “arcâ€. Aspic’s concept is similar to the “pic†command.
Output is either encapsulated PostScript, or Scalable Vector Graphics
(SVG). Quite complex pictures can be constructed from Aspic’s
primitives, which include facilities for positioning text alongside
graphics, and the use of colour.
There are three methods to install aspic
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 aspic Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install aspic
using apt-get
by running the following command:
sudo apt-get -y install aspic
Install aspic Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install aspic
using apt
by running the following command:
sudo apt -y install aspic
Install aspic 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 aspic
using aptitude
by running the following command:
sudo aptitude -y install aspic
How To Uninstall aspic on Ubuntu 22.04
To uninstall only the aspic
package we can use the following command:
sudo apt-get remove aspic
Uninstall aspic And Its Dependencies
To uninstall aspic
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove aspic
Remove aspic Configurations and Data
To remove aspic
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge aspic
Remove aspic configuration, data, and all of its dependencies
We can use the following command to remove aspic
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge aspic
References
Summary
In this tutorial we learn how to install aspic
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.