How To Install cl-simple-date on Ubuntu 22.04
Introduction
In this tutorial we learn how to install cl-simple-date
on Ubuntu 22.04.
What is cl-simple-date
cl-simple-date is:
Simple-date provides types (CLOS classes) for dates, timestamps, and intervals similar to the ones SQL databases use, in order to be able to store and read these to and from a database in a straightforward way. A few obvious operations are defined on these types.
The most glaring defect of this library is its ignorance of time zones. It pretends the whole world lives in UTC. Use with care.
When this library is loaded after CL-postgres, it will register suitable SQL readers and writers for the associated database types.
There are three methods to install cl-simple-date
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 cl-simple-date Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cl-simple-date
using apt-get
by running the following command:
sudo apt-get -y install cl-simple-date
Install cl-simple-date Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cl-simple-date
using apt
by running the following command:
sudo apt -y install cl-simple-date
Install cl-simple-date 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 cl-simple-date
using aptitude
by running the following command:
sudo aptitude -y install cl-simple-date
How To Uninstall cl-simple-date on Ubuntu 22.04
To uninstall only the cl-simple-date
package we can use the following command:
sudo apt-get remove cl-simple-date
Uninstall cl-simple-date And Its Dependencies
To uninstall cl-simple-date
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove cl-simple-date
Remove cl-simple-date Configurations and Data
To remove cl-simple-date
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge cl-simple-date
Remove cl-simple-date configuration, data, and all of its dependencies
We can use the following command to remove cl-simple-date
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cl-simple-date
References
Summary
In this tutorial we learn how to install cl-simple-date
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.