为了研究导致安装给定软件包的原因,我想获取依赖于该软件包的软件包列表。我在man dpkg.
我最近安装了 Ubuntu Server 版本 13.10(Saucy Salamander)。但我遇到了一些问题。
在安装结束时,它会询问您是否需要几个额外的包,例如 OpenSSH 服务器和虚拟机主机。这是我在看的:
现在,我的问题是我不记得是否选中了“虚拟机主机”复选框。如何检查我的服务器是否有相应的包?
虚拟机主机自带哪些包?
server package-management virtualization system-installation
我想获得由apt或手动安装的软件包列表,aptitude并能够找出foobar软件包是手动安装还是自动安装。从命令行有什么巧妙的方法可以做到这一点吗?
有什么区别吗
sudo apt-get purge <package-name>
Run Code Online (Sandbox Code Playgroud)
和
sudo apt-get remove <package-name>
Run Code Online (Sandbox Code Playgroud)
?
我经常看到人们推荐其中一个。
换句话说,什么apt-get purge删除了apt-get remove没有?
假设我从网站下载了一个 .deb 包并安装它。(我假设当我双击 .deb 文件时,该软件包是通过与 dpkg 接口的 GUI 安装的,对吗?)
我怎样才能卸载它?
我正在尝试对octave3.2软件包进行全新安装。
为此,我将其删除,然后尝试重新安装。
当我重新安装时,出现错误。这可能是包中的一个错误,但我想确保我已经删除了所有内容,以便我可以进行全新安装。
这样做就足够了吗?
sudo apt-get --purge remove octave3.2
Run Code Online (Sandbox Code Playgroud) 发出时收到以下错误消息:
sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB]
Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease
Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease
Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:9 http://linux.dropbox.com/ubuntu wily InRelease
Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]
Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release
Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease
Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release
Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]
Hit:17 http://linux.dropbox.com/ubuntu wily Release
Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 …Run Code Online (Sandbox Code Playgroud) 如何在受支持的 Ubuntu 版本中访问 Universe 存储库?
为什么 Ubuntu 转储.deb软件包并转向.snap软件包?
至少现在他们正在.deb为正态分布保留包。.deb已经是最流行的包装格式了。
这给出了关于 Snap 包格式是什么的想法。但是现有的 deb 包会发生什么?迁移到 Snap 有什么明显的优势吗?值得痛苦吗?
apt ×5
uninstall ×2
aptitude ×1
command-line ×1
deb ×1
dependencies ×1
multiarch ×1
octave ×1
purge ×1
repository ×1
server ×1
snap ×1
ubuntu-core ×1