I am trying to install 7zip to CentOS
yum install p7zipinstalled it. And now running this returns
Package p7zip-9.20.1-2.el5.x86_64 already installed and latest versionBut
[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?
22 Answers
Try
7za
as a command.
More generally,
you can find what command the package provides by rpm command:
rpm -qlpackage-name| grep bin