sudo apt-get update 安装pkg-config: 在更新完软件包列表后,输入以下命令来安装pkg-config。 bash sudo apt-get install pkg-config 输入密码: 当系统提示你输入管理员密码时,请输入你的密码并按回车键确认。出于安全考虑,输入密码时屏幕上不会显示任何字符。 等待安装完成: 安装过程可能需要一些时间,具体取决...
apt-cache pkgnames 显示所有软件包的名字 apt-cache policy 软件包名 显示软件包的安装状态 例如,可通过如下命令搜索支持ifconfig命令的软件包: 1 apt-cache search ifconfig APT包管理工具还包括apt-config工具,用于配置所有的APT工具,但是我们基本上接触不到。因此,我们只需要重点掌握apt-get工具的用法,对于a...
# 语法参数: apt [-h] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {list | search | show | update | install pkg [{=pkg_version_number | /target_release}]... | remove pkg... | upgrade | full-upgrade | edit-sources | {-v | --version} | {-...
apt-get [-asqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {update | upgrade | dselect-upgrade | dist-upgrade | install pkg [{=pkg_version_number | /target_release}]... | remove pkg... | purge pkg... |sourcepkg [{=pkg_version_number |...
大家好,我是默语,擅长全栈开发、运维和人工智能技术。在这篇博客中,我们将深入探讨一个在使用Python...
apt-get dist-upgrade [-u] 和apt-get upgrade 类似,除了 dist-upgrade 会安装和移除包裹来满足倚赖关系。因此具有一定的危险性。 apt-cache search 搜索满足 的包裹和描述。 apt-cache show 显示 的完整的描述。 apt-cache showpkg 显示 许多细节,以及和其它包裹的关系。
$ sudo apt-get dist-upgrade $ sudo apt-get upgrade 方法二,图形化方式: $ sudo update-manager -d 这种方式可以充分系统Ubuntu官方编制的脚本,不需要手动修改源,更便捷更可靠。 完了,可以查看ubuntu版本: cat /etc/issue 或者: sudo lsb_release -a ...
dpkg-reconfigure fontconfig-config will present you with a "wizard" on configuring fonts in Ubuntu. echo "<package_name> hold" | dpkg --set-selections This command places the desired package on hold. This is the same as Synaptic's Package->Lock Version. ...
apt-cache pkgnames- 快速列出已安装的软件包名称。 apt-file search filename- 查找包含特定文件的软件包(不一定是已安装的),这些文件的文件名中含有指定的字符串。apt-file是一个独立的软件包。您必须先使用 apt-get install 来安装它,然后运行 apt-file update。如果 apt-file search filename 输出的内容太多...
apt-get的诞生 结论 命令 update upgrade dist-upgrade install pkg(s) remove pkg(s) source source_pkg check clean autoclean 示例 选项 -d, --download-only -f, --fix-broken -m, --ignore-missing, --fix-missing --no-download -q, --quiet -s, --simulate, --just-print, --dry-run, ...