linux - Linux上如何区分手动安装的包和依赖项

标签 linux raspberry-pi3 raspbian apt

我是 Linux 新手,现在我正在使用带有 raspbian 的树莓派来学习它。我正在尝试安装和卸载软件包(apt)的命令,但我有以下疑问。

有没有办法区分我已安装的软件包和自动安装的软件包,因为它们是依赖项?

谢谢

最佳答案

Is there a way to differentiate between packages that I have installed and packages that were automatically installed because they are dependencies?

可能不会,但这并不重要。假设您有一些包 foo 已作为 bar 的依赖项安装。几天后,您可能想要安装 foo (由于它已经安装,所以什么也不会发生)。

关于linux - Linux上如何区分手动安装的包和依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52082392/

相关文章:

boot - Raspbian 的软 float 版本无法启动

linux - Linux 环境中的 Perl 脚本无法通过 cron 运行

python - pymodbus解码错误: [Input/Output] No response received from the remote unit/Unable to decode response

python - 在树莓派中安装 google-auth (Python)

python - 在Raspberry上安装PyQt5 for Python3.6

linux - 树莓派2 : routing table has no the specified gateway

python - Raspberry pi python mysql代码在一段时间后停止保存数据

linux - 使用 bash 在没有 awk 的情况下平均线

linux - 仅使用 containerd(无 Docker)修剪容器镜像

linux - 如何在非阻塞套接字上处理 OpenSSL SSL_ERROR_WANT_READ/WANT_WRITE