如何完全卸载brew并在ubuntu 19.04中重新安装brew [英] How to completely uninstall brew and re-install brew in ubuntu 19.04
本文介绍了如何完全卸载brew并在ubuntu 19.04中重新安装brew的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在ubuntu 19.04上安装了自制软件,但意外停止,因此安装未完成.但该文件夹已创建.
I installed homebrew on ubuntu 19.04 and it's accidentally stop, so the install not complete. but the folder already created.
如果我再次安装
sudo apt install linuxbrew-wrapper
我收到一条消息:
linuxbrew-wrapper已经是最新版本
linuxbrew-wrapper is already the newest version
但是如果我写命令:
brew upgrade
我收到此消息:
找不到命令"brew",但可以使用以下命令安装
Command 'brew' not found, but can be installed with:
sudo apt install linuxbrew-wrapper".
sudo apt install linuxbrew-wrapper".
有人可以帮我解决这个问题吗?
Can anyone help me fix this?
推荐答案
执行 https://stackoverflow.com/a/之后57208010/2787992 说,您可能需要运行
After performing what https://stackoverflow.com/a/57208010/2787992 said, you might need to run
sudo rm -rf /home/linuxbrew
这篇关于如何完全卸载brew并在ubuntu 19.04中重新安装brew的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文