{"id":5,"date":"2008-02-04T23:25:22","date_gmt":"2008-02-04T17:55:22","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=5"},"modified":"2017-04-24T15:43:01","modified_gmt":"2017-04-24T10:13:01","slug":"how-to-convert-a-rpm-to-deb","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-convert-a-rpm-to-deb\/","title":{"rendered":"how to convert a .rpm to .deb"},"content":{"rendered":"<p>Installable software for Linux is mainly packaged as .rpm (for RedHat) &amp; .deb (for Ubuntu &amp; other debian based distributions).<\/p>\n<p>There can be cases when you want to install some application on your Ubuntu system &amp; the same application might only be available as .rpm. Recently, I was in a similar situation when I had to install IBM WebSphere MQ; but the installation package was availabe only in RPM format.<\/p>\n<p>In such cases, you can use the alien package converter to convert the .rpm to .deb.<\/p>\n<p>You can install <strong>alien<\/strong> using the following command &#8211;<br \/>\n<code><br \/>\nsudo apt-get install alien<br \/>\n<\/code><\/p>\n<p>After alien has been installed, you can convert a .rpm to .deb using:<\/p>\n<p><code>alien &lt;rpm package file name&gt;<\/code><\/p>\n<p>After you have the .deb file, you can install the package using:<\/p>\n<p><code>dpkg -i &lt;deb package file name&gt;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installable software for Linux is mainly packaged as .rpm (for RedHat) &amp; .deb (for Ubuntu &amp; other debian based distributions). There can be cases when you want to install some application on your Ubuntu system &amp; the same application might only be available as .rpm. Recently, I was in a similar situation when I had [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":8},"categories":[1],"tags":[8],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}