Hello again everybody. It has been a while since my last article.
Goal: Upgrade Gentoo by Category using equery
Table of Content
Preface: Table of Content
Gentoo is Fun. But sometimes it takes too long to compile.
With Equery, you can upgrade package by category. One category today. And other category the day after. You can install only what you need, instead of compile all at once. And save your precious time.
I think this classic issue is, already somewhere in gentoo manual. I just love to write a blog about this.
After a few month of not upgrading Gentoo, I always have a bunch of package that needed to be compiled. I do not have all the time in the world, I have life to take care of, so compile all upgraded packages is not an option.
Last month I have got a bunch of packages started with:
What a long list of packages! Sure that, I can’t give you the whole screenshot here. Too long that, the list does not even fit my wide screen.
Before you do this tutorial, make sure that, you have already upgrade your base system.
2: Using equery with emerge
It is as this below:
Well, although it looks complicated, it is actually simple.
How does it works
Listing Using equery
Start from this simple command:
equery with Formatting
Now we can get the name of package using this command below:
3: Base System Issue
Remember our prerequiste ? We are not finished yet.
This command will still throw a bunch of packages, if you haven’t upgrade base system.
Emerge One Category
Now you can emerge your categories.
This should show empty, no more packages to be compiled.
Emerge Other Category.
Now you can emerge any other category as well:
After all packages upgraded, there might be some packages left. Now we can go back to our simple command.
Solved. Compiling in Gentoo is fun again.
Happy New Year 2019. And thank you for reading.