Install Ansible on Gentoo

Gentoo provides a package called app-admin/ansible for Ansible. To install it, just run: ❯ sudo emerge --ask app-admin/ansible Note that unlike Ansible package on CentOS/Fedora, there is no default ansible.cfg provided with the Gentoo Ansible package. ❯ ansible --version ansible 2.9.9 config file = None configured module search path = ['/home/kenno/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.7/site-packages/ansible executable location = /usr/lib/python-exec/python3.7/ansible python version = 3.7.7 (default, May 9 2020, 19:52:18) [GCC 9....

June 28, 2020 · 1 min · 78 words · kenno

Gentoo Luks Fails Kernel 5.6

My Gentoo based Linux laptop which is still running the older kernel 5.3.15. A short while back, I had a failed attempt to upgrade the kernel to 5.4.2 as the disk which encrypted with dm-crypt couldn’t be decrypted on boot. Since the older kernel 5.3.15 was working fine and free time was I what I lacked of, it seemed logical to just not doing anything about it. Today while updating all the packages on my Gentoo laptop, I notice there was a newer kernel available: 5....

April 11, 2020 · 3 min · 611 words · kenno

feh WARNING: abc.png - No Imlib2 loader for that file format

As the title says, I cannot use feh to open a PNG image. feh on this machine can’t open a JPG image either. Let’s see what’s wrong. I should notice that this problem occured on a machine running Gentoo. :D First, let’s check if feh is installed using my favorite tool called eix: ~ ❯❯❯ eix feh [I] media-gfx/feh Available versions: 3.1.1 ~3.1.3 ~3.2 ~3.2.1^t {curl debug exif test xinerama} Installed versions: 3....

September 1, 2019 · 2 min · 237 words · kenno

Upgrading Kernel Issues and Fixes on Gentoo

Today I decided to upgrade the kernel (gentoo-sources) from 4.19.64 to 5.2.6 on my old ThinkPad X220. Apart from a few hiccups, everything went quite smoothly. I already have a blog post about upgrading the kernel on Gentoo, so I’ll skip many things here. First, ensure the sys-kernel/gentoo-sources-5.2.6 is installed: # emerge -av =sys-kernel/gentoo-sources-5.26 After the above package installed, we should be able to list it: ~ ❯❯❯ eselect kernel list Available kernel symlink targets: [1] linux-4....

August 6, 2019 · 1 min · 204 words · kenno

Install Lmod on Gentoo

Lmod is not available in Gentoo’s portage. This blog post will document how I got Lmod installed on my Gentoo machine. First requirement is to install lua. I picked lua 5.2 as I had problem when experimenting with Lua 5.1. To install lua-5.2.3 from portage, run: # emerge -av =dev-lang/lua-5.2.3 If you have multiple versions of Lua installed, make sure to select this lua 5.2.3 as the default version using eselect:...

February 19, 2019 · 3 min · 442 words · kenno