harumaki.net

インフラ屋の覚書や、ラーメン食べある記とか。

CentOS GNU/Linux

[メモ]7zip(linux版)

投稿日:2011年2月23日

Last Updated on 2012年8月16日 by かんりにん

[pukiwiki]

#contents

たまたまlinux環境で使用する必要が出たので、インストール。

-公開サイト
http://p7zip.sourceforge.net/

-ダウンロードページ
http://timeoff.wsisiz.edu.pl/rpms.html

**ビルド&コンパイル

CentOS5用のRPMは無いので、ソースRPMからパッケージをビルド。
# cd /usr/src/redhat/SRPMS
# wget http://timeoff.wsisiz.edu.pl/zrzut/p7zip-4.44-1.src.rpm
# rpm -Uvh p7zip-4.44-1.src.rpm
# cd ../SPECS/
# rpmbuild -bb p7zip.spec
-コンパイルしたパッケージを確認
# cd ../RPMS/x86_64/
# ll
total 1840
-rw-r–r– 1 root root 686402 Feb 22 17:04 p7zip-4.44-1.x86_64.rpm
-rw-r–r– 1 root root 3850 Feb 22 17:04 p7zip-debuginfo-4.44-1.x86_64.rpm
-rw-r–r– 1 root root 1182602 Feb 22 17:04 p7zip-plugins-4.44-1.x86_64.rpm

**インストール
# rpm -ivh –test p7zip-4.44-1.x86_64.rpm p7zip-plugins-4.44-1.x86_64.rpm
# rpm -ivh p7zip-4.44-1.x86_64.rpm p7zip-plugins-4.44-1.x86_64.rpm
Preparing… ########################################### [100%]
1:p7zip ########################################### [ 50%]
2:p7zip-plugins ########################################### [100%]

**使い方:解凍

# 7z x .7z
[/pukiwiki]

-CentOS, GNU/Linux

執筆者:


comment

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA


関連記事

nagios NRPEインストール

  [pukiwiki] *NRPEインストールログ [#udb00d6c] 作業日:2010-11-22 -参考ページ お世話になっています!! –NRPE (Nagios Remote …

nagios core​/3.監視対象設定

※編集中 関連記事: nagios core​/1.インストール nagiosgraph​/メモ:nagiosグラフで出力されるレポートについて nagios​/plugin​/SNMP​/mem監視 …

no image

netscreenのコンフィグバックアップスクリプト(telnet編)

会社のNetscreenのコンフィグを、Linuxサーバー側からtelnetでアクセスしたのち tftpを使ってdailyでバックアップする、やや回りくどいスクリプト。 とりあえずLANなのでteln …

no image

postfix SMTP-auth実装ログ

[pukiwiki] &topicpath;   **▼smtp-AUTH実装ログ [#df955667]  (UNIXパスワードをメールパスワードとする場合)   本番環境への実装が完了し …

[Google Drive] LinuxサーバーにてRcloneインストール&お試し

  LinuxサーバーからGoogle Driveのストレージにファイルの同期をしよう、ということで 数あるGoogle Driveの同期ツールの中から、今回はインストール/環境整備がもっとも手軽で …