If one wants to install some program or library and knows the name of the
program or library how does one find out what the *package name* is? Is there no utility like 'yum search' (available on RedHat flavored systems)? Specificly, I need qmake for QT5 installed on a Ubuntu 18.04 system. What package do I install? dpkg-query is no help. Or must I search through the _Package files in /var/lib/apt/lists/? Is there no better way? Has noone created a utility for this? -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [hidden email] -- Webhosting Services -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
if you have it, and you wanted to know it
dpkg -S `which qmake` qtchooser: /usr/bin/qmake if you don't have it, apart from google , you can type the command, ubuntu often then tells you the package name. On 12/11/20 9:44 AM, Robert Heller wrote: > If one wants to install some program or library and knows the name of the > program or library how does one find out what the *package name* is? Is there > no utility like 'yum search' (available on RedHat flavored systems)? > > Specificly, I need qmake for QT5 installed on a Ubuntu 18.04 system. What > package do I install? dpkg-query is no help. Or must I search through the > _Package files in /var/lib/apt/lists/? Is there no better way? Has noone > created a utility for this? > -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Robert Heller
On Fri, Dec 11, 2020 at 09:44:03AM -0500, Robert Heller wrote:
> If one wants to install some program or library and knows the name of the > program or library how does one find out what the *package name* is? Is there > no utility like 'yum search' (available on RedHat flavored systems)? > > Specificly, I need qmake for QT5 installed on a Ubuntu 18.04 system. What > package do I install? dpkg-query is no help. Or must I search through the > _Package files in /var/lib/apt/lists/? Is there no better way? Has noone > created a utility for this? > You need 'apt-file' which you will probably need to install too as it's not installed by default. Then it's easy:- apt-file search <name of file> Will provide the name of the package which provides the file. You can put a full path such as /usr/bin/qmake if just qmake produces too many hits. I've just done it for you:- chris$ apt-file search /usr/bin/qmake gridengine-client: /usr/bin/qmake_sge qtchooser: /usr/bin/qmake So you need to install qtchooser. -- Chris Green -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Robert Heller
On Fri, 11 Dec 2020 at 15:46, Robert Heller <[hidden email]> wrote:
> > If one wants to install some program or library and knows the name of the > program or library how does one find out what the *package name* is? Personally my go-to tool is Synaptic. Yes, GUI app, I'm a weenie etc. -- Liam Proven – Profile: https://about.me/liamproven Email: [hidden email] – gMail/gTalk/gHangouts: [hidden email] Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Peter Teuben-2
At Fri, 11 Dec 2020 09:50:12 -0500 "Ubuntu user technical support, not for general discussions" <[hidden email]> wrote:
> > if you have it, and you wanted toÃÂ know it > > ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ dpkg -S `which qmake` > qtchooser: /usr/bin/qmake > > if you don't have it, apart from google , you can type the command, > ubuntu often then tells you the package name. Not in this case. There is actually a file /usr/bin/qmake, which is a symlink to qtchooser, which when run gives the error: gollum% /usr/bin/qmake qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory Which suggests that qtchooser is wanting qt4's qmake, which is NOT what I want -- I have an app that needs qt5, not qt4. I do have (some?) of the qt5 libraries (don't know for sure if I have the -dev libs, but I think I can deal with that). For some things the "hack" of typing the command to get the package name is does not work. And it is really tiresome to have do web searches, esp. since often as not, the results are often not usefull or are for a different version or are outdated. The really should oughta be a proper package management utility for this. Why isn't there such a utility? Maybe I'll hack some quick and dirty tool. > > On 12/11/20 9:44 AM, Robert Heller wrote: > > If one wants to install some program or library and knows the name of the > > program or library how does one find out what the *package name* is? Is there > > no utility like 'yum search' (available on RedHat flavored systems)? > > > > Specificly, I need qmake for QT5 installed on a Ubuntu 18.04 system. What > > package do I install? dpkg-query is no help. Or must I search through the > > _Package files in /var/lib/apt/lists/? Is there no better way? Has noone > > created a utility for this? > > > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [hidden email] -- Webhosting Services -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Liam Proven
On Fri, Dec 11, 2020 at 04:03:50PM +0100, Liam Proven wrote:
> On Fri, 11 Dec 2020 at 15:46, Robert Heller <[hidden email]> wrote: > > > > If one wants to install some program or library and knows the name of the > > program or library how does one find out what the *package name* is? > > Personally my go-to tool is Synaptic. Yes, GUI app, I'm a weenie etc. > While I too use synaptic a lot it doesn't always do what the OP wanted. If you search for the OP's 'qmake' in synaptic then it offers:- qt5-make qt5-make-bin qconf None of these provides qmake as far as I know. qt5-make provides /usr/bin/x86_64-linux-gnu-qmake which might actually be what the OP wants, but I'm not sure. If the OP really wants qmake then qtchooser is the package to provide it (as per my other reply to this thread). -- Chris Green -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Liam Proven
At Fri, 11 Dec 2020 16:03:50 +0100 "Ubuntu user technical support, not for general discussions" <[hidden email]> wrote:
> > On Fri, 11 Dec 2020 at 15:46, Robert Heller <[hidden email]> wrote: > > > > If one wants to install some program or library and knows the name of the > > program or library how does one find out what the *package name* is? > > Personally my go-to tool is Synaptic. Yes, GUI app, I'm a weenie etc. I *hate* GUI package management tools. I generally avoid GUI apps, except those that "make sense" as GUI apps (like gimp or CAD programs). > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [hidden email] -- Webhosting Services -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Chris Green
At Fri, 11 Dec 2020 15:11:23 +0000 "Ubuntu user technical support, not for general discussions" <[hidden email]> wrote:
> > On Fri, Dec 11, 2020 at 04:03:50PM +0100, Liam Proven wrote: > > On Fri, 11 Dec 2020 at 15:46, Robert Heller <[hidden email]> wrote: > > > > > > If one wants to install some program or library and knows the name of the > > > program or library how does one find out what the *package name* is? > > > > Personally my go-to tool is Synaptic. Yes, GUI app, I'm a weenie etc. > > > While I too use synaptic a lot it doesn't always do what the OP > wanted. If you search for the OP's 'qmake' in synaptic then it > offers:- > qt5-make > qt5-make-bin > qconf > > None of these provides qmake as far as I know. qt5-make provides > /usr/bin/x86_64-linux-gnu-qmake which might actually be what the OP > wants, but I'm not sure. > > If the OP really wants qmake then qtchooser is the package to provide > it (as per my other reply to this thread). But qtchooser is installed and wants to use qt4's qmake (which is not actually installed). I think the qtchooser package is either broken or there is some additional magic. I did install qt5-make, but I need to specify the full path (/usr/lib/x86_64-linux-gnu/qt5/bin/qmake) as this *appears* to be only way to run it. > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [hidden email] -- Webhosting Services -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Robert Heller
On Fri, Dec 11, 2020 at 3:46 PM Robert Heller <[hidden email]>
wrote: > > If one wants to install some program or library and knows the name > of the program or library how does one find out what the *package > name* is? Is there no utility like 'yum search' (available on > RedHat flavored systems)? > > Specifically, I need qmake for QT5 installed on a Ubuntu 18.04 > system. What package do I install? dpkg-query is no help. Or > must I search through the _Package files in /var/lib/apt/lists/? > Is there no better way? Has noone created a utility for this? Install "apt-file" and search. -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
In reply to this post by Robert Heller
On Fri, Dec 11, 2020 at 4:05 PM Robert Heller <[hidden email]>
wrote: > > Not in this case. There is actually a file /usr/bin/qmake, which > is a symlink to qtchooser, which when run gives the error: > > gollum% /usr/bin/qmake > qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': > No such file or directory $ apt-file search -x ".*qmake$" qt5-qmake: /usr/bin/x86_64-linux-gnu-qmake qt5-qmake: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake qt5-qmake-bin: /usr/lib/qt5/bin/qmake qtchooser: /usr/bin/qmake root lap /home/root $ -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
At Fri, 11 Dec 2020 18:38:48 +0100 "Ubuntu user technical support, not for general discussions" <[hidden email]> wrote:
> > On Fri, Dec 11, 2020 at 4:05 PM Robert Heller <[hidden email]> > wrote: > > > > Not in this case. There is actually a file /usr/bin/qmake, which > > is a symlink to qtchooser, which when run gives the error: > > > > gollum% /usr/bin/qmake > > qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': > > No such file or directory > > $ apt-file search -x ".*qmake$" > qt5-qmake: /usr/bin/x86_64-linux-gnu-qmake > qt5-qmake: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake > qt5-qmake-bin: /usr/lib/qt5/bin/qmake > qtchooser: /usr/bin/qmake > root lap /home/root > $ qtchooser seems to default to qt4 and I couldn't figure out how to make it use qt5's qmake. I ended up creating a symlink: /usr/bin/qmake5 => /usr/lib/x86_64-linux-gnu/qt5/bin/qmake and was able to build the package I needed to build. > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [hidden email] -- Webhosting Services -- ubuntu-users mailing list [hidden email] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Free forum by Nabble | Edit this page |