Ubuntu 21.10にパッケージを検索する方法
環境
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=21.10 DISTRIB_CODENAME=impish DISTRIB_DESCRIPTION="Ubuntu 21.10"
書式1
sudo apt list パッケージ名
操作例
# sudo apt list nginx
Listing... Done
nginx/impish 1.18.0-6ubuntu11 amd64
# sudo apt list nginx
Listing... Done
nginx/impish 1.18.0-6ubuntu11 amd64
# sudo apt list nginx Listing... Done nginx/impish 1.18.0-6ubuntu11 amd64
書式2
sudo apt search パッケージ名
操作例
# sudo apt search nginx
Sorting... Done
Full Text Search... Done
collectd-core/impish 5.12.0-7 amd64
statistics collection and monitoring daemon (core system)
diaspora-installer/impish,impish 0.7.15.0+debian1 all
distributed social networking service - installer
diaspora-installer-mysql/impish,impish 0.7.15.0+debian1 all
distributed social networking service - installer (with MySQL)
略
# sudo apt search nginx
Sorting... Done
Full Text Search... Done
collectd-core/impish 5.12.0-7 amd64
statistics collection and monitoring daemon (core system)
diaspora-installer/impish,impish 0.7.15.0+debian1 all
distributed social networking service - installer
diaspora-installer-mysql/impish,impish 0.7.15.0+debian1 all
distributed social networking service - installer (with MySQL)
略
# sudo apt search nginx Sorting... Done Full Text Search... Done collectd-core/impish 5.12.0-7 amd64 statistics collection and monitoring daemon (core system) diaspora-installer/impish,impish 0.7.15.0+debian1 all distributed social networking service - installer diaspora-installer-mysql/impish,impish 0.7.15.0+debian1 all distributed social networking service - installer (with MySQL) 略