#!/bin/bash # get_user_installed.sh comm -23 <(pacman -Qeq | sort -u) <(xargs -n 1 pactree -u <<< "${@}" | sort -u) First, we output packages explicitly installed on our system. Next, we output dependencies of a list of packages passed as script arguments. Finally, we ...
-Qe:list packages explicitly installed(自己安装的软件) -Qq:show less information for query and search(不显示版本号) -Qeq:-Qe + -Qq -Qs <regex>:search locally-installed packages for matching strings -Qdt:显示不再被需要的依赖 -Qu:list outdated packages sudo pacman -R $(pacman -Qdtq)分享...
--- https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#List_of_installed_packages https://wiki.archlinux.org/index.php/Pacman#Installation_reason 已安装的软件包列表 保留所有显式安装的软件包的列表可能很有用,例如备份系统或加快新系统上的安装: $ pacman -Qqe > pkglist.txt 注意: 使用...
/* 将软件包加入事务 */ static int load_packages(alpm_list_t *targets, int siglevel) { a...
List all packages installed as dependencies. This option can be combined with-tfor listing real orphans- packages that were installed as dependencies but are no longer required by any installed package. (-Qdtis equivalent to the pacman 3.0.X-Qeoption.) ...
Qet pkgstats Submit a list of installed packages to the Arch Linux project | 将已安装软件包的列表提交到Arch Linux项目 0.002 0.002 Qet lostfiles Find orphaned files not owned by any Arch packages | 查找不属于任何Arch软件包的孤立文件 0.006 0.006 Qet fzf Command-line fuzzy finder | 命令行模...
man -U /home/user/ceofhack-0.6-1-x86_64.pkg.tar.gz Install ceofhack-0.6-1 package from a local file. pacman -Syu Update package list and upgrade all packages afterwards. pacman -Syu gpm Update package list, upgrade all packages, and then install gpm if it wasn’t already installed...
三、查询本地是否已经安装 # apt list --installed | grep '*vim*' # pacman -Qs vim # pac...
list List all installed packages. search Search for a package in the repositories. show Show detailed information about a package. install Install a package. reinstall Reinstall a package. upgrade Upgrade all installed packages to the latest version. remove Remove a package. autoremove Automatically ...
This option takes a list of tokens which must be at least one of the following: Sync Enables refreshes for this repository. Search Enables searching for this repository. Install Enables installation of packages from this repository during a --sync operation. Upgrade Allows this repository to be ...