linux - Linux Brew 卸载后摆脱 bash 登录消息

标签 linux homebrew linuxbrew

我在 Linux 上删除了brew,但每次登录时仍然收到以下消息:

-bash: /home/linuxbrew/.linuxbrew/bin/brew: No such file or directory

如何删除它?

最佳答案

如果您关注this installation guide ,您需要找到您添加到该目录的 .profile 文件并将其删除。

对我来说,它位于$HOME/.profile。一旦我删除了该条目,该消息就消失了。

关于linux - Linux Brew 卸载后摆脱 bash 登录消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67698630/

相关文章:

mysql - 使用brew安装mysql时出现404错误-macOS Sierra

linux - 如何更改 Bash 中命令的默认目录?

ubuntu - 在 Ubuntu 14.04 上构建 linuxbrew( Homebrew 软件)独立版本

c - 在 Linux 模块中包含自定义 header

linux - 为什么容器无法显示宿主机挂载目录的内容?

c - linux下如何查找usb转并口设备的基址?

git - Homebrew 软件更新刺激性错误消息

c - 避免 IDT Hook 中的页面错误

boost - 如何通过 Homebrew 安装 boost?

c - gcc 找不到-lX11