I am trying to install 7zip to CentOS

yum install p7zip

installed it. And now running this returns

Package p7zip-9.20.1-2.el5.x86_64 already installed and latest version

But

[root@root public_html]# which p7zip
/usr/bin/which: no p7zip in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

So, why p7zip is installed but I cannot use it?

link|improve this question
try $7zip as command...it works for ubuntu – Vineet Menon Nov 14 '11 at 10:45
Just looked at the package distribution, the binary file is 7za. – Breakthrough Nov 14 '11 at 12:52
feedback

2 Answers

Try

7za

as a command.

Samples for 7zip commands

link|improve this answer
feedback

More generally, you can find what command the package provides by rpm command:

rpm -qlpackage-name| grep bin

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.