≡ Menu

Gentoo Linux: Update All Installed Packages Command

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
Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 0 comments… add one }

Leave a Comment