Home > Gentoo, Tyler B > How to update your (whole) Gentoo system

How to update your (whole) Gentoo system

I wrote a simple script that you can download here that makes it easy to update your Gentoo system. It first re-syncs your portage tree so that you are pointing to the newest source files. Then it performs a deep update including build dependencies on all packages that have new versions or could be rebuilt because you have modified your USE flags. It also upgrades any build dependencies and tools. Finally it removes unused dependencies and attempts to fix any broken packages that now have new dependencies.

#!/bin/bash
emerge –sync
emerge –update –deep –with-bdeps=y –newuse –ask world
emerge –depclean
revdep-rebuild

I also found this excellent website that makes it very easy to search for Gentoo packages and see what use flags you can apply to them.




I am currently running a variety of distributions, primarily Linux Mint 17.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Check out my profile for more information.
Categories: Gentoo, Tyler B Tags: ,