How To Install libblkid1 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libblkid1
on Ubuntu 20.04.
What is libblkid1
libblkid1 is:
The blkid library allows system programs such as fsck and mount to quickly and easily find block devices by filesystem UUID or label. This allows system administrators to avoid specifying filesystems by hard-coded device names and use a logical naming system instead. Task: minimal
Package: libblkid1 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: 439 Depends: libc6 (>= 2.25) Filename: pool/main/u/util-linux/libblkid1_2.34-0.1ubuntu9_amd64.deb Size: 136716 MD5sum: d064470524e99f3d3cdf7331716c7541 SHA1: b7a7859b6e46fdcc543a1f9c54939c15ce69b98b SHA256: 0fa097b34f492d0dd8fc8a7d916321534f8710a7319d055d6b24e9b8ef0e0f32 Description-en: block device ID library The blkid library allows system programs such as fsck and mount to quickly and easily find block devices by filesystem UUID or label. This allows system administrators to avoid specifying filesystems by hard-coded device names and use a logical naming system instead. Task: minimal
There are three methods to install libblkid1
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 libblkid1 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libblkid1
using apt-get
by running the following command:
sudo apt-get -y install libblkid1
Install libblkid1 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libblkid1
using apt
by running the following command:
sudo apt -y install libblkid1
Install libblkid1 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 libblkid1
using aptitude
by running the following command:
sudo aptitude -y install libblkid1
How To Uninstall libblkid1 on Ubuntu 20.04
To uninstall only the libblkid1
package we can use the following command:
sudo apt-get remove libblkid1
Uninstall libblkid1 And Its Dependencies
To uninstall libblkid1
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libblkid1
Remove libblkid1 Configurations and Data
To remove libblkid1
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libblkid1
Remove libblkid1 configuration, data, and all of its dependencies
We can use the following command to remove libblkid1
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libblkid1
References
Summary
In this tutorial we learn how to install libblkid1
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.