{"id":353,"date":"2025-10-13T05:24:25","date_gmt":"2025-10-13T05:24:25","guid":{"rendered":"https:\/\/blog.chaiyakul.com\/?p=353"},"modified":"2025-10-13T05:25:31","modified_gmt":"2025-10-13T05:25:31","slug":"linux-package-distro-deb-rpm","status":"publish","type":"post","link":"https:\/\/blog.chaiyakul.com\/index.php\/2025\/10\/13\/linux-package-distro-deb-rpm\/","title":{"rendered":"\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c Linux \u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07 .deb \u0e01\u0e31\u0e1a .rpm \u0e43\u0e0a\u0e49\u0e01\u0e31\u0e1a Linux distribution(Linux distro) \u0e44\u0e2b\u0e19"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>.deb<\/strong><\/h3>\n\n\n\n<p>\u0e44\u0e1f\u0e25\u0e4c <strong><code>.deb<\/code><\/strong> \u0e40\u0e1b\u0e47\u0e19 <strong>\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c<\/strong> \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e01\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Linux \u0e15\u0e23\u0e30\u0e01\u0e39\u0e25 <strong>Debian<\/strong> \ud83d\udc27<br>\u0e40\u0e0a\u0e48\u0e19\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e1a\u0e44\u0e1f\u0e25\u0e4c <code>.exe<\/code> \u0e1a\u0e19 Windows \u0e2b\u0e23\u0e37\u0e2d <code>.pkg<\/code> \u0e1a\u0e19 macOS<\/p>\n\n\n\n<p>\ud83d\udc49 <strong>Linux \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e44\u0e1f\u0e25\u0e4c <code>.deb<\/code> \u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07<\/strong> \u0e44\u0e14\u0e49\u0e41\u0e01\u0e48:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83d\udfe2 <strong>Debian<\/strong> (\u0e14\u0e31\u0e49\u0e07\u0e40\u0e14\u0e34\u0e21)<\/li>\n\n\n\n<li>\ud83d\udfe1 <strong>Ubuntu<\/strong> \u0e41\u0e25\u0e30\u0e2a\u0e32\u0e22\u0e1e\u0e31\u0e19\u0e18\u0e38\u0e4c \u0e40\u0e0a\u0e48\u0e19\n<ul class=\"wp-block-list\">\n<li>Linux Mint<\/li>\n\n\n\n<li>Kubuntu<\/li>\n\n\n\n<li>Xubuntu<\/li>\n\n\n\n<li>Lubuntu<\/li>\n\n\n\n<li>Zorin OS<\/li>\n\n\n\n<li>Elementary OS<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u26aa <strong>Kali Linux<\/strong> (\u0e0b\u0e36\u0e48\u0e07\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e21\u0e32\u0e08\u0e32\u0e01 Debian)<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udc49 \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e1f\u0e25\u0e4c <code>.deb<\/code> (\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c root \u0e2b\u0e23\u0e37\u0e2d sudo):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo dpkg -i \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.deb\n<\/pre><\/div>\n\n\n<p>\ud83d\udc49 \u0e16\u0e49\u0e32\u0e21\u0e35 dependency \u0e02\u0e32\u0e14 (\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get install -f\n<\/pre><\/div>\n\n\n<p>\ud83d\udca1 \u0e2b\u0e32\u0e01\u0e04\u0e38\u0e13\u0e43\u0e0a\u0e49 Linux \u0e15\u0e23\u0e30\u0e01\u0e39\u0e25 <strong>Red Hat<\/strong> \u0e40\u0e0a\u0e48\u0e19 Fedora, CentOS, Rocky \u0e2b\u0e23\u0e37\u0e2d openSUSE \u2192 \u0e08\u0e30 <strong>\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49 <code>.deb<\/code> \u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07<\/strong> \u0e15\u0e49\u0e2d\u0e07\u0e41\u0e1b\u0e25\u0e07\u0e40\u0e1b\u0e47\u0e19 <code>.rpm<\/code> \u0e01\u0e48\u0e2d\u0e19 \u0e2b\u0e23\u0e37\u0e2d\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e17\u0e35\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e19\u0e31\u0e49\u0e19\u0e41\u0e17\u0e19<\/p>\n\n\n\n<p>\u0e44\u0e1f\u0e25\u0e4c <strong><code>.rpm<\/code><\/strong> \u0e40\u0e1b\u0e47\u0e19 <strong>\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c<\/strong> \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Linux \u0e15\u0e23\u0e30\u0e01\u0e39\u0e25 <strong>Red Hat<\/strong> \u2764\ufe0f<br>\u0e04\u0e25\u0e49\u0e32\u0e22\u0e01\u0e31\u0e1a <code>.deb<\/code> \u0e02\u0e2d\u0e07 Debian\/Ubuntu \u0e41\u0e15\u0e48\u0e43\u0e0a\u0e49\u0e04\u0e19\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>.rpm<\/strong><\/h3>\n\n\n\n<p>\u0e44\u0e1f\u0e25\u0e4c <strong><code>.rpm<\/code><\/strong> \u0e40\u0e1b\u0e47\u0e19 <strong>\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c<\/strong> \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Linux \u0e15\u0e23\u0e30\u0e01\u0e39\u0e25 <strong>Red Hat<\/strong> \u2764\ufe0f<br>\u0e04\u0e25\u0e49\u0e32\u0e22\u0e01\u0e31\u0e1a <code>.deb<\/code> \u0e02\u0e2d\u0e07 Debian\/Ubuntu \u0e41\u0e15\u0e48\u0e43\u0e0a\u0e49\u0e04\u0e19\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08<\/p>\n\n\n\n<p>\ud83d\udc49 <strong>Linux \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e44\u0e1f\u0e25\u0e4c <code>.rpm<\/code> \u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07<\/strong> \u0e44\u0e14\u0e49\u0e41\u0e01\u0e48:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83d\udd34 <strong>Red Hat Enterprise Linux (RHEL)<\/strong><\/li>\n\n\n\n<li>\ud83d\udfe0 <strong>Fedora<\/strong><\/li>\n\n\n\n<li>\ud83d\udfe1 <strong>CentOS \/ AlmaLinux \/ Rocky Linux<\/strong> (\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e21\u0e32\u0e08\u0e32\u0e01 RHEL)<\/li>\n\n\n\n<li>\ud83d\udfe2 <strong>openSUSE \/ SUSE Linux Enterprise<\/strong> (\u0e1a\u0e32\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e2d\u0e32\u0e08\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 zypper)<\/li>\n<\/ul>\n\n\n\n<p>\ud83d\udc49 \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e1f\u0e25\u0e4c <code>.rpm<\/code> (\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c root \u0e2b\u0e23\u0e37\u0e2d sudo):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo rpm -i \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.rpm\n<\/pre><\/div>\n\n\n<p>\ud83d\udc49 \u0e16\u0e49\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 dependency \u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 (\u0e41\u0e19\u0e30\u0e19\u0e33\u0e43\u0e2b\u0e49\u0e43\u0e0a\u0e49 <code>dnf<\/code> \u0e2b\u0e23\u0e37\u0e2d <code>yum<\/code>):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo dnf install \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.rpm\n# \u0e2b\u0e23\u0e37\u0e2d (\u0e16\u0e49\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e48\u0e32)\nsudo yum install \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.rpm\n<\/pre><\/div>\n\n\n<p>\ud83d\udca1 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49 <strong>Debian \/ Ubuntu<\/strong> \u2014 \u0e44\u0e1f\u0e25\u0e4c <code>.rpm<\/code> \u0e08\u0e30 <strong>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07<\/strong><br>\u0e41\u0e15\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e41\u0e1b\u0e25\u0e07\u0e40\u0e1b\u0e47\u0e19 <code>.deb<\/code> \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 <code>alien<\/code> \u0e40\u0e0a\u0e48\u0e19:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt install alien\nsudo alien -d \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.rpm\nsudo dpkg -i \u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c.deb\n<\/pre><\/div>\n\n\n<p>\u2705 <strong>\u0e2a\u0e23\u0e38\u0e1b\u0e2a\u0e31\u0e49\u0e19 \u0e46:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>.deb<\/code> \u2192 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Debian, Ubuntu, Mint<\/li>\n\n\n\n<li><code>.rpm<\/code> \u2192 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Red Hat, Fedora, CentOS, openSUSE<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>.deb \u0e44\u0e1f\u0e25\u0e4c .deb \u0e40\u0e1b\u0e47\u0e19 \u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e01\u0e31\u0e1a\u0e23\u0e30 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[105,9,165],"tags":[],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","category-linux-mint"],"_links":{"self":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":1,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}