What is package ?


Last Blog Review →
In the last blog we understood, what are runners, types of runners and advantages of runners. Commands of network interface teaming.
What are packages
In linux distribution system, all the software are divided into packages which can be installed / uninstalled / upgraded. In short packages refer to the compressed archive file containing all the files that come the particular application.
Package Architecture
httpd-tools-2.4.6-7.el8.x86_64.rpm
Name version.release architecture extention
Method for installing the package
Standalone installation
This method is used for installing package on few machine or servers.
E.g. pd, dvd etc.
Network installation
This method is used for installing package on large number of machines
E.g. Centralized servers.
Standalone installation
RPM command is used to install package in standalone installation
RPM stands for redhat package manager
rpm command is to install packages on linux distributions like CentOS, REHL.
Rpm command syntax
#rpm <option> <name of package>
Option:
i - for installation
v - for verbose
h - for hashes
e - for erase
q - for query
Installing package with rpm
#rpm -ivh httpd-tools-2.4.6-7.el7.x86_64.rpm
Drawback of rpm
We can’t install dependent software in single go.
It does not ask for user permission
Conclusion
In the this blog we understood, what are packages in linux, types of installation of packages. How to work with standalone installation.
Image credit → https://images.app.goo.gl/TAHyYUrS87ZoJ5pTA
Subscribe to my newsletter
Read articles from Mihir Suratwala directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Mihir Suratwala
Mihir Suratwala
Hi, How are you !! Hope you doing good.... I got introduced to Cloud initially. As I went ahead learning what is cloud and how it works, then got to know a field which is DevOps that makes Cloud model more effective. So, as I started working & got good experience on AWS. I have been learning the DevOps tool and technologies on how to use it with the Cloud, which will give me good understanding on how Cloud and DevOps go hand in hand to deploy my applications.