How To Install golang-github-googleapis-gnostic-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install golang-github-googleapis-gnostic-dev
on Ubuntu 20.04.
What is golang-github-googleapis-gnostic-dev
golang-github-googleapis-gnostic-dev is:
Protocol Buffers (https://developers.google.com/protocol-buffers/) provide a language-neutral, platform-neutral, extensible mechanism for serializing structured data. gnostic’s Protocol Buffer models for the OpenAPI Specification can be used to generate code that includes data structures with explicit fields for the elements of an OpenAPI description. This makes it possible for developers to work with OpenAPI descriptions in type-safe ways, which is particularly useful in strongly-typed languages like Go and Swift.
gnostic reads OpenAPI descriptions into these generated data structures, reports errors, resolves internal dependencies, and writes the results in a binary form that can be used in any language that is supported by the Protocol Buffer tools. A plugin interface simplifies integration with API tools written in a variety of different languages, and when necessary, Protocol Buffer OpenAPI descriptions can be reexported as JSON or YAML.
This package provides the development files.
There are three methods to install golang-github-googleapis-gnostic-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install golang-github-googleapis-gnostic-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-googleapis-gnostic-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-googleapis-gnostic-dev
Install golang-github-googleapis-gnostic-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-googleapis-gnostic-dev
using apt
by running the following command:
sudo apt -y install golang-github-googleapis-gnostic-dev
Install golang-github-googleapis-gnostic-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install golang-github-googleapis-gnostic-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-googleapis-gnostic-dev
How To Uninstall golang-github-googleapis-gnostic-dev on Ubuntu 20.04
To uninstall only the golang-github-googleapis-gnostic-dev
package we can use the following command:
sudo apt-get remove golang-github-googleapis-gnostic-dev
Uninstall golang-github-googleapis-gnostic-dev And Its Dependencies
To uninstall golang-github-googleapis-gnostic-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove golang-github-googleapis-gnostic-dev
Remove golang-github-googleapis-gnostic-dev Configurations and Data
To remove golang-github-googleapis-gnostic-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge golang-github-googleapis-gnostic-dev
Remove golang-github-googleapis-gnostic-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-googleapis-gnostic-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-googleapis-gnostic-dev
References
- golang-github-googleapis-gnostic-dev website
- golang-github-googleapis-gnostic-dev on packages.ubuntu.com
Summary
In this tutorial we learn how to install golang-github-googleapis-gnostic-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.