을 사용 env
하고 싶지만 Ubuntu가 설치되지 않았다고 알려줍니다. 설치를 시도하면 우분투는 할 일이 없다고 알려줍니다. 이 문제를 해결하는 방법?
$ env
The program 'env' is currently not installed. You can install it by typing:
sudo apt install coreutils
$ sudo apt install coreutils
[sudo] password for jan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
coreutils is already the newest version (8.25-2ubuntu3~16.04).
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
$ env
The program 'env' is currently not installed. You can install it by typing:
sudo apt install coreutils
$ ls -l /usr/bin/env
ls: cannot access '/usr/bin/env': No such file or directory
ls
표시 의 출력과 같이 실제로 누락 된 경우 명령을 사용하여 coreutils를 다시 설치할 수 있습니다 sudo apt-get install --reinstall coreutils
.
이렇게하면 단순히 패키지를 다운로드하고 다시 설치하여 기존 파일을 덮어 쓰고 누락 된 파일을 만듭니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다