[gentoo-user] setting path for qpkg
Hello, qpkg is not accessible, due to the path, unless I use: /usr/lib/gentoolkit/bin/qpkg Where is the best (bash shell) place to set this path once, so I do not have to type out the fully qualified pathname of the executable? I'd like it to survive the machinations of emerge, env-update et. al... /root/.bashrc ? I also would have thought that installing it from an emerge would set the path automatically? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting path for qpkg
On Thu, 15 Dec 2005 16:22:16 + (UTC), James wrote: qpkg is not accessible, due to the path, unless I use: /usr/lib/gentoolkit/bin/qpkg Where is the best (bash shell) place to set this path once, so I do not have to type out the fully qualified pathname of the executable? I'd like it to survive the machinations of emerge, env-update et. al... I just copy it to /usr/local/bin. Since /usr/local/bin/qpkg is not owned by gentoolkit, it won't be touched by portage. An update to gentoolkit will reinstall qpkg in the original location, but it will be the same version as qpkg is deprecated. -- Neil Bothwick C Error #011: First C Program, huh? signature.asc Description: PGP signature
Re: [gentoo-user] setting path for qpkg
On Thu, 2005-12-15 at 16:22 +, James wrote: qpkg is not accessible, due to the path, unless I use: /usr/lib/gentoolkit/bin/qpkg Where is the best (bash shell) place to set this path once, so I do not have to type out the fully qualified pathname of the executable? I'd like it to survive the machinations of emerge, env-update et. al... /root/.bashrc ? I also would have thought that installing it from an emerge would set the path automatically? It is deprecated, which is why it is no longer in the path. My recomendation is to create a symbolic link in /usr/local/bin (which is in the default path) ln -s /usr/lib/gentoolkit/bin/qpkg /usr/local/bin/qpkg Answering your question about paths, the place to put it would be /root/.bashrc export PATH=$PATH:/usr/lib/gentoolkit/bin Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting path for qpkg
James wrote: Hello, qpkg is not accessible, due to the path, unless I use: /usr/lib/gentoolkit/bin/qpkg Where is the best (bash shell) place to set this path once, so I do not have to type out the fully qualified pathname of the executable? I'd like it to survive the machinations of emerge, env-update et. al... /root/.bashrc ? I also would have thought that installing it from an emerge would set the path automatically? why not to do a litle jump and go with app-portage/portage-utils ? #q --help Usage: q applet [arguments]... Currently defined applets: q applet args : virtual applet qcheck pkgname : verify mtimes/digests qdepends pkgname : show dependency info qfile filename : list all pkgs owning files qgrep misc args : grep in ebuilds qlist pkgname : list files owned by pkgname qlop pkgname : emerge log analyzer qpkg misc args : manipulate Gentoo binpkgs qsearch regex : search pkgname/desc qsize pkgname : calculate size usage qtbz2 misc args : manipulate tbz2 packages quse useflag : find pkgs using useflags qxpak misc args : manipulate xpak archives Options: -[irvQChV] -i, --install * Install symlinks for applets -r, --reinitialize * Reinitialize ebuild cache -v, --verbose * Make a lot of noise -Q, --quiet* Suppress warnings and errors -C, --nocolor * Don't output color -h, --help * Print this help and exit -V, --version * Print version and exit cheers, Francesco R: -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting path for qpkg
On Thu, 15 Dec 2005 10:56:30 -0600, Paul Varner wrote: My recomendation is to create a symbolic link in /usr/local/bin (which is in the default path) That doesn't work with gentoolkit-0.2.1*, because qpkg is now in /usr/share/doc/$PF/deprecated/qpkg/qpkg, so an upgrade of gentoolkit would break the link. -- Neil Bothwick WinErr 005: Multitasking attempted - System confused signature.asc Description: PGP signature
Re: [gentoo-user] setting path for qpkg
On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote: why not to do a litle jump and go with app-portage/portage-utils ? Because it doesn't appear to offer features that qpkg does, for example; listing all installed packages in a particular category qpkg -I -g kde-base -- Neil Bothwick If you shoot a mime, should you use a silencer? signature.asc Description: PGP signature
Re: [gentoo-user] setting path for qpkg
On Thu, 2005-12-15 at 19:12 +, Neil Bothwick wrote: On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote: why not to do a litle jump and go with app-portage/portage-utils ? Because it doesn't appear to offer features that qpkg does, for example; listing all installed packages in a particular category qpkg -I -g kde-base Actually it does: qlist -I kde-base Will show all installed packages in kde-base Regards, Paul -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] setting path for qpkg
On Thu, 15 Dec 2005 13:26:47 -0600, Paul Varner wrote: Because it doesn't appear to offer features that qpkg does, for example; listing all installed packages in a particular category qpkg -I -g kde-base Actually it does: qlist -I kde-base Will show all installed packages in kde-base So it does, neat. That will teach me to only believe the man page, it makes no mention of this, only that it lists the contents of a package :( -- Neil Bothwick IRQs? We don't need no stinking IRQs! signature.asc Description: PGP signature