Skip to content

Instantly share code, notes, and snippets.

1. Extract a tar.gz file in one go, 7z x wordpress-4.9.8.tar.gz -so | 7z x -aoa -si -ttar -o..\site\dist
x - extract mode
-so - flush into standard output
-aoa - overwrite all files, no prompt
-t - type of archive (tar here)
-si - consume from standard input
Source
$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
$ sudo yum -y install gcc gcc-c++ make flex bison gperf ruby \
openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel \
libpng-devel libjpeg-devel
@v-pravin
v-pravin / graph-tool_installation.md
Last active April 10, 2020 14:18
Installation of graph-tool from source