Linux Classroom notes 27/July/2026

package manager:

  • linux
    • debian : apt
      • debian
      • ubuntu
      • rocky linux
    • redhat yum or dnf
      • redhat
      • centos
      • amazonlinux
  • windows: choco, winget
    • windows server
    • windows home
    • windows pro
    • mssql
  • mac: homebrew
    • redhat family
  • ios/apk
    • mobile packages: apk

## ubuntu

sudo apt update - update packages info in apt repository

sudo apt list --upgradable - get all list of packages upgradable

sudo apt-get install openjdk-11-jre-headless -y

sudo apt install apache2 -y 

# redhat 

sudo yum update 

sudo yum install httpd -y 


sudo dnf update -y

sudo dnf install httpd -y


## add packages repo and install 

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo dnf install -y terraform


Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%