[SOLVED] pacman: which package should I install for a given file?

Hi there!
I'm still trying to learn arch's essentials. A question coming up frequently is:
Say I know I need file /usr/bin/zipinfo. How do I find out which package it's delivered in? The only thing remotely similar in the wiki is
pacman -Qo /path/to/a/file
but this only works for already installed packages. So what next?
Best wishes,
Rufus
P.S.: google told me the package is called unzip so that's not the problem. Still, there has to be some way to get this information from the command line.
Last edited by RufusD (2010-04-24 15:30:31)

brilliant, thanks! I could have figured it's not a standard pacman function (since the situation is similar with debian's apt-get).
Maybe this is worth a mention on pacman's wiki page. This is the first time arch's fabulous wiki let me down
Last edited by RufusD (2010-04-24 15:32:35)

Similar Messages

  • How do I change which application is the (default) for a given file type?

    For .pdf files, I have set the application behaviour to "Always Ask", because sometimes I want to open the pdf, sometimes I want to save it. So far so good.
    Now, when I want to open the .pdf, I have added an application to the dropdown list, so now I have "Adobe Reader 9 (default)" and "okular".
    The problem is this: I *never* open using Adobe Reader. I always want to use okular, but Adobe Reader always appears first on the list, as it is the 'default'. This means I always have to click on the dropdown and select "okular", i.e. an extra step every time I want to open a pdf.
    How do I change which application is the default?

    Yes, I know that. That was the first sentence of my question, but it is not the problem I have.
    I want to change which application is the (default) for a given file type, and this cannot be done from the settings.

  • Which version should i install for Ubuntu 12.10 64bit

    which version should i install i dont wanna use beta version ?
    I am running on Ubuntu 12.10 64-bit.

    Firefox 21.0 for 64-bit Linux en-US
    http://releases.mozilla.org/pub/mozilla.org/firefox/releases/21.0/linux-x86_64/en-US/firefox-21.0.tar.bz2
    If you prefer another language then see
    http://releases.mozilla.org/pub/mozilla.org/firefox/releases/21.0/linux-x86_64/
    Otherwise you can get the new release from Ubuntu.

  • Which package should I import for CachedRowSet?

    Hi,
    I am doing an example for the servlet. But, it needs to import sun.jdbc.rowset.CachedRowSet. I am using JBuilder6 and it did not find that package for jdk1.3.
    So, where should I get it?
    Thanks
    gogo

    JDBC 2.0 Optional Package API should be in the classpath.

  • Which JRE / J2SE should be installed for tomcat 5.5?

    Does anyone know which JRE / J2SE should be installed for tomcat 5.5? Could anyone please give me the link for download?
    Thank for any suggestion
    Eric

    Does anyone know which JRE / J2SE should be installed
    for tomcat 5.5? Could anyone please give me the link
    for download?http://java.sun.com/javase/downloads/index.jsp

  • Some times the ipad will ask me to install adobe flash player to view some internet vedios. Which version should be apt for my Ipad 4

    Some times the ipad will ask me to install adobe flash player to view some internet vedios. Which version should be apt for my Ipad 4

    IOS device do not support Flash
    However Skyfire, Photon, iSwifter, Browse2Go and Puffin Web Browser will provide limited Flash capability

  • Which GUI should I install so as to login to SolMan 4.0?

    Which GUI should I install so as to login to SolMan 4.0?
    There are many options like
    1.SAP GUI for windows
    2. SAP GUI for java
    I want to install SAP- Netweaver 2004s on AIX 5.3(using MaxDB as Database).
    I choose EP, EP Core and AS Java for installing this.
    I installed solution manager for generating "Solution Manager Key", which is required in installation of SAP Netweaver 2004s.
    How to login in Solution Manager. I haven't installed any GUI.
    Thanks

    I have installed Solman 4.0 on AIX 5.3.
    Available options are pasted below:
    000001 SAP GUI FOR JAVA
    Installation Software Component (Current View)
    000002 SAP GUI FOR WINDOWS
    Installation Software Component (Current View)
    000003 SAP GUIDED SELLING
    Installation Software Component (Current View)
    000004 SAPSETUP FOR SAP GUI
    Installation Software Component (Current View)
    000005 SAP GUI FOR JAVA 7.00
    Installation Software Component (Current View)
    000006 SAP GUI FOR WINDOWS 6.20
    Installation Software Component (Current View)
    000007 SAP GUI FOR WINDOWS 6.40
    Installation Software Component (Current View)
    000008 SAP GUI FOR WINDOWS 7.10 CORE
    Installation Software Component (Current View)
    000009 SAP GUIDED SELLING 1.0
    Installation Software Component (Current View)
    000010 01200615322000000553 Installation SAP Guided Selling 1.0
    000011 51019289 CD SAP Web AS 6.20 Inst./Upgrade Guides
    CD
    000012 51030605 CD SAP CRM 4.0 SR1 Inst./Upgrade Guides
    CD
    000013 51031650 CD SAP R3E 4.7x2.00 SR1 Upg./Inst.Guides
    CD
    000014 51031651 CD SAP CRM 4.0 SR1 Inst./Upgrade Guides
    CD

  • Which Objects should I target for integrating Eloqua REST API 2.0?

    Which Objects should I target for integration? and What are the possible use cases for the additional objects other than core objects?

    I am still trying to find a good REST API 2,0 document like the Bulk 2.0 document.  Book List: Oracle Marketing Cloud
    I did find this but is also not in depth:
    REST API - Documentation for Core Objects

  • Do i need to install and anti virus software on my macbook air? if yes, which one should i install?

    Do i need to install and anti virus software on my macbook air? if yes, which one should i install?

    Welcome to Apple Support Communities
    OS X has got its own security systems, so you don't need any antivirus. Furthermore, they will only slow down your computer. If you want more information, read > http://www.thesafemac.com/mmg
    If you want an antivirus, install ClamXav, but you don't need an antivirus

  • How do i know which updates should i install?

    iv'e read in a guide apple wrote that some firmeware and software updates will not update automatically with the software update tool.
    how can i tell which updates should i install?
    i have a 2 weekds old new macbook pro 13' non retina(1200$ version) , unmodified.

    Read here:
    http://support.apple.com/kb/HT1338

  • Should PSE12 installed for 9 months start asking me to sign in as trial software?

    Should PSE12 installed for 9 months start asking me to sign in as trial software?

    CS6 or Creative Cloud Reverts to Trial Mode
    http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

  • Which Hardrdrive should I install in Mac Pro, 13", Late 2011, 2.8Ghz i7 4RAM 750H

    Please could you tell me Which Hardrdrive should I install in Mac Pro, 13", Late 2011, 2.8Ghz i7 4RAM 750H
    Tx

    Any 2.5" diam formfactor SATA HDD or SSD will be compatible.  As a start, look at the representative sample available from OWC:
    eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    It is very easy to do the installation yourself and it will be a lot less expensive.
    Ciao.

  • HT3669 which driver should i use for the epson LX300 matrix-dot printer??

    which driver should i use for the epson LX300 matrix-dot printer??? I dowloaded all drivers for epson but i didn't find the driver for the LX300.
    I bought an i mac not so long ago, can anyone help me about this?

    i use parallels desktop 7 because i use a program for work with windows XP. Is there really no solution?

  • How much RAM should I install for new iMAC ?

    Hi,
    How much RAM should I install for new iMAC* running Logic Studio? It comes with 4 GB - is that enough? (can you run in 64 bit mode..)
    *(The 21.5" 3.06GHz Intel Core 2 Duo)
    Also, I was planning to get the stock 1 TB Hard Drive & save projects to an external drive.
    Does that sound reasonable?
    Any other recommendations?
    Thanks,
    Wm Heart

    Unless you plan on running huge projects with enormous sampled instruments, 4 GB will do (very) fine. And your disk plan is sound. Choose an external Firewire drive, rather than USB. FW is easier on the CPU and can handle more tracks than USB.
    What you should get, instead of more memory, is a (24 bit) external audio interface, if you want to do serious recording and playback.
    What type of audio interface you'ld need, depends on what you want to do with it and of course your budget. From decent to brilliant costs from roughly 100 to several 1,000's of europounddollars. Avoid the 16 bit ones, they're worse than the inbuilt audio chip of your iMac. You can recognize 16 bit Audio Interfaces (in webshops) by their prize (often under 100€£$) and the lack of mention of their bitrate.
    HTH
    Regards, Erik.

  • I am planning to buy DSLR Camera which one should I go for .

     Dear Team,
    I am planning to buy DSLR Camera which one should I go for . I have selected  three camera models EOS Rebel T4i DSLR , EOS Rebel T5i DSLR  or EOS 7D please let know the cons and pros of the three cameras and help in buying .
    Regards,
    Kalyan 

    There's not much of a jump from the T4i to the T5i; Canon releases updates to these Rebels so frequently they often lack substance.  Looking at the specs I don't see anything that jumps out at me - I'd grab whichever one I could get cheaper.
    The 7D is a substantial jump up.  Much more sophisticated autofocus.  Faster burst rate, shorter shutter lag, weather sealing, better build, better LCD, viewfinder coverage, etc.  Keep in mind it's the same old sensor, but there's a lot more to a camera than a sensor.   The 7D has been the go to camera of sports enthusiasts for years.
    Edit:  I didn't mean to sound like I was selling the Rebels short, I think they're a great camera for the price, depending on your needs.  There are things that more novice photographers may prefer in a camera over the 7D, like built in flash, or the flip out screen, or in-camera HDR.

Maybe you are looking for