--print 打印目标而不是执行操作-r,--root <路径> 指定另外的安装根目录-v,--verbose 显示详细信息--arch <架构> 设定另外的架构--asdeps 作为非单独指定安装的软件包安装--asexplicit 作为单独指定安装的软件包安装--assume-installed <package=version>添加一个虚拟包用以满足依赖要求--cache...
-S [package]:安装包 -Sy:download fresh package databases from the server(可能不是最新的) -Syy:force a refresh even if up to date -Su:upgrade installed packages -Syu:-Sy + -Su -Syyu:-Syy + -Su -Ss <regex>:search remote repositories for matching strings -Sc:remove old packages from ...
#install a downloaded pkg.tar.xz: sudo pacman -U [/path/]package-name.pkg.tar.xz #install via URL pacman -U http://www.examplepackage/repo/examplepkg.tar.xz Query Get a list of installed packages: Name pacman -Q Search installed package: ...
使用pacman ..比如说我安一个包:sudo pacman -S Chromium会出现错误:error: could not register 'sublime-text' database (dat
-s, --search <regex> 搜寻符合指定字符串的已安装本地的软件包 -t, --unrequired 列出不被任何软件包(可选)要求的软件包(-tt 忽略可选依赖) [过滤器] -u, --upgrades 列出所有可升级的软件包 [过滤器] -v, --verbose 显示详细信息 --arch <架构> 设定另外的架构 ...
Restrict or filter output to packages that were not found in the sync database(s). Typically these are packages that were downloaded manually and installed with--upgrade. -o, --owns<file> Search for the package that owns file. The path can be relative or absolute. ...
When you include multiple search terms, only packages with descriptions matching ALL of those terms will be returned. -u, --sysupgrade Upgrades all packages that are out-of-date. Each currently-installed package will be examined and upgraded if a newer package exists. A report of all packages...
How to find which package holds a file? -Qu: 查看可更新包 先更新源,获取最新应用的列表: sudo pacman -Sy 查询可更新包: pacman -Qu yay同理: yay -Sy yay -Qu 查看某包被哪些包依赖 pacman -Qi 包名 里面的Required By后面的就是依赖这个包的包。
aprof installed Loading requiredpackage:aprof>>p_isinstalled(aprof)[1]FALSE>p_isloaded(aprof)aprof TRUE 卸载 另一个好用的函数是可以将某个包从当前路径卸载(不是删除),但基本的R包不能被卸载(R启动就用到的包)。 格式如下: p_unload(...,negate=FALSE,char,character.only=FALSE) ...
I'd suggest putting "apt" before "pacman" in the search list, just based on popularity. That's a stop-gap though. Unfortunately I don't think there's any truly correct solution based on scanning for an executable. Sometimes people have multiple package managers installed: their native one...