# Error instaling asterisk

**URL:** <https://community.asterisk.org/t/error-instaling-asterisk/7489>\
**Category:** Asterisk Support\
**Created:** [July 2, 2006, 1:50am UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489 "2006-07-02T01:50:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashfaaq.poonawala](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ashfaaq.poonawala](https://community.asterisk.org/u/ashfaaq.poonawala)\
**Post date:** [July 2, 2006, 1:50am UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489/1 "2006-07-02T01:50:31Z")

</div>

I am new to asterisk and just familiar with linux. I am geting an error while extracting a compilation code for asterisk…  
tar: asterisk-1.2.9.1.tar.gz: Not found in archive

can anyone help me to sort out this issue.

thanks,

---

<div class="post-metadata">

**Author:** ![maxfiles](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@maxfiles](https://community.asterisk.org/u/maxfiles)\
**Post date:** [July 2, 2006, 3:10am UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489/2 "2006-07-02T03:10:41Z")

</div>

Are you using the RPM or extracting from source?

If you’re extracting from the source the file may be corrupt so download it again. I usually run this command to extract a tar.gz file:

gunzip -c asterisk-1.2.9.1.tar.gz | tar xvf -

Would really have to know more about how you’re installing to pin this down.

.

---

<div class="post-metadata">

**Author:** ![Mikosiko](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@Mikosiko](https://community.asterisk.org/u/Mikosiko)\
**Post date:** [July 2, 2006, 5:40pm UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489/3 "2006-07-02T17:40:18Z")

</div>

[quote=“ashfaaq.poonawala”]tar: asterisk-1.2.9.1.tar.gz: Not found in archive

can anyone help me to sort out this issue.

thanks,[/quote]

you didn’t said the full command that you are using… I use this:

tar zxfv asterisk-1.2.9.1.tar.gz

if this doesn’t work maybe the file is corrupt… download it again

Miko

---

<div class="post-metadata">

**Author:** ![ashfaaq.poonawala](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ashfaaq.poonawala](https://community.asterisk.org/u/ashfaaq.poonawala)\
**Post date:** [July 2, 2006, 6:28pm UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489/4 "2006-07-02T18:28:01Z")

</div>

I used this command:  
tar zxvf asterisk-\*.tar.gz  
which gave me the above errors.

---

<div class="post-metadata">

**Author:** ![ashfaaq.poonawala](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ashfaaq.poonawala](https://community.asterisk.org/u/ashfaaq.poonawala)\
**Post date:** [July 2, 2006, 6:39pm UTC](https://community.asterisk.org/t/error-instaling-asterisk/7489/5 "2006-07-02T18:39:49Z")

</div>

the command  
gunzip -c asterisk-\*.tar.gz | tar xvf -  
is working fine
