Mint

Install Strace on Linux Mint 20

How to Install Pyradio on Ubuntu 20.04

Introduction:

Strace is a useful Linux utility that is designed for debugging and diagnosing issues with the system. It mainly monitors the system calls that are generated behind every action that your computer system takes. In this guide, we will share with you the procedure of installing and using the Strace utility on a Linux Mint 20 system.

Install Strace on Linux Mint 20:

In order to install the Strace program execution tracing utility on a Linux Mint 20 system, you will have to perform the steps explained below:

Step # 1: Install Strace on Linux Mint 20:

You can install Strace on Linux Mint 20 simply by running the following command:

$ sudo apt-get install strace –y

Step # 2: Confirm the Installation of Strace on Linux Mint 20:

Now, to confirm Strace installation, we can just look up its installed version with the help of the command shown below:

$ strace --version

The version of this utility that we have installed on our system is shown in the following image:

Use Strace on Linux Mint 20:

You can use Strace on your system with the help of the steps shown below:

Step # 1: Check out how to Use Strace on Linux Mint 20:

First, you should check how you can use Strace on Linux Mint 20 by looking for its help manual with the following command:

$ strace --help

All the details of using this utility are shown in the image below:

Step # 2: Run Strace for a Random Linux Mint 20 Command:

Now, you can run the Strace test on a Linux Mint 20 command of your choice in the following manner:

$ strace ls

The complete Strace test for the “ls” command is shown in the image below:

Remove Strace from Linux Mint 20:

If you wish to remove Strace from Linux Mint 20, then you need to run the following command:

$ sudo apt-get purge --autoremove strace 

Conclusion:

In this way, you can install and use Strace very conveniently on your Linux Mint 20 system. Moreover, whenever you feel like you are done with all the tasks that you needed to perform with the help of this utility, then you can simply uninstall it from your system.

Similar Posts