Relax by the fire at your Linux terminal

Chestnuts roasting on an open command prompt? Why not, with this fun Linux toy.
134 readers like this.
Linux toy: aafire

Jason Baker

Welcome back. Here we are, just past the halfway mark at day 13 of our 24 days of Linux command-line toys. If this is your first visit to the series, see the link to the previous article at the bottom of this one, and take a look back to learn what it's all about. In short, our command-line toys are anything that's a fun diversion at the terminal.

Maybe some are familiar, and some aren't. Either way, we hope you have fun.

If you're in the northern hemisphere outside of the tropics, perhaps winter is starting to rear its frigid face outside. At least it is where I live. And some I'd love nothing more than to curl up by the fire with a cup of tea and my favorite book (or a digital equivalent).

The bad news is my house lacks a fireplace. The good news is that I can still pretend, thanks to the Linux terminal and today's command-line toy, aafire.

On my system, I found aafire packed with aalib, a delightful library for converting visual images into the style of ASCII art and making it available at your terminal (or elsewhere). aalib enables all sorts of fun graphics at the Linux terminal, so we may revisit a toy or two that make use of it before the end of our series. On Fedora, this meant installation was as simple as:

$ sudo dnf install aalib

Then, it was simple to launch with the aafire command. By default, aalib attempted to draw to my GUI, so I had to manually override it to keep my fire in the terminal (this is a command-line series, after all). Fortunately, it comes with a curses driver, so this meant I just had to run the following to get my fire going:

$ aafire -driver curses

Linux toy: aafire animated

You can find out more about the aa-lib library and download the source on Sourceforge, under an LGPLv2 license.

Do you have a favorite command-line toy that you think I ought to include? The calendar for this series is mostly filled out but I've got a few spots left. Let me know in the comments below, and I'll check it out. If there's space, I'll try to include it. If not, but I get some good submissions, I'll do a round-up of honorable mentions at the end.

Check out yesterday's toy, 

Patch into The Matrix at the Linux command line , and check back tomorrow for another!

What to read next
User profile image.
Jason was an Opensource.com staff member and Red Hatter from 2013 to 2022. This profile contains his work-related articles from that time. Other contributions can be found on his personal account.

1 Comment

I checked aafire on Manjaro KDE and to my surprise, it worked, aalib was already there.

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.