How To Install golang-github-stretchr-objx-devel on CentOS 7
Introduction
In this tutorial we learn how to install golang-github-stretchr-objx-devel on CentOS 7.
What is golang-github-stretchr-objx-devel
Objx provides the
objx.Maptype, which is amap[string]interface{}that exposes a powerfulGetmethod (among others) that allows you to easily and quickly get access to data within the map, without having to worry too much about type assertions, missing data, default values etc. This package contains library source intended for building other packages which use import path with github.com/stretchr/objx prefix.
We can use yum or dnf to install golang-github-stretchr-objx-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-stretchr-objx-devel.
Install golang-github-stretchr-objx-devel on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install golang-github-stretchr-objx-devel using yum by running the following command:
sudo yum -y install golang-github-stretchr-objx-devel
Install golang-github-stretchr-objx-devel on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install golang-github-stretchr-objx-devel using dnf by running the following command:
sudo dnf -y install golang-github-stretchr-objx-devel
How To Uninstall golang-github-stretchr-objx-devel on CentOS 7
To uninstall only the golang-github-stretchr-objx-devel package we can use the following command:
sudo dnf remove golang-github-stretchr-objx-devel
References
Summary
In this tutorial we learn how to install golang-github-stretchr-objx-devel on CentOS 7 using yum and dnf.