How To Install slib on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 363 words
Introduction
In this tutorial we learn how to install slib on Ubuntu.
What is slib
slib is:
SLIB is a portable scheme library meant to provide compatibility and utility functions for all standard scheme implementations. SLIB includes initialization files for Chez, ELK 2.1, GAMBIT, MacScheme, MITScheme, scheme->C, Scheme48, T3.1, and VSCM. SCM also supports SLIB.
There are three methods to install slib 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 slib Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install slib using apt-get by running the following command:
sudo apt-get -y install slib
Install slib Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install slib using apt by running the following command:
sudo apt -y install slib
Install slib 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 slib using aptitude by running the following command:
sudo aptitude -y install slib
How To Uninstall slib on Ubuntu
To uninstall only the slib package we can use the following command:
sudo apt-get remove slib
Uninstall slib And Its Dependencies
To uninstall slib and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove slib
Remove slib Configurations and Data
To remove slib configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge slib
Remove slib configuration, data, and all of its dependencies
We can use the following command to remove slib configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge slib
Dependencies
slib have the following dependencies:
References
Summary
In this tutorial we learn how to install slib package on Ubuntu using different package management tools: apt, apt-get and aptitude.