Skip to content

AlmaLinux 9

An Open Source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHELĀ® and pre-Stream CentOS.

Updates

  • Check for available package updates

    sudo dnf check-update -y
    
  • Install a specific package update

    sudo update package-name -y
    
  • Upgrade all of your system software

    sudo dnf update -y
    
  • Enable automatic security updates

    sudo dnf install dnf-automatic -y
    sudo sed -i "s/apply_updates = no/apply_updates = yes/" /etc/dnf/automatic.conf
    sudo systemctl enable --now dnf-automatic.timer
    

Software

Git

A distributed version control system that allows multiple people to collaborate on a project by tracking changes to files and coordinating their work. It enables developers to create branches, make modifications, merge changes, and handle conflicts efficiently. Git is widely used in software development to manage source code and maintain a history of changes.

  • Install

    sudo dnf install git -y
    
  • Configure

    git config --global user.name "your git username"
    git config --global user.email "email for git account"
    

Python 3.11.4

A high-level, interpreted programming language known for its simplicity and readability. It emphasizes code readability and offers a wide range of libraries and frameworks that make it versatile for various applications. Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming. It is widely used for web development, data analysis, scientific computing, artificial intelligence, and automation tasks.

  • Prerequisites

    sudo dnf install wget yum-utils make gcc openssl-devel bzip2-devel libffi-devel zlib-devel -y
    sudo dnf update -y
    
  • Install

    wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz
    tar xzf Python-3.11.4.tgz
    cd Python-3.11.4
    ./configure --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions
    sudo make -j ${nproc}
    sudo make altinstall
    

Podman

A containerization platform that allows users to manage and run containers on a Linux system. It provides a command-line interface (CLI) for creating, running, and managing containers, similar to Docker. However, Podman offers some advantages over Docker, such as running containers without requiring a daemon process, supporting rootless mode, and providing a more secure and isolated container runtime environment.

  • Prerequisites

    sudo dnf install epel-release -y
    
  • Install

    sudo dnf install podman podman-compose -y
    

Azure CLI

A cross-platform command-line tool provided by Microsoft for managing and interacting with Azure resources. It allows users to manage and automate various Azure services and resources through a command-line interface rather than a graphical user interface (GUI). Azure CLI provides a set of commands and parameters that can be used to perform operations such as creating and managing virtual machines, deploying applications, managing storage accounts, configuring networking, and more. It is available for Windows, macOS, and Linux platforms and supports scripting and automation.

  • Prerequisites

    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
    
  • Install

    sudo dnf install -y https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm -y
    
    sudo dnf install azure-cli -y
    

Terraform

An open-source infrastructure-as-code tool used for provisioning and managing cloud infrastructure resources. It allows you to define and create infrastructure components such as virtual machines, storage, and networks using declarative configuration files. Terraform supports multiple cloud providers, including AWS, Azure, and Google Cloud Platform, enabling you to manage your infrastructure in a consistent and reproducible manner.

  • Prerequisites

    sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo -y
    
  • Install

    sudo dnf install terraform -y
    

Node.js

Node.js is an asynchronous event-driven JavaScript runtime, Node.js is designed to build scalable network applications.

  • To install Node.js

    sudo dnf install nodejs -y
    

Node Package Manager

Node.js is all about modularity, and with that comes the need for a quality package manager; for this purpose, npm was made. npm is a package manager for Node.js packages or modules.

  • To install npm

    sudo dnf install npm -y
    
  • To install a packge or module using npm

    npm install <package-name>
    
  • To utilize the precise dependency versions specified in a package-lock.json file when installing packages

    npm ci
    

Utilities

  • Tree

    A command-line utility that displays the directory structure of a file system in a tree-like format. It shows the hierarchy of directories and their subdirectories, along with the files contained within them. The tree command helps users visualize the organization of files and directories on their system.

    sudo dnf install tree -y
    
  • Zip

    A command-line utility used for compressing and packaging files and directories into a compressed archive format. It is typically available in most Unix-like operating systems, including Linux.

    sudo dnf install zip -y
    

Last update: June 18, 2023
Created: May 15, 2023