RPM is a Package Manager for popular distribution such as Red Hat, Suse and many others. It is a powerful command line package management system for installing uninstalling, verifying, querying, and updating Linux computer software packages. You can finding out what dependencies a rpm file has i.e. it will tell you what you need to install package with following command: rpm -qpR {.rpm-file} rpm -
CentOS4(32bit)場合 # wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-xxxxx.el4.rf.i386.rpm # rpm -Uhv rpmforge-release-xxxxx.el5.rf.i386.rpm CentOS5(32bit)場合 # wget http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-xxxxx.el5.rf.i386.rpm # rpm -Uhv rpmforge-release-xxxxx.el5.rf.i386.rpm ※xxxxx の部分は、その時の最新のバージョンにしてください。http://dag.wieers.com/packages/rpmforge-releas
前のページ 次のページ 目次 1. spec ファイルで使用できるタグ/マクロ/環境変数一覧 索引(アルファベット順) AutoProv AutoReq AutoReqProv BuildArchitectures BuildRoot BuildConflicts: BuildRequires: Conflicts Copyright Distribution DocDir ExcludeArch ExcludeOS ExclusiveArch ExclusiveOS Group Icon Name NoPatch NoSource Obsoletes Packager Patch Prefix Prefixes PreReq Provides Release Requires Serial Source Summary URL Vendor Version
SRPMの便利な使い方 RPMパッケージを使ってて不便に思うときって大抵、configureするときにデフォルトで指定されていないオプションを指定したいとき。 でも ./configure ... make ってやったらパッケージで管理できないから不便・・・ そういうときはSRPMをとってきて rpm -i foo.src.rpm redhatだと/usr/src/redhat/ の下にソースファイルとかが展開されてSPECSってディレクトリにはSPECファイルが置かれるからこれを編集。 例えば %configure ってセクションにオプション書き足したり。 その後は rpmbuild -bb foo.spec でrpmバイナリパッケージを作成して rpm -ivh ../RPMS/i386/foo.rpm こんな感じでやればインストール完了 (注1)rpm-4
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く