Hello again everybody. It has been a while since my last article.
Preface
Goal: Upgrade Gentoo by Category using equery
Table of Content
1: Issue
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.
Common Upgrading
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.
Example
Last month I have got a bunch of packages started with:
-
dev-ruby
-
dev-python
-
xfce-base
-
xfce-extra
-
x11-misc
-
dev-qt
-
kde-frameworks
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.
Prerequisite
Before you do this tutorial, make sure that, you have already upgrade your base system.
2: Using equery with emerge
Summary
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
Prerequiste
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 System
Emerge One Category
Now you can emerge your categories.
4: Finishing
Check
This should show empty, no more packages to be compiled.
Emerge Other Category.
Now you can emerge any other category as well:
At Last
After all packages upgraded, there might be some packages left. Now we can go back to our simple command.
Conclusion
Solved. Compiling in Gentoo is fun again.
Happy New Year 2019. And thank you for reading.