pacman
Pacman is a command line tool and package manager used in several Linux distributions, notably Arch Linux. It is designed to simplify the process of managing software packages on a system. Pacman uses a simple command syntax that allows users to carry out various operations, such as installing, updating, and removing software packages. The tool has a user-friendly interface and provides extensive functionality, allowing users to search for packages, manage dependencies, and handle upgrades with ease. Pacman also supports a centralized package repository, where users can find and download an extensive collection of software packages. It uses a binary package format, which allows for quick installation and efficient storage of installed packages. Overall, Pacman is a powerful tool that contributes to the flexibility and simplicity of the Arch Linux ecosystem.
List of commands for pacman:
-
pacman-database:tldr:1979f pacman-database: Check that all the package dependencies are installed.$ pacman --database --checktry on your machineexplain this command
-
pacman-database:tldr:38f9e pacman-database: Display only error messages.$ pacman --database --check --quiettry on your machineexplain this command
-
pacman-database:tldr:91203 pacman-database: Display help.$ pacman --database --helptry on your machineexplain this command
-
pacman-database:tldr:a8dcd pacman-database: Mark a package as explicitly installed.$ sudo pacman --database --asexplicit ${package_name}try on your machineexplain this command
-
pacman-database:tldr:dc0e8 pacman-database: Check the repositories to ensure all specified dependencies are available.$ pacman --database --check --checktry on your machineexplain this command
-
pacman-database:tldr:fddfa pacman-database: Mark a package as implicitly installed.$ sudo pacman --database --asdeps ${package_name}try on your machineexplain this command
-
pacman-deptest:tldr:97974 pacman-deptest: Check if the installed package satisfies the given minimum version.$ pacman --deptest "${bash>=5}"try on your machineexplain this command
-
pacman-deptest:tldr:ab02c pacman-deptest: Print the package names of the dependencies that aren't installed.$ pacman --deptest ${package_name1} ${package_name2}try on your machineexplain this command
-
pacman-deptest:tldr:abf97 pacman-deptest: Display help.$ pacman --deptest --helptry on your machineexplain this command
-
pacman-files:tldr:0c6d1 pacman-files: Find the package that owns a specific file, using a regular expression.$ pacman --files --regex '${regular_expression}'try on your machineexplain this command
-
pacman-files:tldr:61462 pacman-files: List the files owned by a specific package.$ pacman --files --list ${package_name}try on your machineexplain this command
-
pacman-files:tldr:86f44 pacman-files: Find the package that owns a specific file.$ pacman --files ${filename}try on your machineexplain this command
-
pacman-files:tldr:98a29 pacman-files: Update the package database.$ sudo pacman --files --refreshtry on your machineexplain this command
-
pacman-files:tldr:d184c pacman-files: Display help.$ pacman --files --helptry on your machineexplain this command
-
pacman-files:tldr:f2561 pacman-files: List only the package names.$ pacman --files --quiet ${filename}try on your machineexplain this command
-
pacman-query:tldr:0f27c pacman-query: List files owned by a package.$ pacman --query --list ${package_name}try on your machineexplain this command
-
pacman-query:tldr:32cf2 pacman-query: List installed packages and versions.$ pacman --querytry on your machineexplain this command
-
pacman-query:tldr:431a7 pacman-query: Find which package owns a file.$ pacman --query --owns ${filename}try on your machineexplain this command
-
pacman-query:tldr:7f3ef pacman-query: List installed packages not found in the repositories.$ pacman --query --foreigntry on your machineexplain this command
-
pacman-query:tldr:9b396 pacman-query: List outdated packages.$ pacman --query --upgradestry on your machineexplain this command
-
pacman-query:tldr:a78ae pacman-query: List only packages and versions that were explicitly installed.$ pacman --query --explicittry on your machineexplain this command
-
pacman-query:tldr:bf552 pacman-query: Display information about an installed package.$ pacman --query --info ${package_name}try on your machineexplain this command
-
pacman-query:tldr:e09a9 pacman-query: List orphan packages (installed as dependencies but not required by any package).$ pacman --query --unrequired --deps --quiettry on your machineexplain this command
-
pacman-remove:tldr:24e0a pacman-remove: Remove a package without prompting.$ sudo pacman --remove --noconfirm ${package_name}try on your machineexplain this command
-
pacman-remove:tldr:3e1ad pacman-remove: Display help for this subcommand.$ pacman --remove --helptry on your machineexplain this command
-
pacman-remove:tldr:8fe4d pacman-remove: Remove a package and its dependencies.$ sudo pacman --remove --recursive ${package_name}try on your machineexplain this command
-
pacman-remove:tldr:a1932 pacman-remove: Remove orphan packages (installed as dependencies but not required by any package).$ sudo pacman --remove --recursive --nosave $(pacman --query --unrequired --deps --quiet)try on your machineexplain this command
-
pacman-remove:tldr:a4d17 pacman-remove: List packages that would be affected (does not remove any packages).$ pacman --remove --print ${package_name}try on your machineexplain this command
-
pacman-remove:tldr:c0137 pacman-remove: Remove a package and all packages that depend on it.$ sudo pacman --remove --cascade ${package_name}try on your machineexplain this command
-
pacman-remove:tldr:ecab8 pacman-remove: Remove a package and both its dependencies and configuration files.$ sudo pacman --remove --recursive --nosave ${package_name}try on your machineexplain this command
-
pacman-sync:tldr:497f1 pacman-sync: Update all packages and install a new one without prompting.$ sudo pacman --sync --refresh --sysupgrade --noconfirm ${package_name}try on your machineexplain this command
-
pacman-sync:tldr:53327 pacman-sync: Remove not installed packages and unused repositories from the cache (use two `--clean` flags to clean all packages).$ sudo pacman --sync --cleantry on your machineexplain this command
-
pacman-sync:tldr:5ffb4 pacman-sync: Overwrite conflicting files during a package update.$ sudo pacman --sync --refresh --sysupgrade --overwrite ${filename}try on your machineexplain this command
-
pacman-sync:tldr:77ef4 pacman-sync: Synchronize and update all packages, but ignore a specific package (can be used more than once).$ sudo pacman --sync --refresh --sysupgrade --ignore ${package_name}try on your machineexplain this command
-
pacman-sync:tldr:94b98 pacman-sync: Search the package database for a regular expression or keyword.$ pacman --sync --search "${search_pattern}"try on your machineexplain this command
-
pacman-sync:tldr:b9305 pacman-sync: Install a new package.$ sudo pacman --sync ${package_name}try on your machineexplain this command
-
pacman-sync:tldr:ea27e pacman-sync: Synchronize and update all packages (add `--downloadonly` to download the packages and not update them).$ sudo pacman --sync --refresh --sysupgradetry on your machineexplain this command
-
pacman-sync:tldr:eceb9 pacman-sync: Display information about a package.$ pacman --sync --info ${package_name}try on your machineexplain this command
-
pacman-upgrade:tldr:0275b pacman-upgrade: List packages that would be affected (does not install any packages).$ pacman --upgrade --print ${path-to-package-pkg-tar-zst}try on your machineexplain this command
-
pacman-upgrade:tldr:04222 pacman-upgrade: Install a package, skipping the dependency version checks.$ sudo pacman --upgrade --nodeps ${path-to-package-pkg-tar-zst}try on your machineexplain this command
-
pacman-upgrade:tldr:224a8 pacman-upgrade: Overwrite conflicting files during a package installation.$ sudo pacman --upgrade --overwrite ${filename} ${path-to-package-pkg-tar-zst}try on your machineexplain this command
-
pacman-upgrade:tldr:d29b5 pacman-upgrade: Display help.$ pacman --upgrade --helptry on your machineexplain this command
-
pacman-upgrade:tldr:d36de pacman-upgrade: Install a package without prompting.$ sudo pacman --upgrade --noconfirm ${path-to-package-pkg-tar-zst}try on your machineexplain this command
-
pacman-upgrade:tldr:f793b pacman-upgrade: Install one or more packages from files.$ sudo pacman --upgrade ${path-to-package1-pkg-tar-zst} ${path-to-package2-pkg-tar-zst}try on your machineexplain this command
-
pacman:tldr:05d7e pacman: Synchronize and update all packages.$ sudo pacman -Syutry on your machineexplain this command
-
pacman:tldr:0e8f8 pacman: List only the explicitly installed packages and versions.$ pacman -Qetry on your machineexplain this command
-
pacman:tldr:515fa pacman: Empty the entire pacman cache.$ sudo pacman -Scctry on your machineexplain this command
-
pacman:tldr:658b5 pacman: List installed packages and versions.$ pacman -Qtry on your machineexplain this command
-
pacman:tldr:722cd pacman: Search the package database for a regular expression or keyword.$ pacman -Ss "${search_pattern}"try on your machineexplain this command
-
pacman:tldr:9adad pacman: Install a new package.$ sudo pacman -S ${package_name}try on your machineexplain this command
-
pacman:tldr:da6d4 pacman: List orphan packages (installed as dependencies but not actually required by any package).$ pacman -Qtdqtry on your machineexplain this command
-
pacman:tldr:f6941 pacman: Remove a package and its dependencies.$ sudo pacman -Rs ${package_name}try on your machineexplain this command