How To Install uuid on CentOS 8
Introduction
In this tutorial we learn how to install uuid
on CentOS 8.
What is uuid
OSSP uuid is a ISO-C and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578 Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). Additional API bindings are provided for the languages ISO-C++ Optional backward compatibility exists for the ISO-C DCE-1.1 and Perl Data uuid 1.6.2 43.el8 x86_64 64 k uuid-1.6.2-43.el8.src.rpm appstream Universally Unique Identifier library http MIT OSSP uuid is a ISO-C and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578 Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). Additional API bindings are provided for the languages ISO-C++ Optional backward compatibility exists for the ISO-C DCE-1.1 and Perl Data
We can use yum
or dnf
to install uuid
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install uuid.
Install uuid on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install uuid
using dnf
by running the following command:
sudo dnf -y install uuid
Install uuid on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install uuid
using yum
by running the following command:
sudo yum -y install uuid
How To Uninstall uuid on CentOS 8
To uninstall only the uuid
package we can use the following command:
sudo dnf remove uuid
uuid Package Contents on CentOS 8
/usr/bin/uuid
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/509f18d3584d5d74d1e7e86991338d19ad88e7
/usr/lib/.build-id/86
/usr/lib/.build-id/86/83af464ee5f91058fa58b778d92aba10e26112
/usr/lib/libossp-uuid.so.16
/usr/lib/libossp-uuid.so.16.0.22
/usr/share/doc/uuid
/usr/share/doc/uuid/AUTHORS
/usr/share/doc/uuid/ChangeLog
/usr/share/doc/uuid/HISTORY
/usr/share/doc/uuid/NEWS
/usr/share/doc/uuid/PORTING
/usr/share/doc/uuid/README
/usr/share/doc/uuid/SEEALSO
/usr/share/doc/uuid/THANKS
/usr/share/doc/uuid/TODO
/usr/share/doc/uuid/USERS
/usr/share/man/man1/uuid.1.gz
/usr/bin/uuid
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/cbcbe9a4be93fa383849414c7d5a6fee413af4
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/d5c6a29f9d55892beeef6399be45e90f486855
/usr/lib64/libossp-uuid.so.16
/usr/lib64/libossp-uuid.so.16.0.22
/usr/share/doc/uuid
/usr/share/doc/uuid/AUTHORS
/usr/share/doc/uuid/ChangeLog
/usr/share/doc/uuid/HISTORY
/usr/share/doc/uuid/NEWS
/usr/share/doc/uuid/PORTING
/usr/share/doc/uuid/README
/usr/share/doc/uuid/SEEALSO
/usr/share/doc/uuid/THANKS
/usr/share/doc/uuid/TODO
/usr/share/doc/uuid/USERS
/usr/share/man/man1/uuid.1.gz
References
- [uuid website](http://www.ossp.org/pkg/lib/uuid/ http://www.ossp.org/pkg/lib/uuid/)
Summary
In this tutorial we learn how to install uuid
on CentOS 8 using yum and dnf.