Skip to main content

I've could not find 7za in any yum repositories on RHEL/CentOS, so I've just downloaded the latest version of the source from sourceforge.net:

$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2
$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

(change "16.02" above to whatever latest version atthe time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Being in the directory where you downloaded the p7zip archive, unpack it:

$ tar -xvjf p7zip_16.02_src_all.tar.bz2
$ tar -xvjf p7zip_16.02_src_all.tar.bz2

Then run the make command as root user inside of extracted folder:

# make
# make install
# make
# make install

It'll produce the 7za binary in the /usr/local/bin directory (if you use RHEL7 at least):

$ whereis 7za
7za: /usr/local/bin/7za
$ whereis 7za
7za: /usr/local/bin/7za

I've could not find 7za in any yum repositories on RHEL/CentOS, so I've just downloaded the latest version of source from sourceforge.net:

$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

(change "16.02" above to whatever latest version at time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Being in the directory where you downloaded p7zip archive, unpack it:

$ tar -xvjf p7zip_16.02_src_all.tar.bz2

Then run make command as root user inside of extracted folder:

# make
# make install

It'll produce 7za binary in /usr/local/bin directory (if you use RHEL7 at least):

$ whereis 7za
7za: /usr/local/bin/7za

I've could not find 7za in any yum repositories on RHEL/CentOS, so I've just downloaded the latest version of the source from sourceforge.net:

$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

(change "16.02" above to whatever latest version the time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Being in the directory where you downloaded the p7zip archive, unpack it:

$ tar -xvjf p7zip_16.02_src_all.tar.bz2

Then run the make command as root user inside of extracted folder:

# make
# make install

It'll produce the 7za binary in the /usr/local/bin directory (if you use RHEL7 at least):

$ whereis 7za
7za: /usr/local/bin/7za
Improving answer by correcting errors and adding helpful information
Source Link

II've could not find 7za in any yum repositories on RHEL/CentOS, so I've just downloaddownloaded the latest version of source from

https://sourceforge.net/projects/p7zip/files/p7zip/16.02/ wget p7zip_16.02_src_all.tar.bz2 from that locationsourceforge.net:

$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

(change "16.02" aboevabove to whatever latest version at time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Being in the directory where you downloaded p7zip archive, unpack it:

$ tar -xvjf p7zip_16.02_src_all.tar.bz2

Then just ranrun make command as root user inside of extracted folder:

$# make
# make install

It'll produce 7za7za binary in "bin" subdirectory. Ready to go./usr/local/bin directory (if you use RHEL7 at least):

$ whereis 7za
7za: /usr/local/bin/7za

I could not find 7za in any yum repositories on RHEL/CentOS, so just download latest version of source from

https://sourceforge.net/projects/p7zip/files/p7zip/16.02/ wget p7zip_16.02_src_all.tar.bz2 from that location.

(change "16.02" aboev to whatever latest version at time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Then just ran make

$ make

It'll produce 7za binary in "bin" subdirectory. Ready to go.

I've could not find 7za in any yum repositories on RHEL/CentOS, so I've just downloaded the latest version of source from sourceforge.net:

$ wget https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

(change "16.02" above to whatever latest version at time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Being in the directory where you downloaded p7zip archive, unpack it:

$ tar -xvjf p7zip_16.02_src_all.tar.bz2

Then run make command as root user inside of extracted folder:

# make
# make install

It'll produce 7za binary in /usr/local/bin directory (if you use RHEL7 at least):

$ whereis 7za
7za: /usr/local/bin/7za
Source Link
Tagar
  • 240
  • 2
  • 8

I could not find 7za in any yum repositories on RHEL/CentOS, so just download latest version of source from

https://sourceforge.net/projects/p7zip/files/p7zip/16.02/ wget p7zip_16.02_src_all.tar.bz2 from that location.

(change "16.02" aboev to whatever latest version at time when you try to download, you can find out by going to https://sourceforge.net/projects/p7zip/files/p7zip/ ).

Then just ran make

$ make

It'll produce 7za binary in "bin" subdirectory. Ready to go.