runlim command not found

In this troubleshooting guide we learn how to fix runlim command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

runlim: command not found

or when using sudo you get the following error message

sudo: runlim: command not found

Solutions to runlim: command not found

How To Fix runlim: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu runlim is provided by runlim package.

runlim is:

This package contains runlim, a tool for sampling time and memory usage of a program and its children using the proc file system of Linux. Time and space limits are also supported. It is very helpful for benchmarking and running competitions. It also supports limits on wall clock time and thus can control runs of multi-threaded programs on multi-core machines as well.

To fix this problem, we can install more using the command below.

sudo apt-get -y install runlim

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install runlim.

sudo apt -y install runlim

Or if you have aptitude installed you can use the following command.

sudo aptitude install runlim

Summary

In this tutorial we learn how to fix runlim command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.