commands not found
Hello Everyone ;
Basic commands not working why ? redhat 5.1 fresh installation. PHP Code:
PHP Code:
|
What is the output of
Code:
whereis unzip Code:
echo $PATH |
Hello frankbell
PHP Code:
|
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. |
Quote:
http://en.wikipedia.org/wiki/Red_Hat_Linux Still too old : Current is RHEL 5.9 ! http://distrowatch.com/?newsid=04579 Update 5.9 http://distrowatch.com/?newsid=07657 $ which unzip /usr/bin/unzip/ .. That's a new install of the free Redhat EL5 version : CentOS 5.9 . `unzip' is not a Linux / Unix command and may not be installed by default, RHEL 5.1 . But it's easy to get : # yum install unzip - |
@ knudfl
Thanks for your reply. but still NOT workable. Can you provide any other way to do ?? PHP Code:
PHP Code:
|
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: Quote:
|
# 6 .
Quote:
Except those you have in your own local repository : $ yum list all Choices for a solution : Activate the "Redhat license / subscription". Or migrate the OS to CentOS 6 . EDIT : CentOS 5. http://wiki.centos.org/HowTos/MigrationGuide 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 - |
2 Attachment(s)
hello knudfl
please see the screen shot. i cannot see any items under # cd /media/ [root@oracle ~]# cd /media/ [root@oracle media]# ls -l total 0 |
Ref. post # 8.
Sorry, the unzip package : Should be an el5 package : unzip-5.52-3.el5.<arch>.rpm http://mirror.centos.org/centos/5.9/os/ Post # 9 : Don't know why you are listing /media/ ? ( The list 01.png shows a few of the installed packages.) - |
Try "gunzip". This is a GNU reimplementation (hence the different name), but provides the same functionality.
|
Quote:
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. |
If you have problems with RHEL you should really contact RedHat.
However, assuming you really are running RedHat 5.1 (32-bit), this should work. Issue the following as root: Code:
rpm -ivh http://mirror.centos.org/centos/5.9/os/i386/CentOS/unzip-5.52-3.el5.i386.rpm |
Whoops, I didn't read ruario's post thoroughly, but I'm leaving this here as the command shown below might help.
Try Code:
yum provides unzip This page for the CentOS docs will tell you more. http://www.centos.org/docs/5/html/yu...-packages.html Remember that RHEL is not designed for desktop use--it designed for use in the Enterprise as a server OS. It may not provide the same functionality in all cases as a distro designed for desktop use. |
I presume this is also the OP https://forums.oracle.com/thread/2584692
|
All times are GMT -5. The time now is 09:48 PM. |