Glam Prestige Journal

Bright entertainment trends with youth appeal.

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

2 Answers

Try

7za

as a command.

Samples for 7zip commands

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

rpm -qlpackage-name| grep bin

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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