apt와 Homebrew, 패키지를 지워도 남는 의존성 정리하기 (autoremove, brew doctor)
·
메모
지웠는데 남아 있는 패키지들강의를 따라 Ubuntu에 nginx나 Docker를 깔았다가 다 쓰고 나서 apt remove로 지우는 경우가 많다. 그런데 지운 뒤로 apt 명령을 칠 때마다 "The following packages were automatically installed and are no longer required"라는 문구가 계속 따라붙는다. Mac도 비슷하다. brew uninstall로 프로그램은 지웠는데, 설치할 때 줄줄이 받았던 라이브러리들은 어떻게 됐는지 알 길이 없다.sudo apt install nginxsudo apt remove nginxbrew install ffmpegbrew uninstall ffmpeg"패키지는 지웠는데, 같이 깔렸던 의존성은 왜 남아 있을까?"이..