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.
Let’s Have Christmas In The Terminal
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:
1 | cd ~/Downloads |
Next, we’ll install Git.
1 | sudo apt install git |
Then we’ll download some files with Git.
1 | git clone https://github.com/gleich/ctree |
Now we move to the new directory:
1 | cd ctree |
This is in the language known as Go, so let’s get set up to compile that.
1 | sudo apt install gccgo-go |
Now we’ll do some compilation magic.
1 | go build -v . |
Let that finish and run this command:
1 | ./ctree |
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:
1 | sudo cp ./ctree /usr/local/bin |
Enjoy your holiday celebrations!
Closure:
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.
Thank you for your articles through the year
Merry Christmas
Merry Christmas, indeed! Thanks for your readership and comments.
I’ll continue churning out the articles in the year to come. We did have some missed days (though I was able to schedule a notification) but things are back to normal at my house. The catastrophic storm means that some folks will never be quite back to normal, but I’m grateful that we came out of it with nothing so broken that money can’t fix it.
(If you’ve watched the news, I live in Maine. We got hammered with a wind storm and massive flooding. While I had electricity due to using solar/wind, the tower that carries my cell signal was out.)