How to Install and Uninstall gh Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 11,2024

1. Install "gh" package

This guide let you learn how to install gh on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install gh

2. Uninstall "gh" package

This tutorial shows how to uninstall gh on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove gh $ sudo apt autoclean && sudo apt autoremove

3. Information about the gh package on Ubuntu 22.10 (Kinetic Kudu)

Package: gh
Architecture: amd64
Version: 2.14.4+dfsg1-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34279
Depends: libc6 (>= 2.34)
Conflicts: gitsome (<< 0.8.0+ds-7.1)
Filename: pool/universe/g/gh/gh_2.14.4+dfsg1-1_amd64.deb
Size: 6607348
MD5sum: af08e8245585ae0b11ee08e99d8a7a52
SHA1: 9e7a23589f83899ec14e55219313565957aeb2c1
SHA256: e4af554562982ce1e3a895d0faa6ad25fd79f4b0187b6b3a9460fa8d30c4e0cd
SHA512: 612436ea68074e2e100a899c225aa10087d82134ac244fa513d60dc8906f749a7937b62baf76f9179974d9a51cf770599ea8d0aff82f0bc60e23a6d6cec117be
Homepage: https://cli.github.com/
Description: GitHub CLI, GitHub’s official command line tool
Description-md5: 3d12a99dda569158626806f640f0120d
Static-Built-Using: go-md2man-v2 (= 2.0.2+ds1-1), gojq (= 0.12.8-1), golang-1.19 (= 1.19-1ubuntu2), golang-blackfriday-v2 (= 2.1.0-1), golang-github-alecaivazis-survey (= 2.3.5+ds1-1), golang-github-alecthomas-chroma (= 0.10.0-3), golang-github-aymerick-douceur (= 0.2.0-3), golang-github-briandowns-spinner (= 1.18.1+ds1-1), golang-github-charmbracelet-glamour (= 0.4.0-1), golang-github-charmbracelet-lipgloss (= 0.5.0-1), golang-github-cli-browser (= 1.1.0-1), golang-github-cli-go-gh (= 0.1.0-1), golang-github-cli-oauth (= 0.9.0-1), golang-github-cli-safeexec (= 1.0.0-2), golang-github-cli-shurcool-graphql (= 0.0.1-2), golang-github-davecgh-go-spew (= 1.1.1-3), golang-github-dlclark-regexp2 (= 1.4.0+ds1-1), golang-github-fatih-color (= 1.7.0-1), golang-github-gabriel-vasile-mimetype (= 1.4.1+dfsg1-1), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-gorilla-css (= 1.0.0-2), golang-github-gorilla-websocket (= 1.5.0-1), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-1), golang-github-hashicorp-go-version (= 1.3.0-1), golang-github-henvic-httpretty (= 0.0.6-3), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-joho-godotenv (= 1.4.0-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-1), golang-github-lucasb-eyer-go-colorful (= 1.2.0-1), golang-github-makenowjust-heredoc (= 1.0.0-1), golang-github-mattn-go-colorable (= 0.1.12-1), golang-github-mattn-go-isatty (= 0.0.14-1), golang-github-mattn-go-runewidth (= 0.0.13-2), golang-github-mgutz-ansi (= 0.0~git20200706.d51e80e-1), golang-github-microcosm-cc-bluemonday (= 1.0.18-2), golang-github-muesli-reflow (= 0.3.0-2), golang-github-muesli-termenv (= 0.12.0-1), golang-github-muhammadmuzzammil1998-jsonc (= 0.0~git20201229.615b091-2), golang-github-olekukonko-tablewriter (= 0.0.5-1), golang-github-opentracing-opentracing-go (= 1.2.0-1), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rivo-uniseg (= 0.2.0-1), golang-github-shurcool-githubv4 (= 0.0~git20210725.83ba7b4-3), golang-github-shurcool-graphql (= 0.0~git20200928.18c5c31-5), golang-github-sourcegraph-jsonrpc2 (= 0.1.0-3), golang-github-spf13-cobra (= 1.4.0-2), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-thlib-go-timezone-local (= 0.0~git20210907.ef149e4-3), golang-github-yuin-goldmark (= 1.4.13-1), golang-github-yuin-goldmark-emoji (= 1.0.1-2), golang-golang-x-net (= 1:0.0+git20220728.c7608f3+dfsg-2), golang-golang-x-sync (= 0.0~git20220722.886fb93-1), golang-golang-x-sys (= 0.0~git20220731.a90be44-1), golang-golang-x-term (= 0.0~git20220526.065cf7b-1), golang-golang-x-text (= 0.3.7-1), golang-gopkg-yaml.v3 (= 3.0.1-1), golang-objx (= 0.4.0-1), golang-testify (= 1.7.5-1)