How To Install golang-github-peterh-liner-devel on Fedora 36

In this tutorial we learn how to install golang-github-peterh-liner-devel in Fedora 36. golang-github-peterh-liner-devel is Pure go line editor with history, inspired by linenoise

Introduction

In this tutorial we learn how to install golang-github-peterh-liner-devel on Fedora 36.

What is golang-github-peterh-liner-devel

Liner is a command line editor with history. It was inspired by linenoise; everything Unix-like is a VT100 (or is trying very hard to be). If your terminal is not pretending to be a VT100, change it. Liner also support Windows. This package contains the source code needed for building packages that reference the following Go import paths – github.com/peterh/liner

We can use yum or dnf to install golang-github-peterh-liner-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-peterh-liner-devel.

Install golang-github-peterh-liner-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install golang-github-peterh-liner-devel using dnf by running the following command:

sudo dnf -y install golang-github-peterh-liner-devel

Install golang-github-peterh-liner-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install golang-github-peterh-liner-devel using yum by running the following command:

sudo yum -y install golang-github-peterh-liner-devel

How To Uninstall golang-github-peterh-liner-devel on Fedora 36

To uninstall only the golang-github-peterh-liner-devel package we can use the following command:

sudo dnf remove golang-github-peterh-liner-devel

golang-github-peterh-liner-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-peterh-liner-devel
/usr/share/doc/golang-github-peterh-liner-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/peterh
/usr/share/gocode/src/github.com/peterh/liner
/usr/share/gocode/src/github.com/peterh/liner/.goipath
/usr/share/gocode/src/github.com/peterh/liner/README.md
/usr/share/gocode/src/github.com/peterh/liner/bsdinput.go
/usr/share/gocode/src/github.com/peterh/liner/common.go
/usr/share/gocode/src/github.com/peterh/liner/fallbackinput.go
/usr/share/gocode/src/github.com/peterh/liner/glide.lock
/usr/share/gocode/src/github.com/peterh/liner/glide.yaml
/usr/share/gocode/src/github.com/peterh/liner/go.mod
/usr/share/gocode/src/github.com/peterh/liner/input.go
/usr/share/gocode/src/github.com/peterh/liner/input_darwin.go
/usr/share/gocode/src/github.com/peterh/liner/input_linux.go
/usr/share/gocode/src/github.com/peterh/liner/input_test.go
/usr/share/gocode/src/github.com/peterh/liner/input_windows.go
/usr/share/gocode/src/github.com/peterh/liner/line.go
/usr/share/gocode/src/github.com/peterh/liner/line_test.go
/usr/share/gocode/src/github.com/peterh/liner/output.go
/usr/share/gocode/src/github.com/peterh/liner/output_windows.go
/usr/share/gocode/src/github.com/peterh/liner/prefix_test.go
/usr/share/gocode/src/github.com/peterh/liner/race_test.go
/usr/share/gocode/src/github.com/peterh/liner/unixmode.go
/usr/share/gocode/src/github.com/peterh/liner/width.go
/usr/share/gocode/src/github.com/peterh/liner/width_test.go
/usr/share/licenses/golang-github-peterh-liner-devel
/usr/share/licenses/golang-github-peterh-liner-devel/COPYING

References

Summary

In this tutorial we learn how to install golang-github-peterh-liner-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).