How to compile and install newest version of p7zip package via Github.com in Ubuntu 14.04LTS 64-bit

Posted: 2016/01/10 in Ubuntu
Tags: , , , , , , , , , , , ,
# install prerequisites for p7zip compilation process:
cd
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install build-essential checkinstall
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install unp git g++-4.8
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes purge p7zip
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes build-dep p7zip
# compile and install newest version of p7zip via Github:
cd
sudo rm -rf p7zip
git clone https://github.com/Zap-Labs/p7zip.git
cd p7zip/
sudo ./install.sh
sudo make
sudo checkinstall
apt-cache show p7zip
# Terminal output should look similar to this output:
#$ apt-cache show p7zip
#Package: p7zip
#Status: install ok installed
#Priority: extra
#Section: checkinstall
#Installed-Size: 1804
#Maintainer: root
#Architecture: i386
#Version: 20160110-1
#Provides: p7zip
#Description: Package created with checkinstall 1.6.2
#Description-md5: 556b8d22567101c7733f37ce6557412e
#Package: p7zip
#Priority: optional
#Section: universe/utils
#Installed-Size: 951
#Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
#Original-Maintainer: Mohammed Adnène Trojette <adn+deb@diwi.org>
#Architecture: i386
#Version: 9.20.1~dfsg.1-4+deb7u1build0.14.04.1
#Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
#Suggests: p7zip-full
#Filename: pool/universe/p/p7zip/p7zip_9.20.1~dfsg.1-4+deb7u1build0.14.04.1_i386.deb
#Size: 301336
#MD5sum: 541431830c54c4b6019f3f2285cd8bfb
#SHA1: 5f10e1eaf5efdf0b7e93f0f132923467d4662ab1
##SHA256: 2cbdd55618015b8cef617e4c47140e657e2a3124787b02393899506d05a3017b
#Description-en: 7z file archiver with high compression ratio
# p7zip is the Unix command-line port of 7-Zip, a file archiver that
# archives with high compression ratios.
7za | head -n3
# Terminal output should look similar to this output:
#7-Zip (a) [32] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
#p7zip Version 15.09 beta (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,2 CPUs x86)
which 7za
# /usr/local/bin/7za
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s