sudo: tasksel: command not found [How To Fix]

How To fix sudo: tasksel: command not found error message will be discussed in this article. We will also learn two alternatives solutions.

Problem

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

sudo: tasksel: command not found

How To Fix

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

sudo apt-get -y install tasksel

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

Alternative Fixes

You can also use apt command to install tasksel.

sudo apt -y install tasksel

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

sudo aptitude install tasksel

Using tasksel

After the installation finished, you can run tasksel.

sudo tasksel

You can select which packages that you want to install and press OK