5

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?

2
  • try $7zip as command...it works for ubuntu Nov 14 '11 at 10:45
  • Just looked at the package distribution, the binary file is 7za. Nov 14 '11 at 12:52
6

Try

7za

as a command.

Samples for 7zip commands

1

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

rpm -qlpackage-name| grep bin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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