How to Install and Uninstall gh Package on Ubuntu 23.10 (Mantic Minotaur)
Last updated: November 07,2024
1. Install "gh" package
Learn how to install gh on Ubuntu 23.10 (Mantic Minotaur)
$
sudo apt update
Copied
$
sudo apt install
gh
Copied
2. Uninstall "gh" package
Please follow the guidance below to uninstall gh on Ubuntu 23.10 (Mantic Minotaur):
$
sudo apt remove
gh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gh package on Ubuntu 23.10 (Mantic Minotaur)
Package: gh
Architecture: amd64
Version: 2.27.0+dfsg1-1ubuntu0.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: 41815
Depends: libc6 (>= 2.34)
Conflicts: gitsome (<< 0.8.0+ds-7.1)
Filename: pool/universe/g/gh/gh_2.27.0+dfsg1-1ubuntu0.1_amd64.deb
Size: 8412368
MD5sum: 4c5aa10be7a16371f7d65be5ca9f188f
SHA1: d1223b3a6bd614bcce21a07b44191ad2e1530a0d
SHA256: 03d4c48682d359e70d33aeceda724a418d0128f582d276b341a7c3ec38a9a1da
SHA512: 5d6f0995e4e2f2ba83b71a1f2b07e51c83491b42459d03e9694ebe523971a44fbda30eb5450d5fcefc016a82aa3ca0eee9515fdcb393abc2944d12f2acec1f73
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-1build1), gojq (= 0.12.11-1build1), golang-1.21 (= 1.21.1-1ubuntu0.23.10.1), golang-blackfriday-v2 (= 2.1.0-1), golang-dbus (= 5.1.0-1), golang-github-alecaivazis-survey (= 2.3.6+ds1-1), golang-github-alecthomas-chroma (= 0.10.0-3build1), golang-github-aymanbagabas-go-osc52 (= 1.2.1-1), golang-github-aymerick-douceur (= 0.2.0-3build1), golang-github-briandowns-spinner (= 1.18.1+ds1-1), golang-github-cenkalti-backoff (= 4.2.1-1), golang-github-charmbracelet-glamour (= 0.5.0-2), golang-github-charmbracelet-lipgloss (= 0.5.0-1), golang-github-cli-browser (= 1.1.0-2), golang-github-cli-go-gh (= 1.2.1-1), golang-github-cli-oauth (= 1.0.1-1), golang-github-cli-safeexec (= 1.0.1-1), golang-github-cli-shurcool-graphql (= 0.0.2-1), 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.2+dfsg1-1), golang-github-gdamore-encoding (= 1.0.0-3), golang-github-gdamore-tcell.v2 (= 2.6.0-1), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-gorilla-css (= 1.0.0-3), golang-github-gorilla-websocket (= 1.5.0-2), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-2), golang-github-hashicorp-go-version (= 1.6.0-1), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-joho-godotenv (= 1.5.1-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-2), 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.13-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mgutz-ansi (= 0.0~git20200706.d51e80e-1), golang-github-microcosm-cc-bluemonday (= 1.0.24-1), golang-github-muesli-reflow (= 0.3.0-2), golang-github-muesli-termenv (= 0.13.0-2), golang-github-muhammadmuzzammil1998-jsonc (= 0.0~git20201229.615b091-2), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-opentracing-opentracing-go (= 1.2.0-2), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rivo-tview (= 0.0~git20221029.c4a7e50-1), golang-github-rivo-uniseg (= 0.4.2-1), golang-github-shurcool-githubv4 (= 0.0~git20220520.0b4e329-1), golang-github-shurcool-graphql (= 0.0~git20220606.3cf50f8-1), golang-github-sourcegraph-jsonrpc2 (= 0.1.0-3), golang-github-spf13-cobra (= 1.7.0-1), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-thlib-go-timezone-local (= 0.0~git20210907.ef149e4-5), golang-github-yuin-goldmark (= 1.5.4-1), golang-github-yuin-goldmark-emoji (= 1.0.1-2), golang-github-zalando-go-keyring (= 0.2.2-1), golang-golang-x-net (= 1:0.10.0-1), golang-golang-x-sync (= 0.2.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-term (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-protobuf (= 1.28.1-3build1), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-objx (= 0.5.0-1), golang-testify (= 1.8.1-1)
Package: gh
Architecture: amd64
Version: 2.27.0+dfsg1-1build1
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: 41811
Depends: libc6 (>= 2.34)
Conflicts: gitsome (<< 0.8.0+ds-7.1)
Filename: pool/universe/g/gh/gh_2.27.0+dfsg1-1build1_amd64.deb
Size: 8412020
MD5sum: 1eafce9dbc560c330708a7cfac8141bf
SHA1: 1e88deec8733738a6a7dbd27d7a983c5710cbf78
SHA256: 68ab9481d81efcc324db4d42e2a390c1fb9b549df9d768cec37ed7721b9b669f
SHA512: 970be6d6b4a38982c97c2821494b5d3f95d5ef6d3e6255d626ba3d427b51f16fdfe440e1aa60dadb9901754ad65b660e6ed21c15dcdd30cef82139b8ad5a3980
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.11-1), golang-1.21 (= 1.21.0-1), golang-blackfriday-v2 (= 2.1.0-1), golang-dbus (= 5.1.0-1), golang-github-alecaivazis-survey (= 2.3.6+ds1-1), golang-github-alecthomas-chroma (= 0.10.0-3), golang-github-aymanbagabas-go-osc52 (= 1.2.1-1), golang-github-aymerick-douceur (= 0.2.0-3), golang-github-briandowns-spinner (= 1.18.1+ds1-1), golang-github-cenkalti-backoff (= 4.2.1-1), golang-github-charmbracelet-glamour (= 0.5.0-2), golang-github-charmbracelet-lipgloss (= 0.5.0-1), golang-github-cli-browser (= 1.1.0-2), golang-github-cli-go-gh (= 1.2.1-1), golang-github-cli-oauth (= 1.0.1-1), golang-github-cli-safeexec (= 1.0.1-1), golang-github-cli-shurcool-graphql (= 0.0.2-1), 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.2+dfsg1-1), golang-github-gdamore-encoding (= 1.0.0-3), golang-github-gdamore-tcell.v2 (= 2.6.0-1), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-gorilla-css (= 1.0.0-3), golang-github-gorilla-websocket (= 1.5.0-2), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-2), golang-github-hashicorp-go-version (= 1.6.0-1), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-joho-godotenv (= 1.5.1-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-2), 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.13-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mgutz-ansi (= 0.0~git20200706.d51e80e-1), golang-github-microcosm-cc-bluemonday (= 1.0.24-1), golang-github-muesli-reflow (= 0.3.0-2), golang-github-muesli-termenv (= 0.13.0-2), golang-github-muhammadmuzzammil1998-jsonc (= 0.0~git20201229.615b091-2), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-opentracing-opentracing-go (= 1.2.0-2), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rivo-tview (= 0.0~git20221029.c4a7e50-1), golang-github-rivo-uniseg (= 0.4.2-1), golang-github-shurcool-githubv4 (= 0.0~git20220520.0b4e329-1), golang-github-shurcool-graphql (= 0.0~git20220606.3cf50f8-1), golang-github-sourcegraph-jsonrpc2 (= 0.1.0-3), golang-github-spf13-cobra (= 1.7.0-1), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-thlib-go-timezone-local (= 0.0~git20210907.ef149e4-5), golang-github-yuin-goldmark (= 1.5.4-1), golang-github-yuin-goldmark-emoji (= 1.0.1-2), golang-github-zalando-go-keyring (= 0.2.2-1), golang-golang-x-net (= 1:0.10.0-1), golang-golang-x-sync (= 0.2.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-term (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-protobuf (= 1.28.1-3), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-objx (= 0.5.0-1), golang-testify (= 1.8.1-1)
Architecture: amd64
Version: 2.27.0+dfsg1-1ubuntu0.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: 41815
Depends: libc6 (>= 2.34)
Conflicts: gitsome (<< 0.8.0+ds-7.1)
Filename: pool/universe/g/gh/gh_2.27.0+dfsg1-1ubuntu0.1_amd64.deb
Size: 8412368
MD5sum: 4c5aa10be7a16371f7d65be5ca9f188f
SHA1: d1223b3a6bd614bcce21a07b44191ad2e1530a0d
SHA256: 03d4c48682d359e70d33aeceda724a418d0128f582d276b341a7c3ec38a9a1da
SHA512: 5d6f0995e4e2f2ba83b71a1f2b07e51c83491b42459d03e9694ebe523971a44fbda30eb5450d5fcefc016a82aa3ca0eee9515fdcb393abc2944d12f2acec1f73
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-1build1), gojq (= 0.12.11-1build1), golang-1.21 (= 1.21.1-1ubuntu0.23.10.1), golang-blackfriday-v2 (= 2.1.0-1), golang-dbus (= 5.1.0-1), golang-github-alecaivazis-survey (= 2.3.6+ds1-1), golang-github-alecthomas-chroma (= 0.10.0-3build1), golang-github-aymanbagabas-go-osc52 (= 1.2.1-1), golang-github-aymerick-douceur (= 0.2.0-3build1), golang-github-briandowns-spinner (= 1.18.1+ds1-1), golang-github-cenkalti-backoff (= 4.2.1-1), golang-github-charmbracelet-glamour (= 0.5.0-2), golang-github-charmbracelet-lipgloss (= 0.5.0-1), golang-github-cli-browser (= 1.1.0-2), golang-github-cli-go-gh (= 1.2.1-1), golang-github-cli-oauth (= 1.0.1-1), golang-github-cli-safeexec (= 1.0.1-1), golang-github-cli-shurcool-graphql (= 0.0.2-1), 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.2+dfsg1-1), golang-github-gdamore-encoding (= 1.0.0-3), golang-github-gdamore-tcell.v2 (= 2.6.0-1), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-gorilla-css (= 1.0.0-3), golang-github-gorilla-websocket (= 1.5.0-2), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-2), golang-github-hashicorp-go-version (= 1.6.0-1), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-joho-godotenv (= 1.5.1-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-2), 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.13-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mgutz-ansi (= 0.0~git20200706.d51e80e-1), golang-github-microcosm-cc-bluemonday (= 1.0.24-1), golang-github-muesli-reflow (= 0.3.0-2), golang-github-muesli-termenv (= 0.13.0-2), golang-github-muhammadmuzzammil1998-jsonc (= 0.0~git20201229.615b091-2), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-opentracing-opentracing-go (= 1.2.0-2), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rivo-tview (= 0.0~git20221029.c4a7e50-1), golang-github-rivo-uniseg (= 0.4.2-1), golang-github-shurcool-githubv4 (= 0.0~git20220520.0b4e329-1), golang-github-shurcool-graphql (= 0.0~git20220606.3cf50f8-1), golang-github-sourcegraph-jsonrpc2 (= 0.1.0-3), golang-github-spf13-cobra (= 1.7.0-1), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-thlib-go-timezone-local (= 0.0~git20210907.ef149e4-5), golang-github-yuin-goldmark (= 1.5.4-1), golang-github-yuin-goldmark-emoji (= 1.0.1-2), golang-github-zalando-go-keyring (= 0.2.2-1), golang-golang-x-net (= 1:0.10.0-1), golang-golang-x-sync (= 0.2.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-term (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-protobuf (= 1.28.1-3build1), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-objx (= 0.5.0-1), golang-testify (= 1.8.1-1)
Package: gh
Architecture: amd64
Version: 2.27.0+dfsg1-1build1
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: 41811
Depends: libc6 (>= 2.34)
Conflicts: gitsome (<< 0.8.0+ds-7.1)
Filename: pool/universe/g/gh/gh_2.27.0+dfsg1-1build1_amd64.deb
Size: 8412020
MD5sum: 1eafce9dbc560c330708a7cfac8141bf
SHA1: 1e88deec8733738a6a7dbd27d7a983c5710cbf78
SHA256: 68ab9481d81efcc324db4d42e2a390c1fb9b549df9d768cec37ed7721b9b669f
SHA512: 970be6d6b4a38982c97c2821494b5d3f95d5ef6d3e6255d626ba3d427b51f16fdfe440e1aa60dadb9901754ad65b660e6ed21c15dcdd30cef82139b8ad5a3980
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.11-1), golang-1.21 (= 1.21.0-1), golang-blackfriday-v2 (= 2.1.0-1), golang-dbus (= 5.1.0-1), golang-github-alecaivazis-survey (= 2.3.6+ds1-1), golang-github-alecthomas-chroma (= 0.10.0-3), golang-github-aymanbagabas-go-osc52 (= 1.2.1-1), golang-github-aymerick-douceur (= 0.2.0-3), golang-github-briandowns-spinner (= 1.18.1+ds1-1), golang-github-cenkalti-backoff (= 4.2.1-1), golang-github-charmbracelet-glamour (= 0.5.0-2), golang-github-charmbracelet-lipgloss (= 0.5.0-1), golang-github-cli-browser (= 1.1.0-2), golang-github-cli-go-gh (= 1.2.1-1), golang-github-cli-oauth (= 1.0.1-1), golang-github-cli-safeexec (= 1.0.1-1), golang-github-cli-shurcool-graphql (= 0.0.2-1), 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.2+dfsg1-1), golang-github-gdamore-encoding (= 1.0.0-3), golang-github-gdamore-tcell.v2 (= 2.6.0-1), golang-github-google-shlex (= 0.0~git20191202.e7afc7f-1), golang-github-gorilla-css (= 1.0.0-3), golang-github-gorilla-websocket (= 1.5.0-2), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-2), golang-github-hashicorp-go-version (= 1.6.0-1), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-joho-godotenv (= 1.5.1-1), golang-github-kballard-go-shellquote (= 0.0~git20180428.95032a8-2), 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.13-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mgutz-ansi (= 0.0~git20200706.d51e80e-1), golang-github-microcosm-cc-bluemonday (= 1.0.24-1), golang-github-muesli-reflow (= 0.3.0-2), golang-github-muesli-termenv (= 0.13.0-2), golang-github-muhammadmuzzammil1998-jsonc (= 0.0~git20201229.615b091-2), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-opentracing-opentracing-go (= 1.2.0-2), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-rivo-tview (= 0.0~git20221029.c4a7e50-1), golang-github-rivo-uniseg (= 0.4.2-1), golang-github-shurcool-githubv4 (= 0.0~git20220520.0b4e329-1), golang-github-shurcool-graphql (= 0.0~git20220606.3cf50f8-1), golang-github-sourcegraph-jsonrpc2 (= 0.1.0-3), golang-github-spf13-cobra (= 1.7.0-1), golang-github-spf13-pflag (= 1.0.6~git20210604-d5e0c0615ace-1), golang-github-thlib-go-timezone-local (= 0.0~git20210907.ef149e4-5), golang-github-yuin-goldmark (= 1.5.4-1), golang-github-yuin-goldmark-emoji (= 1.0.1-2), golang-github-zalando-go-keyring (= 0.2.2-1), golang-golang-x-net (= 1:0.10.0-1), golang-golang-x-sync (= 0.2.0-1), golang-golang-x-sys (= 0.8.0-1), golang-golang-x-term (= 0.8.0-1), golang-golang-x-text (= 0.9.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-protobuf (= 1.28.1-3), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-objx (= 0.5.0-1), golang-testify (= 1.8.1-1)