How To Install golang-github-kr-pty-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install golang-github-kr-pty-devel.x86_64 in Amazon Linux 2. golang-github-kr-pty-devel.x86_64 is PTY interface for Go

Introduction

In this tutorial we learn how to install golang-github-kr-pty-devel.x86_64 on Amazon Linux 2.

What is golang-github-kr-pty-devel.x86_64

Pty is a Go package for using UNIX pseudo-terminals. This package contains library source intended for building other packages which use kr/pty.

We can use yum to install golang-github-kr-pty-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-kr-pty-devel.x86_64.

Install golang-github-kr-pty-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install golang-github-kr-pty-devel.x86_64 using yum by running the following command:

sudo yum -y install golang-github-kr-pty-devel.x86_64

How To Uninstall golang-github-kr-pty-devel.x86_64 on Amazon Linux 2

To uninstall only the golang-github-kr-pty-devel.x86_64 package we can use the following command:

sudo yum remove golang-github-kr-pty-devel.x86_64

golang-github-kr-pty-devel.x86_64 Package Contents on Amazon Linux 2

/usr/share/doc/golang-github-kr-pty-devel-0
/usr/share/doc/golang-github-kr-pty-devel-0/License
/usr/share/doc/golang-github-kr-pty-devel-0/README.md
/usr/share/gocode
/usr/share/gocode/src
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/kr
/usr/share/gocode/src/github.com/kr/pty
/usr/share/gocode/src/github.com/kr/pty/doc.go
/usr/share/gocode/src/github.com/kr/pty/pty_darwin.go
/usr/share/gocode/src/github.com/kr/pty/pty_freebsd.go
/usr/share/gocode/src/github.com/kr/pty/pty_linux.go
/usr/share/gocode/src/github.com/kr/pty/pty_unsupported.go
/usr/share/gocode/src/github.com/kr/pty/run.go
/usr/share/gocode/src/github.com/kr/pty/util.go

References

Summary

In this tutorial we learn how to install golang-github-kr-pty-devel.x86_64 on Amazon Linux 2 using yum.