How To Install libsmartcols-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libsmartcols-dev
on Ubuntu 20.04.
What is libsmartcols-dev
libsmartcols-dev is:
This smart column output alignment library is used by fdisk utilities.
This package contains the development environment for the mount library.
Package: libsmartcols-dev Architecture: amd64 Version: 2.34-0.1ubuntu9 Multi-Arch: same Priority: optional Section: libdevel 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: 598 Depends: libc6-dev | libc-dev, libsmartcols1 (= 2.34-0.1ubuntu9) Filename: pool/main/u/util-linux/libsmartcols-dev_2.34-0.1ubuntu9_amd64.deb Size: 114664 MD5sum: e5d671310d1f769ef660f1850722c4ec SHA1: 2492148b1a84647066e7fb55d664b24b11a0a309 SHA256: 09471359bf928744ec60c5e1f81ff8bd4b3a597fa030aad45c51c43ed08a4f59 Description-en: smart column output alignment library - headers and static libraries This smart column output alignment library is used by fdisk utilities.
This package contains the development environment for the mount library.
There are three methods to install libsmartcols-dev
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 libsmartcols-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libsmartcols-dev
using apt-get
by running the following command:
sudo apt-get -y install libsmartcols-dev
Install libsmartcols-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsmartcols-dev
using apt
by running the following command:
sudo apt -y install libsmartcols-dev
Install libsmartcols-dev 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 libsmartcols-dev
using aptitude
by running the following command:
sudo aptitude -y install libsmartcols-dev
How To Uninstall libsmartcols-dev on Ubuntu 20.04
To uninstall only the libsmartcols-dev
package we can use the following command:
sudo apt-get remove libsmartcols-dev
Uninstall libsmartcols-dev And Its Dependencies
To uninstall libsmartcols-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libsmartcols-dev
Remove libsmartcols-dev Configurations and Data
To remove libsmartcols-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libsmartcols-dev
Remove libsmartcols-dev configuration, data, and all of its dependencies
We can use the following command to remove libsmartcols-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsmartcols-dev
References
Summary
In this tutorial we learn how to install libsmartcols-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.