Product SiteDocumentation Site

6.3. الأمر apt-cache

The apt-cache command can display much of the information stored in APT's internal database. This information is a sort of cache since it is gathered from the different sources listed in the sources.list file. This happens during the apt update operation.
The apt-cache command can do keyword-based package searches with apt-cache search keyword. It can also display the headers of the package's available versions with apt-cache show package. This command provides the package's description, its dependencies, the name of its maintainer, etc. Note that apt search, apt show, aptitude search, aptitude show work in the same way.
توجد مزايا نادراً ما تستخدم. مثلاً، يعرض apt-cache policy أولويات مصادر الحزم بالإضافة إلى أولويات الحزم المفردة. من الأمثلة الأخرى apt-cache dumpavail الذي يعرض ترويسات جميع النسخ المتوفرة لجميع الحزم. يعرض apt-cache pkgnames قائمة بجميع الحزم التي تظهر في الكاش مرة واحدة على الأقل.