knowing the package providing a program

John Hubbard ender8282 at
Thu Mar 19 15:49:41 UTC 2009

Willy Hamra wrote:
> hi, if i have a certain program, how can i know what package is
> providing this program by giving it's absolute path? i have 2
> executables with the same name in 2 different directories both in
> PATH. one is provided by a 3rd party deb package, the other coming
> from the ubuntu repositories. how can i know which is which?
Have a look at the dpkg command. If you have an idea about what package 
might be the owner of one of the files than you can do a 'dpkg -L 
packageName'. That will list all files owned by packageName. I am not 
sure how to do it if you have no idea what the owning package is. My 
only thought would be to Google 'ubuntu packages providing commandName'. 
Hope this helps.


To be or not to be, that is the question
                2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
        0b11000100 || !0b11000100
        0b11000100 || 0b00111011
        255, that is the answer.

More information about the kubuntu-users mailing list