Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|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
add comment

2 Answers

up vote 2 down vote accepted

Try

7za

as a command.

Samples for 7zip commands

share|improve this answer
add comment

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

rpm -qlpackage-name| grep bin

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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