APT (Advanced Package Tool) for Debian and Ubuntu-based systems. Basic Commands 1# Update package list 2sudo apt update 3 4# Upgrade all packages 5sudo apt upgrade 6 7# Full upgrade (may remove packages) 8sudo apt full-upgrade 9sudo apt dist-upgrade # Older command 10 11# Install package 12sudo apt install package-name …
Read Moredpkg - Low-level package manager for Debian-based systems. Basic Commands 1# Install package 2sudo dpkg -i package.deb 3 4# Remove package (keep config) 5sudo dpkg -r package-name 6 7# Purge package (remove config) 8sudo dpkg -P package-name 9 10# List installed packages 11dpkg -l 12 13# List specific package 14dpkg -l …
Read Moreemerge (Portage) - Source-based package manager for Gentoo Linux. Basic Commands 1# Sync package tree 2emerge --sync 3# Or 4emaint sync -a 5 6# Update system 7emerge --update --deep --newuse @world 8 9# Install package 10emerge package-name 11 12# Install with dependencies 13emerge --ask package-name 14 15# Remove …
Read Morepacman - Package manager for Arch Linux and derivatives (Manjaro, EndeavourOS). Basic Commands 1# Update package database 2sudo pacman -Sy 3 4# Upgrade all packages 5sudo pacman -Syu 6 7# Full system upgrade 8sudo pacman -Syyu 9 10# Install package 11sudo pacman -S package-name 12 13# Install multiple packages 14sudo …
Read Morepip - Package installer for Python. Basic Commands 1# Install package 2pip install package-name 3 4# Install specific version 5pip install package-name==1.0.0 6 7# Install minimum version 8pip install 'package-name>=1.0.0' 9 10# Install version range 11pip install 'package-name>=1.0.0,<2.0.0' …
Read Morepkg - Binary package manager for FreeBSD. Basic Commands 1# Update repository catalog 2pkg update 3 4# Upgrade all packages 5pkg upgrade 6 7# Install package 8pkg install package-name 9 10# Install without confirmation 11pkg install -y package-name 12 13# Remove package 14pkg delete package-name 15 16# Remove package …
Read MoreScoop - Command-line installer for Windows. Installation 1# Set execution policy 2Set-ExecutionPolicy RemoteSigned -Scope CurrentUser 3 4# Install Scoop 5irm get.scoop.sh | iex 6 7# Or long form 8Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression 9 10# Verify 11scoop --version Basic Commands 1# Search for …
Read MoreYarn package manager for JavaScript/Node.js projects. Installation 1# Via npm 2npm install -g yarn 3 4# Via Corepack (Node.js 16.10+) 5corepack enable 6corepack prepare yarn@stable --activate 7 8# Verify 9yarn --version Basic Commands 1# Initialize project 2yarn init 3yarn init -y # Skip questions 4 5# Install …
Read Moreyum (Yellowdog Updater Modified) and dnf (Dandified Yum) for RHEL, Fedora, CentOS. dnf vs yum 1# dnf is the modern replacement for yum 2# Commands are mostly compatible 3 4# Fedora 22+: dnf 5# RHEL 8+: dnf 6# CentOS 8+: dnf 7# Older systems: yum 8 9# This guide uses dnf, but most commands work with yum Basic Commands …
Read More