RPMパッケージをDebianパッケージに変換するコマンド。tgzパッケージを作成したり、それぞれのパッケージシステムをインストールすることも可能。
alien [オプション] パッケージファイル名
オプション:
-d: Debianパッケージを作成する (–to-deb)
-r: RPMパッケージを作成する (–to-rpm)
-t: tgzパッケージを作成する (–to-tgz)
-i: パッケージをインストール。rpmでもdebでもtgzでもインストールできる (–install)
例.
root@4study:~# alien -d adobe-release-i386-1.0-1.noarch.rpm
Warning: Skipping conversion of scripts in package adobe-release-i386: postinst
Warning: Use the –scripts parameter to include the scripts.
adobe-release-i386_1.0-2_all.deb generated
root@4study:~# alien -r automoc_1.0~svn850570-1_i386.deb
automoc-1.0~svn850570-2.i386.rpm generated
root@4study:~# alien -t automoc_1.0~svn850570-1_i386.deb
automoc-1.0~svn850570.tgz generated
root@4study:~# alien -i bind-9.4.2.tar.gz
dpkg –no-force-overwrite -i bind_9.4.2-2_all.deb
未選択パッケージ bind を選択しています。
(データベースを読み込んでいます … 現在 110309 個のファイルとディレクトリがインストールされています。)
(bind_9.4.2-2_all.deb から) bind を展開しています…
bind (9.4.2-2) を設定しています …
root@4study:~# alien -i adobe-release-i386-1.0-1.noarch.rpm
Warning: Skipping conversion of scripts in package adobe-release-i386: postinst
Warning: Use the –scripts parameter to include the scripts.
dpkg –no-force-overwrite -i adobe-release-i386_1.0-2_all.deb
未選択パッケージ adobe-release-i386 を選択しています。
(データベースを読み込んでいます … 現在 113092 個のファイルとディレクトリがインストールされています。)
(adobe-release-i386_1.0-2_all.deb から) adobe-release-i386 を展開しています…
adobe-release-i386 (1.0-2) を設定しています …