Tuesday, May 7, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3339  / 2 Years ago, fri, october 21, 2022, 4:34:43

i installed GitHub CLI like written here https://www.techiediaries.com/install-github-cli-ubuntu-20/ :


install


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh


uninstall


i read howto uninstall it other systems here:


https://github.com/cli/cli


for example spack uninstall gh


and tried with this error:


sudo apt uninstall gh
E: Invalid operation uninstall

how to fix it?


More From » command-line

 Answers
0

as @waltinator said above, this works:


sudo apt remove gh


[#807] Sunday, October 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
deringach

Total Points: 412
Total Questions: 107
Total Answers: 101

Location: Palestine
Member since Tue, Jul 20, 2021
3 Years ago
deringach questions
Sat, Oct 30, 21, 17:38, 3 Years ago
Tue, Feb 15, 22, 22:33, 2 Years ago
Tue, Feb 7, 23, 03:57, 1 Year ago
;