Well, it’s the day before Christmas and a Linux Christmas can mean having Christmas in the terminal. If you do not celebrate the holiday, that’s fine. You can skip this article and move along. If you do celebrate this holiday, you might as well have a Merry Linux Christmas!
Last year, we had Christmas in the terminal. This year, we’ll be doing the same thing – but not in the same way. If you want an easier and quicker way to have Christmas in the terminal, you should follow along with the first article. This one is quite a bit more involved.
That one is nice and easy! I’m also writing this article quite a ways ahead of time. I’ll schedule it for the nearest possible day. Due to my publication schedule, this won’t be published on the holiday itself.
NOTE: I did this on Linux Mint 21.2, Cinnamon Edition. That just happened to be the computer I was using. You may not need all of these steps if you’re using a different distro. You may already have things like Go and Git available.
We’ll be playing with all sorts of silliness and doing things we’d not normally do on this site. I’ll give clear directions, as much as I can. I won’t be diving into details like I have lately. This is a holiday article and ain’t nobody got time for that!
Linux Christmas In The Terminal:
You will need an open terminal. As I did this in Mint, I was able to open a terminal by just pressing
With your terminal now open, let’s get into a good directory:
Next, we’ll install Git.
sudo apt install git
Then we’ll download some files with Git.
git clone https://github.com/gleich/ctree
Now we move to the new directory:
This is in the language known as Go, so let’s get set up to compile that.
sudo apt install gccgo-go
Now we’ll do some compilation magic.
go build -v .
Let that finish and run this command:
With any luck, you’ll see something like this in your terminal:
Tada! It even has blinking lights! That’s a rather festive terminal!
You can exit the program by pressing
Of course, you can move the ctree file anywhere you want. If you want to just run it from the terminal, copy it to /usr/local/bin and you can do that. This being a temporary thing, I saw no reason to move the binary to a special location. If you do want to just run it anywhere in the terminal, you’d use this command:
sudo cp ./ctree /usr/local/bin
Enjoy your holiday celebrations!
I don’t think this can become a tradition or anything like that. There are only so many Christmas-themed things out there that you can do in the terminal. I didn’t create this and I have no idea what I’ll be able to find for the next Christmas. We’ll have to wait and see what next year brings. Until then, keep being you!
Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.