Skip to content

Instantly share code, notes, and snippets.

@Buravo46
Last active August 1, 2023 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Buravo46/2eedf71cd6a5ddbc283b499f121982f1 to your computer and use it in GitHub Desktop.
Save Buravo46/2eedf71cd6a5ddbc283b499f121982f1 to your computer and use it in GitHub Desktop.
【CentOS】7zipのインストール手順

概要

CentOS上で7Zipのインストールをする。
yumからのインストールではなく、curlコマンドでダウンロードしたファイルを展開しコマンドとして使えるようにする手順となる。

手順

  • パッケージのアップデート
yum update -y nss curl libcurl tar
  • 7Zipのダウンロード
curl -k -O https://www.7-zip.org/a/7z2301-linux-x86.tar.xz
  • 展開
mkdir 7zip
tar xvf 7z2301-linux-x86.tar.xz -C 7zip
  • コマンドの配置
cp -a ./7zip/7zzs /usr/local/bin/
  • コマンド実行
7zzs --help

参考サイト

https://sig9.org/archives/4226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment