It does not, however, retain packages that have been removed for licensing issues. There a a myriad of unofficial sources, each meeting a particular need specifically configured or recompiled applications, for instance. We have a site to identify and evaluate the quality of "unofficial" sources.
What follows are two rather general methods for finding packages. This article shows you three methods for finding the Debian package for a file. Note : All the methods discussed in this article are performed on a Debian 10 system.
To find the Debian package for a file, use any of the three methods shown in the following sections. Note that in this method, the path to the file must be given in single quotes. This article will explore how to search for a package using the aptitude, apt-cache, dpkg, and apt package managers. All commands in this article were implemented in the Debian 10 Buster terminal.
Using the utilities discussed in this article, you can search packages and show their description. The aptitude is an application based on Ncurses front end for apt, runs under the terminal application. This is not already installed in Debian, Ubuntu, and other Linux based distributions. To install aptitude in Debian 10, open the terminal using the application search bar as follows:. Once you have installed this tool on your system, you can search for any available package using the aptitude command in the terminal.
To do this, follow the syntax below:. You can also search for a package using the aptitude Ncurses user interface. In Debian 10, you can search for available packages in the Debian repository using the apt-cache command.
This feature requires apt and sudo to work. It also provides simple database to search which package contains a requesting file. Commands: run - Enter auto-apt environment run [command [cmdarg]] update - Retrieve new lists of Contents available file list update updatedb - Regenerate lists of Contents available file list, no download updatedb update-local - Generate installed file lists update-local merge - Merge lists of Contents merge del - Delete package list del package check - Check which package will provide the filename check [-v] [-f] filename list - List filelist in dbfile list [-v] [-f] search - Search package by filename grep search [-v] [-f] pattern debuild - debuild with auto-apt useful to get build-depends: status - Report current environments auto-apt or not For some commands, command name with -local suffix, it will use pkgfiles.
0コメント