Server Fault is a question and answer site for system and network administrators. 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 need some help here..., I'm working on a windows PC, SSHed into my server. I want to install p7zip (linux command line version of 7zip):

Which package do I grab there? I have no need to make this myself on my server, I'd be happy to just get it on there and get it running... Can somebody help me out here?


share|improve this question
up vote 5 down vote accepted

p7zip is available in epel repo:

Name       : p7zip
Arch       : x86_64
Version    : 9.20.1
Release    : 2.el5
Size       : 745 k
Repo       : epel
Summary    : Very high compression ratio file archiver
URL        :
License    : LGPLv2 and (LGPLv2+ or CPL)
Description: p7zip is a port of 7za.exe for Unix. 7-Zip is a file archiver with a very high
           : compression ratio. The original version can be found at

Install epel repo:

# rpm -ivh

and use yum to install p7zip:

# yum -y install p7zip
share|improve this answer
Is this better than the RPM method that MDPC wrote below for some reason? – Shackrock Nov 9 '11 at 12:57
It is more convenient because you don't have to find, download and install manually. – quanta Nov 9 '11 at 13:06
Gotcha. But in this case, since It's already found and moved to the server - no difference...right (just one line at the command prompt either way)? – Shackrock Nov 9 '11 at 13:30

I'd pickup the package from somewhere like:

And then

 rpm --install p7zip-9.20.1-1.el5.rf.x86_64.rpm

it (as root of course). I have choosen the 64-bit version but the 32-bit version is there also.

PS: Don't be afraid to use google to find the package you are looking for.

share|improve this answer
so literally, download it on windows, send over the file to any directory on the server, and after I do the rpm command on it, it's installed? Why did I think this was way more complicated? – Shackrock Nov 9 '11 at 1:04
sorry, also: if something goes wrong, how can I go back? – Shackrock Nov 9 '11 at 1:05
rpm is a fairly robust program and it should not fail and if there is some problem all still should be ok. – mdpc Nov 9 '11 at 1:09

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.