So I just moved from Ubuntu to Gentoo. Updating my packages seems to be pretty similar. I used to typeapt-get update
apt-get upgrade
now I typeemerge --sync
emerge -uDU --with-bdeps=y @world
The first command makes perfect sense to me, but what the hell does "-uDU --with-bdeps=y @world" mean? I looked at the man page entries but I'm still lost.
What do each of these do, and why do I need them?
>>53756414
You fell for the meme m8
>>53756646
Huh? I like gentoo, I'm just trying to learn and understand portage better.
>>53756414
Okay... So I think I figured it out
@world is the thing being updated. I could put a single package here or the @world set (which should be all my installed and system packages)
-u means update those packages to the best version.
-D and --with-bdeps=y mean look deeply, look at dependencies, update those too. (though I'm not sure why that is necessary, shouldn't those be under @world?)
>help pls /g/
-U doesn't do anything
>>53757110
>-U doesn't do anything
whoops! Never mind. It rebuilds packages that have had their USE flags changed
>>53756414
uninstall gentoo
>>53757110
No, you shouldn't be manually specifying all your dependencies in @world. Even if you tried to do so, dependencies change across versions, so you'd still get new ones from time to time.
--with-bdeps=y means you'll also be checking for updates to build-time dependencies, which aren't necessarily going to be included in @world and won't be included transitively by -D.
>>53758082
thanks! I added it to default opts in make.conf