how to upgrade/update gentoo packages

  1. open up your terminal
  2. sudo emerge -uDU --keep-going --with-bdeps=y @world
  3. please note, you can also put all these options inside the EMERGE_DEFAULT_OPTS of make.conf, making it become a much simpler sudo emerge @world

[source]