Web Hosting Talk







View Full Version : unzip


teck
12-30-2000, 04:35 PM
has anyone compiled any 'unzip' utility on their raq? if not, where can i grab it. if you did compile it and it's working, just post the bin up somewhere :)

teck
12-30-2000, 05:44 PM
solved it. i suggest installing this on your raq since it comes in handy:

ftp://ftp.info-zip.org/pub/infozip/src/unzip541.tar.gz

gunzip unzip541.tar.gz
tar -xvf unzip541.tar.gz
cd unzip-5.41
make -f unix/Makefile generic
make -f unix/Makefile install

enjoy

Félix C.Courtemanche
12-30-2000, 07:16 PM
for the lazy, here is a list of rpm for it:

http://rpmfind.net/linux/rpm2html/search.php?query=unzip&submit=Search+...

Just pick the one for Red Hat 6 or 6.2

eva2000
12-30-2000, 11:48 PM
i thought unzip was installed by default ?

teck
12-30-2000, 11:59 PM
i thought it was installed until one of in scripts failed. and i dont think it's much easier using the rpm than installing it the old fashion way. it took me all of a minute to do everything. when you actually install it with the last step, it copies all the files for you to the right place.

eva2000
12-31-2000, 12:05 AM
okay how can you get the file at ftp://ftp.info-zip.org/pub/infozip/src/unzip541.tar.gz from within telnet and place it where you want it ?

or do i have to download and reupload ?

teck
12-31-2000, 12:18 AM
as root, type:

lynx ftp://ftp.info-zip.org/pub/infozip/src/unzip541.tar.gz

when prompted, you want to hit D for download. once its done, it will say "Save to Disk" or something. hit okay then okay again to accept the file name. you should now have that file in your home dir, /root - follow the rest of the directions and you should be fine. if not, post here :)

mpalamar
12-31-2000, 02:43 AM
Use the following that comes with your RAQ.

gzip
gunzip

-Mike

Félix C.Courtemanche
12-31-2000, 02:58 AM
Originally posted by mpalamar
Use the following that comes with your RAQ.

gzip
gunzip


Those will not work because gzip is not the same as zip. Thus a .gz file is not the same as a .zip and can't be 'un[g]zipped' the same way.

The rpm install is definately easier...
simply type:
rpm -Uvh http://www.domain.com/path/to/package.rpm
and it automatically download / installs itself.

A finaly tip, to quickly download files from the web with your server, using 'wget' is a bit more userfriendly than lynx when you have the full url.

Simply type: wget http://www.domain.gom/file.ext

Enjoy!

teck
12-31-2000, 03:06 AM
good point!

if you got zip, i also suggest another utiilty. not many people will use it but it comes in handy. it's rar for linux!

as usual, get it from:

http://www.rarsoft.com/rar/rarlnx271.sfx

To install, just type ./rarlnx271.sfx

From there, su -, copy rar and unrar to /usr/bin

enjoy