How To Install golang-github-deepmap-oapi-codegen on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-deepmap-oapi-codegen
on Fedora 36.
What is golang-github-deepmap-oapi-codegen
Generate Go client and server boilerplate from OpenAPI 3 specifications.
We can use yum
or dnf
to install golang-github-deepmap-oapi-codegen
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-deepmap-oapi-codegen.
Install golang-github-deepmap-oapi-codegen 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-deepmap-oapi-codegen
using dnf
by running the following command:
sudo dnf -y install golang-github-deepmap-oapi-codegen
Install golang-github-deepmap-oapi-codegen 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-deepmap-oapi-codegen
using yum
by running the following command:
sudo yum -y install golang-github-deepmap-oapi-codegen
How To Uninstall golang-github-deepmap-oapi-codegen on Fedora 36
To uninstall only the golang-github-deepmap-oapi-codegen
package we can use the following command:
sudo dnf remove golang-github-deepmap-oapi-codegen
golang-github-deepmap-oapi-codegen Package Contents on Fedora 36
/usr/bin/oapi-codegen
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/e348dbfd91597fc05fac351f539673afc9dea3
/usr/share/doc/golang-github-deepmap-oapi-codegen
/usr/share/doc/golang-github-deepmap-oapi-codegen/README.md
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/README.md
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi/api
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi/api/petstore.gen.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi/api/petstore.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi/petstore.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/chi/petstore_test.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api/petstore-server.gen.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api/petstore-types.gen.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api/petstore.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api/server.cfg.yaml
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/api/types.cfg.yaml
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/petstore.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/echo/petstore_test.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/internal
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/internal/doc.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/petstore-client.gen.go
/usr/share/doc/golang-github-deepmap-oapi-codegen/examples/petstore-expanded/petstore-expanded.yaml
/usr/share/licenses/golang-github-deepmap-oapi-codegen
/usr/share/licenses/golang-github-deepmap-oapi-codegen/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-deepmap-oapi-codegen
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).