Install Steam Locomotive on Ubuntu 04/20

s2 0

Steam Locomotive is a fun utility for Linux based systems that alerts users to a very common mistake they make when entering the “ls” command. Yes, you guessed it right. Most of us rush to type “sl” instead of “ls” and get an unwanted error message. However, we can turn this whole scenario into a good learning experience by using the Steam Locomotive utility. Now let’s see how we can install this utility on an Ubuntu 20.04 system.

Install Steam Locomotive on Ubuntu 04/20

To install Steam Locomotive on your Linux system, you need to quickly follow three extremely simple steps:

Step # 1: Prepare Your System to Install the Steam Locomotive on

First, let’s prepare our system for Steam Locomotive installation by updating it with the command shown below:

$ sudo apt-get update

After doing this update, you can easily install Steam Locomotive on your Ubuntu 20.04 system.

Step # 2: Install Steam Locomotive on your system

To install this utility on your system, you need to run the following command:

$ sudo apt-get install sl

This is an extremely lightweight utility, so it won’t take more than 2 minutes to install on your Ubuntu Linux system.

Install steam locomotive

Step # 3: Test the Steam Locomotive Installation on Your System

Now you can test the Steam Locomotive installation on your Ubuntu system by running it with the command shown below:

$ sl

Linux sl commandadvertising

Once you run this command, you can see a train on your terminal indicating that the Steam Locomotive utility has been successfully installed on your system.

Command steam locomotive

Remove sl command

However, if you want to remove this utility from your Linux system, you can follow this bonus tip and run the following command to completely remove it:

$ sudo apt-get purge --autoremove sl

Remove the steam locomotive

Upon successful execution of this command, the Steam Locomotive utility will be removed from your Linux system.

apt purge sl

diploma

If you have the Steam Locomotive utility installed on your Linux system, you can easily enjoy the scenario of typing the “ls” command incorrectly and typing “sl” instead. You can see a moving train on your screen. This way you will try to be careful next time and avoid this very common mistake.

Install Steam Locomotive on Ubuntu 04/20