How To Install libsmartcols1 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libsmartcols1
on Ubuntu 20.04.
What is libsmartcols1
libsmartcols1 is:
This smart column output alignment library is used by fdisk utilities. Task: minimal
Package: libsmartcols1 Architecture: amd64 Version: 2.34-0.1ubuntu9 Multi-Arch: same Priority: required Section: libs Source: util-linux Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: LaMont Jones [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 337 Depends: libc6 (>= 2.25) Filename: pool/main/u/util-linux/libsmartcols1_2.34-0.1ubuntu9_amd64.deb Size: 100280 MD5sum: 7abb433716471418b3d6c11365402dc7 SHA1: d1298edb58485501e093140a9407fcc95d4f7da8 SHA256: 08006bdc4710f9f324aa809ab7daad397c4ea1e57c4949d90e4cded291562ab6 Description-en: smart column output alignment library This smart column output alignment library is used by fdisk utilities. Task: minimal
There are three methods to install libsmartcols1
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 libsmartcols1 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libsmartcols1
using apt-get
by running the following command:
sudo apt-get -y install libsmartcols1
Install libsmartcols1 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsmartcols1
using apt
by running the following command:
sudo apt -y install libsmartcols1
Install libsmartcols1 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 libsmartcols1
using aptitude
by running the following command:
sudo aptitude -y install libsmartcols1
How To Uninstall libsmartcols1 on Ubuntu 20.04
To uninstall only the libsmartcols1
package we can use the following command:
sudo apt-get remove libsmartcols1
Uninstall libsmartcols1 And Its Dependencies
To uninstall libsmartcols1
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libsmartcols1
Remove libsmartcols1 Configurations and Data
To remove libsmartcols1
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libsmartcols1
Remove libsmartcols1 configuration, data, and all of its dependencies
We can use the following command to remove libsmartcols1
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsmartcols1
References
Summary
In this tutorial we learn how to install libsmartcols1
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.