오늘 Debian buster에 homebrew를 설치했습니다. 재부팅 후 올바른 암호를 사용하더라도 초기 로그인 화면을지나 가지 않습니다. 하지만 콘솔에 로그인 할 수 있습니다. ./profile 파일을 엉망으로 만든 것 같습니다.
brew를 먼저 설치하는 동안 홈페이지에서이 명령을 실행했습니다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
그런 다음이 명령
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)"
>>~/.bash_profile echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
세 번째 명령에서 ~ / .bash_profile을 ~ / .profile로 변경했습니다 (내 생각에 문제를 일으켰습니다)
내가 지금 무엇을 할 수 있을까?
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다