Re: [gentoo-user] Switching to Gentoo
On Thursday 06 April 2006 07:41, Alexander Skwar wrote: Bo Andresen wrote: Heh.. this one is better ;) : # cat /var/lib/portage/world | awk -F\/ '{system(eix -F -C $1 -e $2 -c | head -n 1)}' Nah, it's NOT, because of the Useless Use Of Cat. Even better: awk -F\/ '{system(eix -F -C $1 -e $2 -c | head -n 1)}' /var/lib/portage/world Useless use of cat is always... well... useless. But even despite the useless use of cat it is better than the original command. Here is why: # eix ^sys-libs/libstdc++-v3$ Found 0 matches $ eix -C sys-libs -e libstdc++-v3 -c [I] sys-libs/libstdc++-v3 (3.3.6): Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++ Found 1 matches Here the original command resulted in an empty line whereas the new command results in the package being shown. Still I really should remember to avoid useless use of cat especially when posting to a mailing. :) -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
On Thursday 09 March 2006 23:50, Bo Andresen wrote: In /var/lib/portage/world there is a list of all of all software that you have explicitly installed. The rest of what is installed should be depencies of packages in the world file. So to get a list of packages that I installed I would use (this is only one line): #while read pkg; do eix --force-color --compact ^${pkg}$ | head -n 1; done /var/lib/portage/world Heh.. this one is better ;) : # cat /var/lib/portage/world | awk -F\/ '{system(eix -F -C $1 -e $2 -c | head -n 1)}' -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
Bo Andresen wrote: Heh.. this one is better ;) : # cat /var/lib/portage/world | awk -F\/ '{system(eix -F -C $1 -e $2 -c | head -n 1)}' Nah, it's NOT, because of the Useless Use Of Cat. Even better: awk -F\/ '{system(eix -F -C $1 -e $2 -c | head -n 1)}' /var/lib/portage/world Alexander Skwar -- Just remember, wherever you go, there you are. -- Buckaroo Bonzai -- gentoo-user@gentoo.org mailing list
[gentoo-user] Switching to Gentoo
Hey group, I am a long time Linux user, however I am new to Gentoo. I used Red Hat/Fedora for many years, then my own Linux based on LFS and the last year I have been using Ubuntu. I really like Ubuntu because of apt, however I have had frustrations with Ubuntu because it could be a pain to get newer versions of packages installed. For example Ubuntu defaulted to Apache 1.x for mod_mono. I have now been using Gentoo for a few days and I am running into some issues I hope this group can help with. At first emerge was trying to merge some really old packages. For example I wanted mysql 5.x, php 5.x and Apache 2.x and Gentoo was only going to install mysql 4.x. I did find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more recent versions of software installed. I am looking for any good links, tips, suggestions of admin software to emerge, etc to help me learn the ins-and-outs of Gentoo. I have tons of questions but don't know where to look. Well, I can google but that takes ages and I was hoping many of you on this list will have a nice set of bookmarks on gentoo admin, handy gentoo software, tips etc. Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. Browse available software that can be installed. See what version of a particular software package is installed. See if any new versions of *installed* software are available. ... Thanks, Jim -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
See list of all *installed* software. epm -ql Browse available software that can be installed. I use packages.gentoo.org See what version of a particular software package is installed. epm -ql | grep packagename See if any new versions of *installed* software are available. emerge --update world -pv Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
On 3/9/06, Jim [EMAIL PROTECTED] wrote: Hey group, snip Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. Browse available software that can be installed. See what version of a particular software package is installed. See if any new versions of *installed* software are available. ... For these tasks I use Kuroo (for KDE, http://tux.myftp.org/). I know where is something similar for GNOME too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
On Thursday 09 March 2006 20:16, Jim wrote: Hey group, I am a long time Linux user, however I am new to Gentoo. I used Red Hat/Fedora for many years, then my own Linux based on LFS and the last year I have been using Ubuntu. I really like Ubuntu because of apt, however I have had frustrations with Ubuntu because it could be a pain to get newer versions of packages installed. For example Ubuntu defaulted to Apache 1.x for mod_mono. I have now been using Gentoo for a few days and I am running into some issues I hope this group can help with. At first emerge was trying to merge some really old packages. For example I wanted mysql 5.x, php 5.x and Apache 2.x and Gentoo was only going to install mysql 4.x. I did find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more recent versions of software installed. I am looking for any good links, tips, suggestions of admin software to emerge, etc to help me learn the ins-and-outs of Gentoo. I have tons of questions but don't know where to look. Well, I can google but that takes ages and I was hoping many of you on this list will have a nice set of bookmarks on gentoo admin, handy gentoo software, tips etc. Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. best done in kuroo ;) Browse available software that can be installed. best done in kuroo, too. See what version of a particular software package is installed. emerge -s or emerge -S See if any new versions of *installed* software are available. ... emerge -u, emerge -s or emerge -S -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
On 3/9/06, Jim [EMAIL PROTECTED] wrote: Hey group, I am a long time Linux user, however I am new to Gentoo. I used Red Hat/Fedora for many years, then my own Linux based on LFS and the last year I have been using Ubuntu. I really like Ubuntu because of apt, however I have had frustrations with Ubuntu because it could be a pain to get newer versions of packages installed. For example Ubuntu defaulted to Apache 1.x for mod_mono. I have now been using Gentoo for a few days and I am running into some issues I hope this group can help with. At first emerge was trying to merge some really old packages. For example I wanted mysql 5.x, php 5.x and Apache 2.x and Gentoo was only going to install mysql 4.x. I did find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more recent versions of software installed. I am looking for any good links, tips, suggestions of admin software to emerge, etc to help me learn the ins-and-outs of Gentoo. I have tons of questions but don't know where to look. Well, I can google but that takes ages and I was hoping many of you on this list will have a nice set of bookmarks on gentoo admin, handy gentoo software, tips etc. Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: Welcome to Gentoo... I'm sure you will find it much easier to maintain then Fedora or Ubuntu, especially if you need newer packages. If you have any questions I would suggest you google them first, for example if you want to learn how to setup Samba on Gentoo I would google for Gentoo samba if you do a query like that the best pages are usually in the top 2 or 3 results. There are some excellent docs sites too... my favorites are: http://gentoo-wiki.com/Main_Page http://www.gentoo.org/doc/en/list.xml Regarding the specific questions you have... See list of all *installed* software. See what version of a particular software package is installed. See if any new versions of *installed* software are available. emerge gentoolkit and read the man page for equery it does all of this stuff for you. I would also encourage you to read up on emerge as it is a very powerful tool for all things Portage. Browse available software that can be installed. You can do this with emerge -s packagename but IMO to get any really useful information check out http://www.gentoo-portage.com or http://packages.gentoo.org. Also if you need something that is exotic and not in Portage yet you can check out http://bugs.gentoo.org and search for an ebuild or write one yourself. -Mike -- Michael E. Crute http://mike.crute.org It is a mistake to think you can solve any major problems just with potatoes. --Douglas Adams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
On 3/9/06, Jim [EMAIL PROTECTED] wrote: Hey group, I am a long time Linux user, however I am new to Gentoo. I used Red Hat/Fedora for many years, then my own Linux based on LFS and the last year I have been using Ubuntu. I really like Ubuntu because of apt, however I have had frustrations with Ubuntu because it could be a pain to get newer versions of packages installed. For example Ubuntu defaulted to Apache 1.x for mod_mono. I have now been using Gentoo for a few days and I am running into some issues I hope this group can help with. At first emerge was trying to merge some really old packages. For example I wanted mysql 5.x, php 5.x and Apache 2.x and Gentoo was only going to install mysql 4.x. I did find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more recent versions of software installed. Welcome!!! I am looking for any good links, tips, suggestions of admin software to emerge, etc to help me learn the ins-and-outs of Gentoo. I have tons of questions but don't know where to look. Well, I can google but that takes ages and I was hoping many of you on this list will have a nice set of bookmarks on gentoo admin, handy gentoo software, tips etc. http://www.gentoo.org - Docs Lots of info, migrating guides, howtos, and initial setup. http://forums.gentoo.org/ Any doubts, search first, ask later... http://gentoo-wiki.com/ LOTS of specific, hardware, software and configuration related topics. Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. kuroo is good, porthole seemed to do that too, but it segfault in one of my system. Browse available software that can be installed. http://packages.gentoo.org See what version of a particular software package is installed. eix package See if any new versions of *installed* software are available. emerge -u world -pv Also take a look at man emerge, man portage and the use of packages.* files. Avoid setting stuff at command line, like ACCEPT_KEYWORDS for example, use /etc/portage/packages.keywords. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
Mantas Povilaitis wrote: On 3/9/06, Jim [EMAIL PROTECTED] wrote: Hey group, snip Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. Browse available software that can be installed. See what version of a particular software package is installed. See if any new versions of *installed* software are available. ... For these tasks I use Kuroo (for KDE, http://tux.myftp.org/). I know where is something similar for GNOME too. What would be the Gnome equivalent? I use and prefer Gnome :) Jim
Re: [gentoo-user] Switching to Gentoo
On Thursday 09 March 2006 21:50, Jim wrote: For these tasks I use Kuroo (for KDE, http://tux.myftp.org/). I know where is something similar for GNOME too. What would be the Gnome equivalent? I use and prefer Gnome :) Jim porthole is gtk based, its my pick despite it happens to segfault. there is java based too but never looked at it. martins -- Linux 2.6.15-ck5 AMD Athlon(tm) 64 Processor 3200+ 22:06:34 up 10:42, 7 users, load average: 1.29, 1.31, 1.33 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
www.wolfspakt.de/spiel.php?id=7358 On Thu, 09 Mar 2006 14:50:51 -0500 Jim [EMAIL PROTECTED] wrote: Mantas Povilaitis wrote: On 3/9/06, Jim [EMAIL PROTECTED] wrote: Hey group, snip Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. Browse available software that can be installed. See what version of a particular software package is installed. See if any new versions of *installed* software are available. ... For these tasks I use Kuroo (for KDE, http://tux.myftp.org/). I know where is something similar for GNOME too. What would be the Gnome equivalent? I use and prefer Gnome :) Jim pgpULkgYp11Yj.pgp Description: PGP signature
Re: [gentoo-user] Switching to Gentoo
On Thursday 09 March 2006 20:16, Jim wrote: I have now been using Gentoo for a few days and I am running into some issues I hope this group can help with. At first emerge was trying to merge some really old packages. For example I wanted mysql 5.x, php 5.x and Apache 2.x and Gentoo was only going to install mysql 4.x. I did find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more recent versions of software installed. In Debian/Ubuntu etc. you can choose between stable and testing. The equivalent of testing in Gentoo is enabled by putting ACCEPT_KEYWORDS=~ARCH in /etc/make.conf (in your case ARCH=x86). If like me you choose to run generally stable and only choose testing (~ARCH) for some packages, then you should never use ACCEPT_KEYWORDS when emerging something. ACCEPT_KEYWORDS may on rare occasions be interesting with emerge --pretend to see what a testing package requires. Instead when installing a testing package you should put it in /etc/portage/package.keywords. If you do emerge something with ACCEPT_KEYWORDS on the command line then portage will downgrade the package next time you try to upgrade world (emerge --update --verbose --deep world). Also never emerge something without first trying with --pretend or --ask to see what it will do. Some tasks I could do in Fedora/Ubuntu that I want to know how to do on Gentoo: See list of all *installed* software. I would use (it's a capital i): #eix --installed --compact This provides a list of all installed packages including all dependencies. In /var/lib/portage/world there is a list of all of all software that you have explicitly installed. The rest of what is installed should be depencies of packages in the world file. So to get a list of packages that I installed I would use (this is only one line): #while read pkg; do eix --force-color --compact ^${pkg}$ | head -n 1; done /var/lib/portage/world Browse available software that can be installed. Others have mentioned kuroo which is by far the best gui that I have ever seen for portage (not that I ever use a gui ;) ). The most recent version of kuroo in portage i.e. kuroo 0.7* does not support portage 2.1* (~ARCH) so if you use that you need kuroo 0.8.0_rc1. There is an ebuild available from the project page [1] that you can easily use through a local overlay [2]. [1] http://tux.myftp.org/installation.html [2] http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds See what version of a particular software package is installed. #eix package See if any new versions of *installed* software are available. To do a sync I always use eix-sync rather than emerge --sync. This provides a much better overview of what was changed during that particular sync. To see all versions of a particular package #eix package To see if there are newer versions of anything in world: #emerge --update --verbose --deep --pretend world Important packages to install for portage are as others have mentioned eix and gentoolkit. HtH -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Switching to Gentoo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bo Andresen wrote: snip HtH Thanks Bo, that what what I was looking for. Thanks to everyone else as well. I will know have a long and fun night of playing in Gentoo : ) Jim -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEELNReqJ5Vbm4CxYRAiAAAJ97tMuUwyt7CLWZ4MmcriFmDxdoXACaA0XD rxV+tE9COQuqPTWFqZNCWCY= =I3rx -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list