我有一个关于linuxbrew的问题。
bash: /lustre7/home/lustre4/user1/applications/bin/cut: /lustre7/home/lustre4/user1/.linuxbrew/lib/ld.so: bad ELF interpreter: No such file or directory我尝试使用linuxbrew网站上的说明卸载linuxbrew,但不知何故不起作用(因为sudo要求)。
有linuxbrew目录,但当我输入rm -r linuxbrew时无法删除;
-bash: /lustre7/home/lustre4/user1/applications/bin/rm: /lustre7/home/lustre4/user1/.linuxbrew/lib/ld.so: bad ELF interpreter: No such file or directory当我尝试安装自制软件时,它显示您的CPU不受支持。(我以前尝试过,它起作用了,但现在它不起作用了。)
我想解决这个问题,但我找不到任何解决方案。我无法运行sudo和yum命令,因为我不是root用户。我是一个linux集群的用户。
发布于 2020-01-14 23:54:14
好的。我终于能够解决这个问题了。
我正在努力,以防其他人也会有同样的问题。
首先,这与bash问题有关。我最近安装了一个工具,它将一些变量放到bashrc和bash_profile中,并更改了bin目录的路径。我不能使用rm、ls、cat等系统命令,也不能运行系统ruby。所有命令和ruby的路径都在我的应用程序目录下的bin目录中。
我所做的是;我通过取消在bash_profile和bashrc之间引起冲突的新路径来编辑我的bash_profile。这使我能够运行系统命令。
我按照linuxbrew网站上的描述卸载了linuxbrew。
我从我的主目录中删除了linuxbrew,并取消了它在bash_profile中的路径(注释掉)。
我再次安装了homebrew,并将其路径放到了我的bashrc中。
现在它起作用了。
发布于 2020-11-10 01:26:00
我可以使用我在这里描述的过程卸载linuxbrew:
How to completely uninstall brew and re-install brew in ubuntu 19.04
->简而言之,我刚刚用uninstall.sh替换了install.sh,它起作用了……
$/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"https://stackoverflow.com/questions/59734716
复制相似问题