How To Install ghc-language-docker on Fedora 36

In this tutorial we learn how to install ghc-language-docker in Fedora 36. ghc-language-docker is Dockerfile parser, pretty-printer and embedded DSL

Introduction

In this tutorial we learn how to install ghc-language-docker on Fedora 36.

What is ghc-language-docker

All functions for parsing and pretty-printing Dockerfiles are exported through ‘Language.Docker’. For more fine-grained operations look for specific modules that implement a certain functionality. See the <https source-code and examples.

We can use yum or dnf to install ghc-language-docker on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-language-docker.

Install ghc-language-docker 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 ghc-language-docker using dnf by running the following command:

sudo dnf -y install ghc-language-docker

Install ghc-language-docker 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 ghc-language-docker using yum by running the following command:

sudo yum -y install ghc-language-docker

How To Uninstall ghc-language-docker on Fedora 36

To uninstall only the ghc-language-docker package we can use the following command:

sudo dnf remove ghc-language-docker

ghc-language-docker Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/c3a1704a112e23c7dab88b3333f69f3937500b
/usr/lib64/libHSlanguage-docker-10.1.0-oHY2zuhDi59FG3B5zoM7p-ghc8.10.5.so
/usr/share/licenses/ghc-language-docker
/usr/share/licenses/ghc-language-docker/LICENSE

References

Summary

In this tutorial we learn how to install ghc-language-docker on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).