{"id":69376,"date":"2021-08-19T04:10:06","date_gmt":"2021-08-19T08:10:06","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/quick-guide-to-rpm-red-hat-package-manager-26\/"},"modified":"2021-08-19T04:10:06","modified_gmt":"2021-08-19T08:10:06","slug":"quick-guide-to-rpm-red-hat-package-manager-26","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=69376","title":{"rendered":"Quick guide to RPM (Red Hat Package Manager) #26"},"content":{"rendered":"<p>Quick Guide to RPM<\/p>\n<p>RPM-Red Hat Package Manager<\/p>\n<p>Caldera, Suse, Fedora also use RPM<\/p>\n<ol>\n<li>rpm -qa | more<\/li>\n<\/ol>\n<p>to check the installed software in the system<\/p>\n<p>q=query<\/p>\n<p>a=list<\/p>\n<ol>\n<li>rpm -qi faq<\/li>\n<\/ol>\n<p>Query individual package<\/p>\n<p>q=query<\/p>\n<p>i=requires a package name<\/p>\n<p>faq=the package<\/p>\n<ol>\n<li>rpm -ql faq<\/li>\n<\/ol>\n<p>List all the files for the package faq<\/p>\n<p>q=query<\/p>\n<p>l=list files<\/p>\n<p>faq=package name<\/p>\n<ol>\n<li>rpm -ivh xapp-1.1.0.i386.rpm<\/li>\n<\/ol>\n<p>install a package<\/p>\n<p>i=install<\/p>\n<p>v=verbose<\/p>\n<p>h=show progress with hash<\/p>\n<ol>\n<li>rpm -e faq<\/li>\n<\/ol>\n<p>remove package<\/p>\n<p>-e = erase<\/p>\n<ol>\n<li>rpm -e &#8211;nodeps faq<\/li>\n<\/ol>\n<p>erase without checking any dependancy<\/p>\n<p>may cause some other packages to fail<\/p>\n<ol>\n<li>rpm -Va<\/li>\n<\/ol>\n<p>Verify all of the files on your system.<\/p>\n<ol>\n<li>rpm -qf \/usr\/bin\/uptime<\/li>\n<\/ol>\n<p>check a file for its source\/package<\/p>\n<ol>\n<li>rpm -ivh &#8211;force pack-1.0.0.i386.rpm<\/li>\n<\/ol>\n<p>sometimes you will need it. When you go to install, you may get &#8216;already installed&#8217; message, if you want to remove you may get &#8216;not installed&#8217; message, &#8211;force is the solution.<\/p>\n<ol>\n<li>rpm -ivh &#8211;nodeps pack-1.0.0.i386.rpm<\/li>\n<\/ol>\n<p>install without checking dependencies<\/p>\n<p>[may not be a very good thing sometimes] From: http:\/\/sitestree.com\/?p=4750<br \/> Categories:26<br \/>Tags:<br \/> Post Data:2006-11-30 22:11:36<\/p>\n<pre><code>    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\"&gt;https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    (Big Data, Cloud, Security, Machine Learning): Courses: &lt;a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"&gt; http:\/\/Training.SitesTree.com&lt;\/a&gt; \n    In Bengali: &lt;a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\"&gt;http:\/\/Bangla.SaLearningSchool.com&lt;\/a&gt;\n    &lt;a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\"&gt;http:\/\/SitesTree.com&lt;\/a&gt;\n    8112223 Canada Inc.\/JustEtc: &lt;a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\"&gt;http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) &lt;\/a&gt;\n    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com'&gt; https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    Medium: &lt;a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"&gt; https:\/\/medium.com\/@SayedAhmedCanada &lt;\/a&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Quick Guide to RPM RPM-Red Hat Package Manager Caldera, Suse, Fedora also use RPM rpm -qa | more to check the installed software in the system q=query a=list rpm -qi faq Query individual package q=query i=requires a package name faq=the package rpm -ql faq List all the files for the package faq q=query l=list files &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=69376\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-69376","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":69370,"url":"http:\/\/bangla.sitestree.com\/?p=69370","url_meta":{"origin":69376,"position":0},"title":"How to create a RPM package in Linux #26 #RHCSA","author":"Author-Check- Article-or-Video","date":"August 19, 2021","format":false,"excerpt":"How to create a RPM package in Linux Creating basic installation RPM package is really easy. You just have to use rpmbuild command. rpmbuild will be applied to your source files and a RPM package will be created [all source files will be included in the RPM package]. Somewhere you\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14013,"url":"http:\/\/bangla.sitestree.com\/?p=14013","url_meta":{"origin":69376,"position":1},"title":"Centos\/Redhat \u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f yum \u0987\u09a8\u09cd\u09b8\u099f\u09b2\u09be\u09b0 \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0 \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09ac\u09c7\u09a8","author":"Sayed","date":"December 7, 2017","format":false,"excerpt":"Centos\/Redhat \u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f yum \u0987\u09a8\u09cd\u09b8\u099f\u09b2\u09be\u09b0 \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0 \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09ac\u09c7\u09a8 Mount Installer ISO mkdir \/mnt\/dvd1 mount \/dev\/sr0 \/mnt\/dvd1 Check if FTP server is installed systemctl status vsftpd systemctl start vsftpd Install ftp Server. Using rpm as yum is not available yet [default yum needs the internet, kindof] cd \/mnt\/dvd1\/Packages\/ rpm -ivh\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67586,"url":"http:\/\/bangla.sitestree.com\/?p=67586","url_meta":{"origin":69376,"position":2},"title":"Create your own yum repo in Centos\/Redhat #DevOps #RHCSA","author":"Author-Check- Article-or-Video","date":"July 25, 2021","format":false,"excerpt":"Yum is a software installation manager for Redhat Linux and Related. yum is a better tool than rpm. Here, we will take the rpm packages as come with Redhat\/Centos and then we will host those packages on our own Repo Server for yum. i.e. yum will use this Repo to\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69374,"url":"http:\/\/bangla.sitestree.com\/?p=69374","url_meta":{"origin":69376,"position":3},"title":"Build RPM Package #26","author":"Author-Check- Article-or-Video","date":"August 19, 2021","format":false,"excerpt":"Check the tutorial below for a detail discussionhttp:\/\/www.rpm.org\/max-rpm\/ From: http:\/\/sitestree.com\/?p=4749 Categories:26Tags: Post Data:2010-08-25 17:48:18 Shop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a> In Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a> <a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a> 8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67602,"url":"http:\/\/bangla.sitestree.com\/?p=67602","url_meta":{"origin":69376,"position":4},"title":"Experiment with SSH and TCP Wrappers #DevOps","author":"Author-Check- Article-or-Video","date":"July 25, 2021","format":false,"excerpt":"The idea was : use two servers; server1, and server2 create user: user1 in both server1 and server2 use nmtui to assign IP Addresses to both use ifdown and ifup to check if IPs are assigned properly change \/etc\/hosts and add the server ips and names use ping to know\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78097,"url":"http:\/\/bangla.sitestree.com\/?p=78097","url_meta":{"origin":69376,"position":5},"title":"How to install phpMyAdmin on Linux (AlmaLinux )","author":"Sayed","date":"May 4, 2025","format":false,"excerpt":"How to install phpMyAdmin on Linux (AlmaLinux - CentOs commands will work) dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm dnf install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm dnf --enablerepo=remi install phpMyAdmin nano \/etc\/httpd\/conf.d\/phpMyAdmin.conf sudo httpd -t systemctl restart httpd Accesss: http:\/\/your-server-ip\/phpMyAdmin Ref: https:\/\/www.liquidweb.com\/help-docs\/how-to-install-phpmyadmin-on-linux-almalinux\/ Commands from this URL worked. In my case, I only executed the above commands.","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=69376"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69376\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=69376"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=69376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}