Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
No program named unzip appears to be installed. (Whereis is a great utility. It looks only for executable programs and ignores libraries, configuration files, and all the other stuff that will turn up when you use locate.)
This link might help. It informs me that unzip is often not included in Linux distros and suggests ways to get it. You may also be able to decompress zipped files using Gnome's file roller or KDE's Ark, if you have either of those programs installed.
Unzip is something I haven't had occasion to use for a long time.
Thanks for your reply. but still NOT workable. Can you provide any other way to do ??
# yum install unzip Loading "installonlyn" plugin Setting up Install Process Setting up repositories No Repositories Available to Set Up Reading repository metadata in from local files Parsing package install arguments Setting up repositories No Repositories Available to Set Up Reading repository metadata in from local files No Match for argument: unzip Nothing to do
[root@oracle ~]# whereis unzip unzip:
# cd /mnt/hgfs/oracle # ls -l total 340748 -rwxrwxrwx 1 root root 668734007 Oct 4 2008 10.2.0.1_database_software_linux32.zip [root@oracle oracle]# unzip 10.2.0.1_database_software_linux32.zip bash: unzip: command not found
# which unzip /usr/bin/which: no unzip in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
Last edited by thiyagusham; 09-23-2013 at 02:02 AM.
I don't know anything about RHEL. I thought you paid for support if you use it. Anyway, Debian certainly has an unzip package. You might find more information here.
Here's the Debian description of the package:
:~$ aptitude show unzip
Automatically installed: yes
Maintainer: Santiago Vila <email@example.com>
Uncompressed Size: 386 k
Depends: libbz2-1.0, libc6 (>= 2.4)
Conflicts: unzip-crypt (< 5.41), unzip-crypt (< 5.41), unzip
Replaces: unzip-crypt (< 5.41), unzip-crypt (< 5.41)
Provided by: unzip
Description: De-archiver for .zip files
InfoZIP's unzip program. With the exception of multi-volume archives (ie, .ZIP files that are split across
several disks using PKZIP's /& option), this can handle any file produced either by PKZIP, or the
corresponding InfoZIP zip program.
Or use a CentOS 6 package : EDIT → See post #10.
Which you can do for a package with "no dependencies" : unzip-6.0-1.el6.<arch>.rpm http://mirror.centos.org/centos/6.4/os/
→ # yum localinstall unzip-6.0-1.el6.<arch>.rpm
Try "gunzip". This is a GNU reimplementation (hence the different name), but provides the same functionality.
No gzip/gunzip does NOT provide the same functionality as zip/unzip! They work with completely different formats by default (gz compressed files versus zip compressed archives) and they use different switches. All these utils share share is the fact that they use Deflate compression by default and all utilities were born out of the Info-ZIP project.
EDIT: GNU's gunzip does have an extra feature that means it can extract files created by zip but only if they have a single member compressed with the 'deflation' method. The file the OP mentions is clearly an archive with multiple files, so this will fail.