删除软件包命令:sudo apt remove <package_name> 清理不再使用的依赖和库文件: sudo apt autoremove 移除软件包及配置文件: sudo apt purge <package_name> 查找软件包命令: sudo apt search <keyword> 列出所有已安装的包:apt list --installed 列出所有已安装的包的版本信息:apt list --all-versions 实例 查...
删除软件包命令:sudo apt remove <package_name> 清理不再使用的依赖和库文件:sudo apt autoremove 移除软件包及配置文件:sudo apt purge <package_name> 查找软件包命令:sudo apt search <keyword> 列出所有已安装的包:apt list --installed 列出所有已安装的包的版本信息:apt list --all-versions 实例 查看一...
(1)备份原镜像源文件:mv /etc/apt/sources.list /etc/apt/sources.list.bak; (2)创建编辑/etc/apt/sources.list新文件: sudo vim /etc/apt/sources.list ; (3)选择上面任一镜像源地址粘贴,保存退出; (4)修改后使用sudo apt-get update更新缓存,sudo apt-get upgrade升级包。如果有报错的及时删除后再更...
download Download the .deb file for a package (apt wrapper). source Download source package (apt wrapper). reinstall Reinstall a currently installed package. why Explain why a particular package should be installed. why-not Explain why a particular package cannot be installed. add-user-tag Add ...
apt show[package]#显示软件包具体信息例如:版本号,安装大小,依赖关系,bug报告等等。 apt list--upgradeable #显示可升级的软件包 apt list--installed #显示已安装的软件包 # apt-get[选项]命令 # apt-get[选项]source 软件包1[软件包2...apt-getsearch[package]#搜索软件包 ...
Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation orifyou are using the unstable distribution that some required packages have not yet been created ...
删除软件包命令:sudo apt remove <package_name> 清理不再使用的依赖和库文件:sudo apt autoremove 移除软件包及配置文件:sudo apt purge <package_name> 查找软件包命令:sudo apt search <keyword> 列出所有已安装的包:apt list --installed 列出所有已安装的包的版本信息:apt list --all-versions ...
apt-get install PackageName=VersionName // 安装指定包的指定版本 apt-get --reinstall install PackageName // 重新安装 apt-get build-dep PackageName // 安装源码包所需要的编译环境 apt-get -f install // 修复依赖关系 apt-get source PackageName // 下载软件包的源码 ...
--versionPrints out version of apt-show-versions-i,--initializeInitialize or update package cache only (as root). Do this every time when the status of the installed or available packages has changed. Initialization is done automatically on installation of the package and via a cron.daily job...