knowing the package providing a program

Willy Hamra w.hamra1987 at gmail.com
Thu Mar 19 16:10:57 UTC 2009


2009/3/19 John Hubbard <ender8282 at yahoo.com>:
> 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.
>

thanks john, will look around :)


-- 
Willy K. Hamra
Manager of Hamra Information Systems
Co. Manager of Zeina Computers and Billy Net.




More information about the kubuntu-users mailing list