Installing rpms on Ubuntu / Mint etc….

by bitznbitez

So you have a rpm file you need to install on Ubuntu, Mint or similar class of Linux that does not natively handle rpm formats.    All you need to do is install alien, if not already installed, and then invoke it against the rpm as follows.

blackwater Disk1 # alien -i oracle-xe-11.2.0-1.0.x86_64.rpm 
Warning: Skipping conversion of scripts in package oracle-xe: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
 dpkg --no-force-overwrite -i oracle-xe_11.2.0-2_amd64.deb
Selecting previously deselected package oracle-xe.
(Reading database ... 265899 files and directories currently installed.)
Unpacking oracle-xe (from oracle-xe_11.2.0-2_amd64.deb) ...
Setting up oracle-xe (11.2.0-2) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
blackwater Disk1 #

Really thats all there is to it…….

Advertisements