Linux Classroom notes 28/mar/2026

Package Manager:

Package managers are tools that automate installing, updating, configuring, and removing software packages. Different programming languages and operating systems use different package managers.


Linux Package Managers:

Type Manager Used In
Debian-based APT Ubuntu, Debian
Red Hat-based DNF/YUM Fedora, RHEL
Arch-based Pacman Arch, Manjaro
SUSE-based Zypper openSUSE
Universal Snap, Flatpak Many distros
Source-based Portage Gentoo

Windows Package Managers:

  • Chocolatey
choco install pkg      # Install a package
choco upgrade pkg      # Upgrade a package
choco uninstall pkg    # Remove a package
choco list --local     # List installed packages

  • Winget
winget install pkg     # Install a package
winget upgrade pkg     # Upgrade a package
winget uninstall pkg   # Remove a package
winget search pkg      # Search for a package


Programming Language Package Managers:

  • NPM (Node.js)
npm install pkg        # Install locally
npm install -g pkg     # Install globally
npm update             # Update dependencies
npm uninstall pkg      # Remove a package

  • PIP (Python)
pip install pkg        # Install a package
pip install --upgrade pkg  # Upgrade a package
pip uninstall pkg      # Remove a package
pip list               # List installed packages

  • Maven (Java)
mvn install            # Install project dependencies
mvn clean              # Clean build files
mvn package            # Package project into JAR/WAR

keypoints:

  • System-level managers (APT, YUM, Chocolatey, Winget) → manage OS software.

  • Language-specific managers (NPM, PIP, Maven) → manage libraries and frameworks.

  • Common commands across all: install, update/upgrade, remove/uninstall, search/list.


Install Tomcat 10 in ubuntu 24.04

Tomcat InstallationGuide

Tomcat_url: “https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.53/bin/apache-tomcat-10.1.53.tar.gz”

Required_ports: 22,8080, http & https

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube