-w width Specify the display width for formatting search results. -f Aggressively try to fix broken packages. -V Show which versions of packages are to be installed. -D Show the dependencies of automatically changed packages. -Z Show the change in installed size of each package. -v Display ...
ubuntu官方的下载地址:Package Search (all versions of ) 根据自己的需求下载对应的版本,倘若不知道,可先按照以下我下载的版本进行安装,出现问题,再根据报错信息去上面网址里下载对应的版本。 # wget http://security.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/ubuntu-keyring_2018.02.28_all.deb # wget ht...
showsrc Display detailed info about a source package (apt wrapper). versions Displays the versions of specified packages. clean Erase downloaded package files. autoclean Erase old downloaded package files. changelog View a package's changelog. download Download the .deb file for a package (apt wra...
Package:vsftpdVersions:2.3.5-3ubuntu1(/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_Packages)Description Language:File:/var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_quantal_main_binary-i386_PackagesMD5:81386f72ac91a5ea48f8db0b023f3f9b Description Langu...
searchcan be used to search for the givenregex(7) term(s) in the list of available packages and display matches. This can e.g. be useful if you are looking for packages having a specific feature. If you are looking for a package including a specific file tryapt-file(1). ...
根据正则表达式搜索软件包列表apt-cache search xxx 显示该软件包的依赖关系信息apt-cache depends xxx dpkg(Package manager for Debian) Debian系的包管理工具 安装dpkg -i xxx.deb-i同--install若缺少依赖,则执行以下命令自动安装缺少的依赖项:sudo apt-get -f -y install ...
删除软件包命令:sudo apt remove <package_name> 清理不再使用的依赖和库文件:sudo apt autoremove 移除软件包及配置文件:sudo apt purge <package_name> 查找软件包命令:sudo apt search 列出所有已安装的包:apt list --installed 列出所有已安装的包的版本信息:apt list --all-versions ...
apt-file [options] search pattern apt-file [options] show package DESCRIPTION apt-file is a command line tool for searching files in packages for the APT package management system. Some actions are required to run the search: find Alias for search. list List the contents of a package. Thi...
apt-show-versions for detailed version comparison Lastly, we’ll also discuss installing a specific package version using apt. 2. Using apt-cache To start, the apt-cache command performs a variety of operations on APT’s package cache. Moreover, it enables us to search and generate useful in...
使用包管理器APT(Advanced Package Tool)进行内核升级。进行任何系统更改之前,务必备份重要数据和配置文件,以防意外发生。步骤: (1)更新软件包列表,确保软件包列表是最新的: sudo apt update (2)升级现有软件包: sudo apt upgrade (3)搜索可用的内核版本: apt search linux-image (4)安装新内核: sudo apt...