tangmumao_wefls 写了:fengzheng081212 写了:YeLee 写了:这时候你应该用apt-cache确定一下包名的……

zhang@zhang-G31M-ES2C:~$ apt-cache
apt 0.9.7.5ubuntu5,用于 amd64 构架,编译于 Oct 16 2012 10:57:10
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]
apt-cache is a low-level tool used to query information
from APT's binary cache files
Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
stats - Show some basic statistics
dump - Show the entire file in a terse form
dumpavail - Print an available file to stdout
unmet - Show unmet dependencies
search - Search the package list for a regex pattern
show - Show a readable record for the package
depends - Show raw dependency information for a package
rdepends - Show reverse dependency information for a package
pkgnames - List the names of all packages in the system
dotty - Generate package graphs for GraphViz
xvcg - Generate package graphs for xvcg
policy - Show policy settings
Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
zhang@zhang-G31M-ES2C:~$
麻烦看看~是什么意思啊
那么输这个,贴结果
sudo apt-cache search linux-headers
Sent from my Lenovo A789 using Tapatalk 2
高人请看看,谢谢了
zhang@zhang-G31M-ES2C:~$ sudo apt-cache search linux-headers
linux-headers-3.5.0-17 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-17-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-generic - Generic Linux kernel headers
linux-headers-server - Transitional package.
linux-headers-virtual - Transitional package.
linux-libc-dev - Linux Kernel Headers for development
linux-source-3.5.0 - Linux kernel source for version 3.5.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-generic-pae - Transitional package
linux-headers-3.5.0-17-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.5.0-18 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-18-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-18-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.5.0-18-lowlatency - Linux kernel headers for version 3.5.0 on x86/x86_64
linux-headers-lowlatency-pae - Transitional package
linux-headers-3.5.0-19 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-19-generic - Linux kernel headers for version 3.5.0 on 64 bit x86 SMP
linux-headers-lbm-3.5.0-17-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-lbm-3.5.0-19-generic - Header files related to linux-backports-modules version 3.5.0
linux-headers-3.2.33-030233-generic - Linux kernel headers for version 3.2.33 on 64 bit x86 SMP
linux-headers-3.2.33-030233 - Header files related to Linux kernel version 3.2.33
zhang@zhang-G31M-ES2C:~$