Mar*_*cki 5 debian ubuntu synaptic-pkg-mgr
Synaptic 中“自动可移除”和其他部分(“手册”?)的定义是什么?
直觉上它应该是其他包不需要的包列表,但事实似乎并非如此。与“手动”和“本地”相同 - 看起来它们是随机分配的。:(
是否有一些我找不到的官方文档?
可自动删除的软件包是可以在不再安装依赖于它们的软件时自动删除的软件包。
完整列表印有:
$ apt-mark showauto
Run Code Online (Sandbox Code Playgroud)
您安装该软件包scid是希望它有助于提高您的国际象棋技巧:
$ sudo apt-get install scid
...
The following extra packages will be installed:
fonts-lmodern libpotrace0 libptexenc1 libsnack-alsa libsynctex1 libtcl8.5 libtk-img libtk8.5 libzzip-0-13 lmodern scid-data tcl-snack tcl8.5 tcllib tdom tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
Suggested packages:
libtk-img-doc toga2 phalanx glaurung crafty scid-spell-data scid-rating-data tcl-snack-doc tcl-tclreadline perl-tk
Recommended packages:
libsnack2
The following NEW packages will be installed:
fonts-lmodern libpotrace0 libptexenc1 libsnack-alsa libsynctex1 libtcl8.5 libtk-img libtk8.5 libzzip-0-13 lmodern scid scid-data tcl-snack tcl8.5 tcllib tdom tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
0 upgraded, 23 newly installed, 0 to remove and 211 not upgraded.
Need to get 0 B/94.7 MB of archives.
After this operation, 227 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Run Code Online (Sandbox Code Playgroud)
后来你发现与 pychess 相比,scid 使用起来真的很尴尬,所以你卸载了它:
$ sudo apt-get purge scid
...
The following packages will be REMOVED:
scid*
0 upgraded, 0 newly installed, 1 to remove and 211 not upgraded.
After this operation, 6,695 kB disk space will be freed.
Do you want to continue? [Y/n] y
Run Code Online (Sandbox Code Playgroud)
但是,看看这些数学:将使用 227 MB 的额外空间;将释放 6,695 kB 磁盘空间。嗯?
您可能想要摆脱所有那些 scid 依赖但现在不再需要的依赖库:
$ sudo apt-get autoremove
...
The following packages will be REMOVED:
libsnack-alsa libtcl8.5 libtk-img libtk8.5 scid-data tcl-snack tcl8.5 tcllib tdom texlive-games tk8.5
0 upgraded, 0 newly installed, 11 to remove and 211 not upgraded.
After this operation, 40.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
Run Code Online (Sandbox Code Playgroud)
那么剩下的 180 MB 怎么办?我不知道。但他们来了。
$ sudo apt-get purge fonts-lmodern libpotrace0 libptexenc1 libsynctex1 libtcl8.5 libtk8.5 libzzip-0-13 lmodern tcl8.5 tex-common texlive-base texlive-binaries texlive-games texlive-latex-base texlive-latex-base-doc tk8.5
...
The following packages will be REMOVED:
fonts-lmodern* libpotrace0* libptexenc1* libsynctex1* libtcl8.5* libtk8.5* libzzip-0-13* lmodern* tcl8.5* tex-common* texlive-base* texlive-binaries* texlive-games* texlive-latex-base*
texlive-latex-base-doc* tk8.5*
0 upgraded, 0 newly installed, 16 to remove and 211 not upgraded.
After this operation, 180 MB disk space will be freed.
Do you want to continue? [Y/n]
Run Code Online (Sandbox Code Playgroud)
要apt根据需要处理建议的包,请添加
APT::Install-Suggests "true";
Run Code Online (Sandbox Code Playgroud)
到/etc/apt/apt.conf.d/中的文件之一。
| 归档时间: |
|
| 查看次数: |
3636 次 |
| 最近记录: |