Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


[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 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
up vote 3 down vote accepted



as a command.

Samples for 7zip commands

share|improve this answer

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

rpm -qlpackage-name| grep bin

share|improve this answer

Your Answer


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.