2014-07-22 5 views
0

, 난 오류 얻을 리눅스 우분투에 NS2 프로그램의 패키지 둔한를 찾을 수 없습니다 : *내가 AWK와 관련된 프로그램을 실행

program 'gawk' is currently not installed. You can install it by typing: 
sudo apt-get install gawk 
You will have to enable the component called 'main' 

을하고 난-얻을 경향이 둔한 명령을 설치, 내가이

를 얻을 sudo를 쓸 때
[sudo] password for sh: 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
E: Unable to locate package gawk 

어떻게 해결할 수 있습니까?

답변

1
You will have to enable the component called 'main' 

동일 함, 기본 저장소를 사용하도록 설정해야합니다. 아래 명령을 실행하여 main 저장소를 활성화하십시오.

sudo add-apt-repository main 
sudo apt-get update 

이제 gawk 패키지를 설치하십시오.