How do I find out what package a file belongs to?
Show files per installed package
To show what files are in a package, use iwu rpm. Ọ bụrụ na ị nwere aha faịlụ, ị nwere ike ịtụgharị nke a wee chọta ngwugwu yiri ya. Ihe mmepụta ga-enye ngwugwu na ụdị ya. Ka ịhụ naanị ngwugwu aha, jiri nhọrọ –queryformat.
Kedu ngwungwu Debian na-enye faịlụ?
To use the “dpkg” command to find the Debian package that provides the specified file, issue the following:
- $ dpkg –S PathToTheFile.
- $ dpkg-query –S ‘PathToTheFile’
- $ sudo apt-get install apt-file.
- $ sudo apt-file update.
- $ apt-file search PathToTheFile.
Kedu iwu enwere ike iji nweta ndepụta nke ngwungwu Debian arụnyere?
Jiri ndepụta ngwugwu arụnyere dpkg-njụ-ajụjụ. dpkg-query bụ ahịrị iwu enwere ike iji gosipụta ozi gbasara ngwugwu edepụtara na nchekwa data dpkg. Iwu ahụ ga-egosipụta ndepụta ngwugwu niile arụnyere gụnyere ụdị ngwugwu, ụkpụrụ ụlọ, na nkọwa dị nkenke.
Kedu otu ị ga-esi chọpụta ngwungwu RPM nwere faịlụ?
Ọ bụrụ na ị na-eji nhọrọ -f mgbe ị na-eme ajụjụ rpm:
Iwu ga- gosi ngwugwu nwere faịlụ.
What package does a file belong to Ubuntu?
Other notable ways of finding the package a file belongs to is using the online search provided by Ubuntu and Debian: Ubuntu: https://packages.ubuntu.com/ – scroll down to Search the contents o packages and enter the filename you’re looking for, as well as the distribution (Ubuntu version) and architecture.
Kedu otu m ga-esi mepụta ebe nchekwa Debian mpaghara?
Ebe nchekwa Debian bụ ngwungwu ọnụọgụ abụọ Debian ma ọ bụ isi mmalite ahaziri n'ime osisi ndekọ aha pụrụ iche nwere faịlụ akụrụngwa dị iche iche.
...
- Wụnye dpkg-dev utility. …
- Mepụta akwụkwọ ndekọ aha. …
- Tinye faịlụ deb n'ime ndekọ ndekọ ego. …
- Mepụta faịlụ nke "apt-get update" nwere ike ịgụ.
Kedu otu m ga-esi depụta ebe nchekwa dabara adaba?
depụta faịlụ na faịlụ niile n'okpuru /etc/apt/sources. ndepụta. d/ ndekọ. N'aka nke ọzọ, ị nwere ike jiri iwu apt-cache iji depụta ebe nchekwa niile.
Kedu ka m ga-esi enyo ebe nchekwa Debian?
Otu esi emepụta mirror Debian mpaghara:
- Mepee ọnụ ma pịnye sudo su.
- Pịnye apt-nweta install apt-mirror apache2.
- Pịnye mv /etc/apt/mirror.list /etc/apt/backup-mirror.list.
- Pịnye gedit /etc/apt/mirror.list wee gbakwunye ihe ndị a maka ebe nchekwa Debian Etch (Dochie Etch na Lenny maka Lenny Mirror) wee chekwaa faịlụ ahụ:
Kedu otu m ga-esi chọta ngwugwu na Debian?
Chọta ngwungwu gọọmentị (arụnyere ma ọ bụ na etinyeghị ya)
- Jiri apt-cache (dị kemgbe Debian 2.2) apt-cache na-enye ohere ịchọ ngwa ngwa n'etiti ndepụta ngwugwu Debian niile dị. …
- Jụọ robots irc. …
- Chọọ webụsaịtị Debian.
What are .apt files?
apt-file bụ ngwugwu ngwanrọ na-egosi ọdịnaya nke ngwugwu dị na ebe nchekwa gị dị ma na-enye gị ohere ịchọ otu faịlụ n'etiti ngwugwu niile dị. … Ị nwere ike iji apt-file iji chọpụta ngwa ngwa nke ngwungwu ị nwere ike iwunye ka afọ ju ndabere ahụ.
Kedu ka m ga-esi tinye sudo apt?
Ọ bụrụ na ịmara aha ngwugwu ịchọrọ ịwụnye, ịnwere ike ịwụnye ya site na iji syntax a: sudo apt-nweta wụnye ngwugwu1 ngwugwu2 ngwugwu3 … Ị nwere ike ịhụ na ọ ga-ekwe omume ịwụnye otutu ngwugwu n'otu oge, nke bara uru maka ịnweta ngwa ngwa niile dị mkpa maka ọrụ n'otu nzọụkwụ.