What is package ?

Mihir SuratwalaMihir Suratwala
2 min read

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

  1. Standalone installation

    This method is used for installing package on few machine or servers.

    E.g. pd, dvd etc.

  2. Network installation

    This method is used for installing package on large number of machines

    E.g. Centralized servers.

Standalone installation

  1. RPM command is used to install package in standalone installation

  2. RPM stands for redhat package manager

  3. rpm command is to install packages on linux distributions like CentOS, REHL.

  4. Rpm command syntax

     #rpm <option> <name of package>
    

    Option:

    i - for installation

    v - for verbose

    h - for hashes

    e - for erase

    q - for query

  5. Installing package with rpm

     #rpm -ivh httpd-tools-2.4.6-7.el7.x86_64.rpm
    
  6. Drawback of rpm

    1. We can’t install dependent software in single go.

    2. 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

💡
That’s a wrap for today’s post! I hope this has given you some valuable insights. Be sure to explore more articles on our blog for further tips and advice. See you in the next post!
0
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.