테스트 사이트 - 개발 중인 베타 버전입니다

우분투 tar 관련해서 질문드립니다. 채택완료

아러ㅏ어 6년 전 조회 3,428

이미지대로 설명드리면     usr src로 위치를 지정해놓은 상태에서  wget의 허가불가가 떠  chmod 777 /usr/src로 get을 받은후  다운로딩을  완료한 상태이며  다음 단계인  tar을 해주는데  디렉토리가없거나 파일이 없다고하네요  그럼 저위에 다운로딩 해준건 뭐죠? 보시는데로 파일명은 같습니다.  3번째부분에서 막히는중입니다. ㅠㅠㅠ  구글랭해봐도 답이안나오네요

</p>

<p><code>cd</code> <code>/usr/src/</code></p>

<p><code>and download the asterisk archive with the following wget </code><code>command</code><code>:</code></p>

<p> </p>

<p><code>wget http:</code><code>//downloads</code><code>.asterisk.org</code><code>/pub/telephony/asterisk/asterisk-15-current</code><code>.</code><code>tar</code><code>.gz</code></p>

<p><code>When the download is completed extract the asterisk-15-current.</code><code>tar</code><code>.gz </code><code>file</code> <code>by typing the following </code><code>command</code><code>:</code></p>

<p> </p>

<p><code>tar</code> <code>-zxvf asterisk-15-current.</code><code>tar</code><code>.gz</code></p>

<p>

 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
6년 전

본문에 tar -jxvf asterisk-15-current.tar.gz 되어 있어서 압축이 안풀리는 모양 입니다.

 

tar -zxvf asterisk-15-current.tar.gz 로 풀어 보세요.

 

그리고 대부분 다운로드 받을땐 /usr/local/src 에 다운로드 받아서 푼답니다....^^

로그인 후 평가할 수 있습니다

답변에 대한 댓글 4개

아러ㅏ어
6년 전
그렇게해도 ㅜㅜ tar : z: open 할수 없습니다. : 그런파일이나 디렉토리가 없습니다
tar: error is not recoverable exiting now 이렇게 뜨ㅔㄴ요
아러ㅏ어
6년 전
/usr/local/src 저희가 지금 참고하는 프로그램 서버 영상에서는 usr/src로 풀고 진행하고있어서 ..생초짜라... 계속허가거부 뜨던거 chmod로풀어놓으니 tar에서 갑자기 디렉토리가없다하고..ㅜㅜㅜ.답답하네요
亞波治
6년 전
gunzip asterisk-15-current.tar.gz
tar xf asterisk-15-current.tar
또는 tar xvf asterisk-15-current.tar

이렇게 풀어 보세요.
아러ㅏ어
6년 전
해결했습니다 도움주셔서감사해요!

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인