Pehea ʻoe e hoʻoholo ai i ka pūʻolo Debian nona kahi faila?

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 ke kauoha rpm. If you have the file name, you can turn this around and find the related package. The output will provide the package and its version. To just see the package name, use the –queryformat option.

He aha ka waihona Debian e hāʻawi ai i kahi faila?

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.

Hiki ke hoʻohana ʻia ke kauoha e kiʻi i kahi papa inoa o nā pūʻulu Debian i kau ʻia?

E papa inoa i nā pūʻolo i hoʻokomo ʻia me dpkg-nīnau. ʻO dpkg-query kahi laina kauoha i hiki ke hoʻohana ʻia e hōʻike i ka ʻike e pili ana i nā pūʻolo i helu ʻia ma ka waihona dpkg. E hōʻike ana ke kauoha i kahi papa inoa o nā pūʻolo i hoʻokomo ʻia me nā ʻano o nā pūʻolo, ka hoʻolālā, a me kahi wehewehe pōkole.

How can you determine the RPM package that owns a file?

If you use the -f option when performing an rpm query:

The command will show the package that owns a file.

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.

How do I create a local Debian repository?

ʻO kahi waihona Debian kahi hoʻonohonoho o Debian binary a i ʻole nā ​​​​puke kumu i hoʻonohonoho ʻia i loko o kahi lāʻau papa kuhikuhi kūikawā me nā faila ʻano like ʻole.
...

  1. E hoʻouka i ka pono dpkg-dev. …
  2. E hana i kahi papa kuhikuhi waihona. …
  3. E hoʻokomo i nā faila deb i ka papa kuhikuhi waihona. …
  4. E hana i kahi faila i hiki ke heluhelu ʻia e "apt-get update".

Pehea wau e papa inoa ai i nā waihona waihona kūpono?

papa inoa a me nā faila āpau ma lalo /etc/apt/sources. papa inoa. d/ papa kuhikuhi. ʻO kahi ʻē aʻe, hiki iā ʻoe e hoʻohana i ke kauoha apt-cache e papa inoa i nā waihona a pau.

How do I mirror a Debian repository?

How to create a local Debian Mirror:

  1. E wehe i kahi kikowaena a paʻi sudo su.
  2. Type apt-get install apt-mirror apache2.
  3. Type mv /etc/apt/mirror.list /etc/apt/backup-mirror.list.
  4. Type gedit /etc/apt/mirror.list and add the following for a Debian Etch repository (Replace Etch with Lenny for a Lenny Mirror) then save the file:

Pehea wau e ʻike ai i nā pūʻolo ma Debian?

E ʻimi i kahi pūʻolo kūhelu (i hoʻokomo ʻia a ʻaʻole paha)

  1. E hoʻohana i ka apt-cache (loaʻa mai ka Debian 2.2) apt-cache hiki ke huli wikiwiki i waena o ka papa inoa holoʻokoʻa o nā pūʻulu Debian i loaʻa. …
  2. E nīnau i nā robots irc. …
  3. Huli i ka pūnaewele Debian.

What are .apt files?

apt-file is a software package that indexes the contents of packages in your available repositories and allows you to search for a particular file among all available packages. … You can use apt-file to quickly find out which package(s) you can install in order to satisfy that dependency.

Pehea wau e hoʻokomo ai i ka sudo apt?

Inā ʻike ʻoe i ka inoa o ka pūʻolo āu e makemake ai e hoʻokomo, hiki iā ʻoe ke hoʻokomo iā ia ma ka hoʻohana ʻana i kēia syntax: sudo apt-e hoʻokomo i ka package1 package2 package3 … Hiki iā ʻoe ke ʻike he hiki ke hoʻokomo i nā pūʻolo lehulehu i ka manawa hoʻokahi, he mea pono ia no ka loaʻa ʻana o nā polokalamu pono āpau no kahi papahana i hoʻokahi pae.

E like me kēia kūlana? E ʻoluʻolu e kaʻana i kāu mau hoaaloha:
OS i kēia lā