

{"id":108765,"date":"2022-04-19T09:00:36","date_gmt":"2022-04-19T03:30:36","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=108765"},"modified":"2022-04-19T11:05:09","modified_gmt":"2022-04-19T05:35:09","slug":"deb-vs-rpm","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/","title":{"rendered":"DEB vs RPM"},"content":{"rendered":"<p>In this document, you will learn what DEB and RPM are, and understand the commands used by their package managers: rpm and dpkg. You will also learn commands that are used along with the package managers and how to do simple tasks like installing, checking, removing, and a lot more.<\/p>\n<h3>What are DEB and RPM in Linux?<\/h3>\n<p>When you first look at .deb and .rpm, they look like file extensions, which is absolutely correct, but there is more to it. We all know that linux has many different distros like Ubuntu, kali, Manjaro, Fedora, etc. DEB is the software package extension as well as the format for the Debian linux; distribution of Linux. RPM on the other hand is the software package extension as well as the format for the linux distributions based on Red hat.<\/p>\n<p>Before we compare them, let us take a closer look at what DEB and RPM are.<\/p>\n<h4>1. DEB<\/h4>\n<p>A DEB file is a software package that is used by linux distributions that are based on Debian, like Ubuntu, Linux mint, Deepin, AntiX, Kali and so many more. The DEB files are most commonly used to update or install UNIX applications. The file itself contains two files with .TAR (abbreviation for Tape Archives) extension. One is for installable data and the other is for installer control information.<\/p>\n<p>For performing various tasks on .deb files like installing, removing, checking, etc, we need a package manager. Debian-related files have dpkg as their package manager. dpkg stands for Debian Package.<\/p>\n<p>The basic syntax for the dpkg command is:<\/p>\n<p><strong>dpkg &lt;options&gt; actions<\/strong><\/p>\n<p>First let us take a look at options that are used along with the dpkg command before we see how to perform actions like installing, removing, checking .deb files.<\/p>\n<h4>dpkg command options<\/h4>\n<p><strong>a.-i &lt;package.deb&gt;<\/strong><\/p>\n<p>This option is also written as: &#8211;install &lt;package.deb&gt;. It installs packages into the system.<\/p>\n<p><strong>b. &#8211;unpack &lt;package.deb&gt;<\/strong><\/p>\n<p>This option will unpack the package without doing any configuration.<\/p>\n<p><strong>c. &#8211;configure &lt;package&gt;<\/strong><\/p>\n<p>This option is used to configure an unpackaged package.<\/p>\n<p><strong>d. -r &lt;package&gt;<\/strong><\/p>\n<p>This option is also written as: &#8211;remove &lt;package.deb&gt;. It removes a package that has been installed previously. This option will remove only the package, and not other files like the configuration files.<\/p>\n<p><strong>e. -P &lt;package&gt;<\/strong><\/p>\n<p>It is also written as:&#8211;purge&lt;package&gt;. This option will purge (remove) a previously installed or an already removed package. Unlike the remove option, the purge option deletes even other files like the configuration files.<\/p>\n<p><strong>f. &#8211;get-&lt;selections&gt;<\/strong><\/p>\n<p>This option fetches packages with the selections you have entered.<\/p>\n<p><strong>g. -b &lt;directory&gt;<\/strong><\/p>\n<p>It is also written as: &#8211;build&lt;directory&gt;. This option builds a .deb package.<\/p>\n<p><strong>h. -c &lt;package.deb&gt;<\/strong><\/p>\n<p>It is also written as:&#8211;contents &lt;package.deb&gt;. This option will list all the contents that are present in the .deb package.<\/p>\n<p><strong>i. -l &lt;pattern&gt;<\/strong><\/p>\n<p>It is also written as:&#8211;list &lt;pattern&gt;. This option will list all the packages by matching them with the pattern you have entered.<\/p>\n<p><strong>j. -I &lt;package.deb&gt;<\/strong><\/p>\n<p>It is also written as:&#8211;info &lt;package.deb&gt;. This option will show the information about the package you asked for.<\/p>\n<p><strong>k. -s &lt;package&gt;<\/strong><\/p>\n<p>It is also written as: &#8211;status &lt;package.deb&gt;. This option will show the status of an already installed file.<\/p>\n<p><strong>l. -S &lt;pattern&gt;<\/strong><\/p>\n<p>It is also written as: &#8211;search &lt;package.deb&gt;. This option will search the already installed packages for the pattern you have entered.<\/p>\n<p><strong>m. -R<\/strong><\/p>\n<p>It is also written as: &#8211;recursive. This option is used to handle actions recursively in the target directory and subdirectories.<\/p>\n<h4>Examples using dpkg command options<\/h4>\n<p>Now that you have seen the options used with the dpkg command, let us see a few examples on how to use them:<\/p>\n<p><strong>a. Installing a package<\/strong><\/p>\n<p>To install a debian package using the -i or &#8211;options, use the syntax:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo dpkg -i &lt;package.deb&gt;<\/pre>\n<p><strong>b. Removing a package<\/strong><\/p>\n<p>To remove a debian package from your system (note that it will still keep other files, like configuration) use the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo -r &lt;package&gt;<\/pre>\n<p><strong>c. Purging a package<\/strong><\/p>\n<p>To install a debian package using the -P or &#8211;purge, using the syntax:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo dpkg -P &lt;package&gt;<\/pre>\n<p><strong>d. Showing contents of a package<\/strong><\/p>\n<p>To display all the contents of the package, run the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dpkg -c &lt;package.deb&gt;<\/pre>\n<p><strong>e. Checking if the package is installed<\/strong><\/p>\n<p>To check if a package is already installed in your system run the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dpkg -s &lt;package.deb&gt;<\/pre>\n<p><strong>f. Install all packages from a Directory<\/strong><\/p>\n<p>Use the options -R and -i recursively with the following syntax to install all packages from the directory you specify:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo dpkg -R -i &lt;directory&gt;<\/pre>\n<p><strong>g. Showing package information<\/strong><\/p>\n<p>To show information of the package, use the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dpkg -I &lt;package.deb&gt;<\/pre>\n<p><strong>h. Unpacking package contents<\/strong><\/p>\n<p>To Unpack the content which are present in the package (just like unzipping folders), use the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo dpkg --unpack &lt;package.deb&gt;<\/pre>\n<p><strong>i. Listing packages in system<\/strong><\/p>\n<p>To list the packages which are known, use the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dpkg - l<\/pre>\n<p>This command will give the output as the status, name of the package, version, architecture, description and other details. It is important to know how to read the status of the package shown on the screen.<\/p>\n<p>The status of a package is shown by 2 letters: the first tells the actions selection and the second gives information about the package status.<\/p>\n<p>Let us see the different letters showing information on actions selection and package status:<\/p>\n<p><strong>i. Action selection<\/strong><\/p>\n<ul>\n<li>u &#8211; unknown<\/li>\n<li>i &#8211; installed<\/li>\n<li>r &#8211; remove<\/li>\n<li>p &#8211; purge<\/li>\n<li>h &#8211; hold<\/li>\n<\/ul>\n<p><strong>ii. Package status<\/strong><\/p>\n<ul>\n<li>i &#8211; package is not installed<\/li>\n<li>t &#8211; pending triggers<\/li>\n<li>W &#8211; awaiting Triggers<\/li>\n<li>F &#8211; half configured<\/li>\n<li>U &#8211; unpacked package<\/li>\n<li>H &#8211; Half installed package<\/li>\n<li>c &#8211; configuration files<\/li>\n<li>n &#8211; package is not installed<\/li>\n<\/ul>\n<p>Now that we have covered DEB, let us take a look at RPM in the same way.<\/p>\n<h4>2. RPM in Linux<\/h4>\n<p>Just like DEB is related to the Debian distro of Linux, an RPM file is a software package that is used by linux distributions based on Red Hat Linux, like Fedora, Rocky, Alma, CentOS, and many more. Infact RPM itself is an abbreviation for Red hat Package Manager. Just like dpkg is the package manager for Deb, the package manager for RPM is RPM itself.<\/p>\n<p>RPM was created 25 years ago. It was written and developed by Erik Troan and Marc Ewing in 1997. RPM was initially meant for use in Red Hat Linux, but today it is used in many linux distributions like clearOS, Alma Linux, CentOS, openSUSE, Oracle Linux, Fedora, OpenMandriva, rocky linux and so many other distros (which are based on Red Hat Linux).<\/p>\n<p>RPM works only on packages that are built on .rpm format. The tool allows users to update, installm query, check, uninstall and manage system software in Unix\/Linux operating systems derived from Red hat.<\/p>\n<p>The basic syntax for the dpkg command is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm &lt;options&gt; actions<\/pre>\n<p>RPM has 5 basic modes:<\/p>\n<p>1. Install<\/p>\n<p>2. Remove<\/p>\n<p>3. Upgrade<\/p>\n<p>4. Verify<\/p>\n<p>5. Query<\/p>\n<p>First let us take a look at options that are used along with the rpm command before we see how to perform the tasks mentioned above.<\/p>\n<h4>rpm command options<\/h4>\n<p><strong>a. &#8211; i<\/strong><\/p>\n<p>This option installs the package you want.<\/p>\n<p><strong>b. &#8211; v<\/strong><\/p>\n<p>This option provides verbose for a nicer display.<\/p>\n<p><strong>c. &#8211; h<\/strong><\/p>\n<p>This option shows hash marks for percentage, to make things a little understandable.<\/p>\n<p><strong>d. &#8211; q<\/strong><\/p>\n<p>This option queries a package.<\/p>\n<p><strong>e. &#8211; p<\/strong><\/p>\n<p>This option lists the capabilities the package provides.<\/p>\n<p><strong>f. &#8211; R<\/strong><\/p>\n<p>This option lists the capabilities on which the package depends.<\/p>\n<p><strong>g. &#8211; nodeps<\/strong><\/p>\n<p>It is an abbreviation for \u2018no dependencies\u2019 The above option will run no dependencies check .<\/p>\n<p><strong>h. &#8211; q<\/strong><\/p>\n<p>This option will check if a package with the name you entered exists or not.<\/p>\n<p><strong>i. &#8211; ql<\/strong><\/p>\n<p>This option is used to view all the files of an installed package.<\/p>\n<p><strong>j. &#8211; qa<\/strong><\/p>\n<p>This option will list all the recently installed packages.<\/p>\n<p><strong>k. &#8211; U<\/strong><\/p>\n<p>This option upgrades any RPM package.<\/p>\n<p><strong>l. &#8211; qi<\/strong><\/p>\n<p>This option is an abbreviation for \u2018query info\u2019 and it gives you all the information about an already installed package like the name, version, release, size, etc.<\/p>\n<p><strong>m. &#8211; qip<\/strong><\/p>\n<p>This option is an abbreviation for \u2018query info package\u2019 and it gives you all the information about any rpm package from the internet like the name, version, release, size, etc.<\/p>\n<p><strong>Note:<\/strong> <em>The difference between the options \u2018-qi\u2019 and \u2018-qip\u2019 is that \u2018-qi\u2019 will give details only if the package is installed, whereas \u2018-qip\u2019 can provide information about any rpm package on the web.<\/em><\/p>\n<p><strong>n. &#8211; qdf<\/strong><\/p>\n<p>This option is an abbreviation for \u2018query document file\u2019 and it gives you the list of the available documentation of an already installed package.<\/p>\n<p><strong>o. &#8211; Vp<\/strong><\/p>\n<p>This option is an abbreviation for \u2018verify package\u2019 and verifies the package by comparing the information of the installed files of the package to the files in the rpm database.<\/p>\n<p><strong>p. &#8211; e<\/strong><\/p>\n<p>This option removes\/erases a package.<\/p>\n<h4>Examples using rpm command options.<\/h4>\n<p>Now that you have seen the options used with the rpm command, let us see how to perform the above 5 simple tasks using combinations of the options you have learnt.<\/p>\n<p><strong>1. Installing a package<\/strong><\/p>\n<p>For installing a package, the main option is \u2018-i\u2019, but for better readability and understandability we use the options \u2018-v\u2019 and \u2018-h\u2019 as follows:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -ivh &lt;package.rpm&gt;<\/pre>\n<p>Before you install the package, if you wish to check whether all the files of the package are downloaded or not, you can run the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -qpR &lt;package.rpm&gt;<\/pre>\n<p><strong>2. Removing a package<\/strong><\/p>\n<p>For removing a package you use the command :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -e &lt;package.rpm&gt;<\/pre>\n<p><strong>3. Upgrading a package<\/strong><\/p>\n<p>You can upgrade the older version of the package to the latest version by using the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -Uvh &lt;package.rpm&gt;<\/pre>\n<p><strong>Note:<\/strong> <em>When you upgrade your package, the operating system will not only upgrade to the latest version, but it will also maintain the backup of the older version. This is an advantage because if the new version does not run properly, you can switch back to the older version anytime.<\/em><\/p>\n<p><strong>4. Verifying a package<\/strong><\/p>\n<p>You can verify the contents of a specific installed rpm package by using the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -Vp &lt;package.rpm&gt;<\/pre>\n<p>If you wish to verify all of the installed rpm packages, you can do so by using the command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">rpm -Va<\/pre>\n<p><strong>5. Querying<\/strong><\/p>\n<p>There are many things you can query in a package, like the documentation, details, etc. by using the \u2018-qdf\u2019, \u2018qi\u2019 and \u2018qip\u2019 options mentioned above like this:<\/p>\n<p>rpm -qdf &lt;package.rpm&gt;<\/p>\n<p>rpm -qip &lt;package.rpm&gt;<\/p>\n<p>rpm -qi &lt;package.rpm&gt;<\/p>\n<p>These are some of the tasks that can be done on rpm files using the command options discussed above.<\/p>\n<h3>\u201c.deb\u201d vs \u201c.rpm\u201d<\/h3>\n<p>Now that we have seen what DEB and RPM are, it is now time to answer the question at hand: \u201c.deb\u201d or \u201c.rpm\u201d. Now, to be honest, this is not a versus battle to bring out a champion like \u2018Messi\u2019 V.S \u2018Ronaldo\u2019 or \u2018Ford\u2019 V.S \u2018Ferrari\u2019.<\/p>\n<p>Most importantly we cannot compare packages or package managers, because all they do is do tasks like installing, removing, verifying. Both .deb and .rpm have nearly the same number of options and can perform the exact same tasks. The only thing that is a clear cut difference is the operating systems they support.<\/p>\n<p>Even if you compare the operating systems, Debian and Red hat, you will not get a clear winner. In fact each is designed and developed for its own intended purpose, where Red hat is used mainly for servers, whereas Debian is used for Distribution. Both operating systems have nearly the same number of packages too. Most importantly, you can always convert .rpm to .deb and vice versa using the alien command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">alien -r &lt;package-name&gt;.deb<\/pre>\n<h3>DEB vs RPM<\/h3>\n<table>\n<tbody>\n<tr>\n<td><b>DEB<\/b><\/td>\n<td><b>RPM<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Deb files are the files that are used for debian Linux based operating systems.<\/span><\/td>\n<td><span style=\"font-weight: 400\">Rpm files are the files that are used for Red Hat Linux based operating systems.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Few examples of Debian based operating systems are Ubuntu, Kali, Linux Mint, Deepin, parrot OS.<\/span><\/td>\n<td><span style=\"font-weight: 400\">Few examples of Red hat based operating systems are Clear OS, rocky linux, Cent OS, alma Linux<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Deb files have a package manager called dpkg..<\/span><\/td>\n<td><span style=\"font-weight: 400\">RPM files have RPM itself as a package manager<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">dpkg is the acronym for Debian package.<\/span><\/td>\n<td><span style=\"font-weight: 400\">RPM stands for redhat package manager.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">DEB was developed by the debian project community.<\/span><\/td>\n<td><span style=\"font-weight: 400\">RPM was developed by the community of the red hat project<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">The debian project community accepts patches in DEB files which are not yet mainstream.<\/span><\/td>\n<td><span style=\"font-weight: 400\">The red hat project community is extremely strict, and does not allow patches in their ROM files.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">DEB files depend on a \u2018control file\u2019 for defining the software that is to be installed for the target application to function properly.<\/span><\/td>\n<td><span style=\"font-weight: 400\">RPM files depend on a \u2018spec file\u2019 for which version of the application is going to be installed, and information regarding which smaller application will need to be installed for its proper functioning.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">DEB carries a large number of scripts that deal with automation.<\/span><\/td>\n<td><span style=\"font-weight: 400\">RPM files carry a large number of scripts that deal with automation<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Summary<\/h3>\n<p>Even though at the end we could not deduce a clear winner, we still learnt a great deal about DEB vs RPM. We took a deep dive into what DEB and RPM are including their package managers. We looked at the different options which can be used with the commands and how to use them in various tasks like installing, deleting, checking, verifying and a lot more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document, you will learn what DEB and RPM are, and understand the commands used by their package managers: rpm and dpkg. You will also learn commands that are used along with the&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":108977,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[26805,26803,26804,26806,26807],"class_list":["post-108765","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-deb-or-rpm","tag-deb-vs-rpm","tag-difference-between-deb-and-rpm","tag-dpkg-command-options","tag-rpm-command-options"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DEB vs RPM - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about DEB and RPM in Linux. See their command options with examples. Also see differences between DEB vs RPM in detail.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DEB vs RPM - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about DEB and RPM in Linux. See their command options with examples. Also see differences between DEB vs RPM in detail.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-19T03:30:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-19T05:35:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DEB vs RPM - DataFlair","description":"Learn about DEB and RPM in Linux. See their command options with examples. Also see differences between DEB vs RPM in detail.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/","og_locale":"en_US","og_type":"article","og_title":"DEB vs RPM - DataFlair","og_description":"Learn about DEB and RPM in Linux. See their command options with examples. Also see differences between DEB vs RPM in detail.","og_url":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-04-19T03:30:36+00:00","article_modified_time":"2022-04-19T05:35:09+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"DEB vs RPM","datePublished":"2022-04-19T03:30:36+00:00","dateModified":"2022-04-19T05:35:09+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/"},"wordCount":2239,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp","keywords":["deb or rpm","DEB vs RPM","difference between deb and rpm","dpkg command options","rpm command options"],"articleSection":["Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/","url":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/","name":"DEB vs RPM - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp","datePublished":"2022-04-19T03:30:36+00:00","dateModified":"2022-04-19T05:35:09+00:00","description":"Learn about DEB and RPM in Linux. See their command options with examples. Also see differences between DEB vs RPM in detail.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/04\/deb-vs-rpm.webp","width":1200,"height":628,"caption":"deb vs rpm"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/deb-vs-rpm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Linux Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/linux\/"},{"@type":"ListItem","position":3,"name":"DEB vs RPM"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=108765"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108765\/revisions"}],"predecessor-version":[{"id":108978,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108765\/revisions\/108978"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/108977"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=108765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=108765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=108765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}