Gentoo Linux: Update All Installed Packages Command

by on January 30, 2013 · 0 comments· LAST UPDATED January 30, 2014

in ,

I am helping a friend with Gentoo Linux installed on a VPS server. I need to update all install packages on Gentoo Linux. How can I perform such update using command line tool?

Applying security patches and updating system apps is an important part of maintaining the Gentoo operating system. You need to use emerge command. It is very important to have up to date system backup before you do this. Backup all your database and files in $HOME, /etc/ and more.
Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsNone
Estimated completion time1m

Update your entire Gentoo Linux system

Type the following command to update the portage tree:
# emerge --sync
To update your entire system including dependencies, enter:
# emerge --update --deep --with-bdeps=y @world

You may need to restart services such as MySQL and Apache if updated by emerge tool. I also recommened that you schedule time to upgrade the system and reboot the Linux server to verify that everything is working correctly.

See also
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , ,

Previous Faq:

Next Faq: