apt-cache search package——在镜像源中搜索包 apt-cache show package——获取包的相关信息,如说明、大小、版本等 apt-cache rdepends package——查看该包被哪些包依赖 安装 apt-get install package——安装包 apt-get install package - - reinstall——重新安装 apt-get -f install——修复安装 删除 apt-ge...
was wondering if there was a way to tell dpkg to show couple of lines as output. I do see that there is a /etc/dpkg/dpkg.cfg file as well as /etc/dpkg/dpkg.cfg.d directory as well. Looking forward to info. on the same.
apt-cache search # ---(package 搜索包) apt-cache show #---(package 获取包的相关信息,如说明、大小、版本等) apt-get install # ---(package 安装包) apt-get install # ---(package --reinstall 重新安装包) apt-get -f install # ---(强制安装, "-f = --fix-missing"当是修复安装吧......
apt-cache search package 搜索包 apt-cache show package 获取包的相关信息,如说明、大小、版本等 sudo apt-get install package 安装包 sudo apt-get install package - - reinstall 重新安装包 sudo apt-get -f install 修复安装"-f = ——fix-missing" sudo apt-get remove package 删除包 sudo apt-get...
配置:dpkg --configure package-name.deb配置软件包。 列出deb包的内容:dpkg -c package-name.deb 递归处理所有与指定目录中找到的符合模式*.deb的常规文件,并且所有的avail操作(可用)可与-i、-A、–install、–unpack一起使用:-R, --recursive 移除软件包: ...
apt-cache show pkgs ——显示软件包记录,类似于dpkg –print-avail。 apt-cache pkgnames ——打印软件包列表中所有软件包的名称。 dpkg -S file ——这个文件属于哪个已安装软件包。 dpkg -L package ——列出软件包中的所有文件。 apt-file search filename ——查找包含特定文件的软件包(不一定是已安装的...
apt-cache show #---(package获取包的相关信息,如说明、大小、版本等) sudo apt-get install # ---(package安装包) sudo apt-get install # ---(package - - reinstall重新安装包) sudo apt-get -f install # ---(强制安装?#"-f = --fix-missing"当是修复安装吧...) sudo apt-get remove #--...
apt show:显示包详细信息 ┌─[cxxu@CxxuWin11] - [/mnt/d/repos/blogs] - [2022-05-05 12:43:09] └─[0] <git:(main 7b33a7b✗✱✈) > apt show exa Package: exa Version: 0.10.1-2 Built-Using: rustc (= 1.54.0+dfsg1-3) ...
Commands:-b|--build <directory> [<deb>] Build an archive.-c|--contents <deb> List contents.-I|--info <deb> [<cfile> ...] Show info to stdout.-W|--show <deb> Show information on package(s)-f|--field <deb> [<cfield> ...] Show field(s) to stdou...
-Dh|--debug=help Show help on debugging. -h|--help 显示本帮助信息。 --version 显示版本信息。对归档文件使用 dpkg -b|--build|-c|--contents|-e|--control|-I|--info|-f|--field| -x|--extract|-X|--vextract|--fsys-tarfile (输入 dpkg-deb --help)。For internal use: dpkg --assert...