jlelse's Blog

Thoughts, stories and ideas

distro.tools: Scripts for lazy Linux users

Published on in 👨‍💻 Dev
Updated on
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed.

Today I want to share one of my own projects: distro.tools.

distro.tools is a small but growing collection of scripts to manage your Linux distribution. Currently most of the scripts are made to install the latest versions of specific software on your computer, but it’s planned to include scripts for all different kind of needs.

Some time ago (actually many months ago), I found myself trying to automate the setup of my laptop, in case I need to reinstall everything. Back then, I mainly used Ubuntu, so I created scripts to setup a Ubuntu installation exactly the way I want it. But a lot of those scripts, I thought, might be also useful for other people too. Scripts, that find and install the latest version of Golang, Docker Compose, etc. Sharing is caring. Especially because I took some inspiration myself from scripts I found all over the internet (and GitHub).

Like some people do, I also started this project by buying a new domain name. That was some kind of commitment and I actually started to make my custom scripts more generic and share them with others.

To just give an example, with just this line pasted to your terminal, you can install the latest version of go:

sudo sh -c 'wget -qO- distro.tools/install/golang | sh'

If you are scared about piping things from wget to shell with sudo, you are free to just clone the git repository and execute the appropriate file locally.

I try to make as many scripts as possible to be independent from a specific distribution, so that they work on most machines and they are still useful after a distro hop. But of course distro.tools can also be used for distro specific scripts. 😄

The selection is still very small, but if you also want to share some scripts, feel free to create a Pull Request. I’m happy to accept new submissions. I’m not that good at creating scripts myself, but with your help, distro.tools can become something useful!


Jan-Lukas Else
You can also create an anonymous comment.