Revision of Tasksel from Thu, 11/30/2023 - 09:45
The revisions let you track differences between multiple versions of a post.
Introduction to Tasksel
Tasksel is a administration tool that lets you install and remove tasks on your system via a terminal. A task, like a meta-package contains multiple packages as a collection that can be selected for installing or removing. The fact that tasks often contain many packages makes Tasksel a time-saving tool and an often used and easy way to administrate a system.Tasksel is pre-installed in the standard edition of Trisquel but can also be installed manually. To install tasksel, open a terminal and run:
sudo apt install tasksel
Using Tasksel
To use Tasksel, open a terminal and run:
sudo taskselRoot privileges are necessary to apply changes but if you just want to take a look at what tasks are installed on your system root privileges aren't necessary. The default tasks of Trisquel are also listed in this documentation. See section 'Overview of Tasks'.
The screenshot above shows the standard configuration of Trisquel. Here, all available tasks are represented as their description and with their current status in the sense Tasksel is able to handle them; selected and un-selected tasks.
You can completely control Tasksel with a keyboard. To move around press [TAB] and to select a task press [SPACE]. To cancel or confirm your selection with the two buttons also press [SPACE].
Now, that you managed to use Tasksel, you can read the further sections of this documentation.
Overview of Tasks
Here is a list of the available tasks and their description as of Trisquel 11:- dns-server (Bind9 DNS server)
- mail-server (Postfix mail server)
- openssh-server (OpenSSH secure shell server)
- print-server (Cups print server)
- samba-server (Samba SMB file server)
- triskel (Triskel desktop environment)
- trisquel-console (Trisquel console environment)
- trisquel-desktop (Trisquel desktop environment)
- trisquel-gnome (Trisquel GNOME environment)
- trisquel-mini (Trisquel mini environment)
You can get the list by running the following command in a terminal:
tasksel --listIf you try it for yourself you will see an 'u' or an 'i' at the beginning of each line. Tasks marked with 'i' are tasks already installed on your system and tasks marked with 'u' are tasks that are currently uninstalled.
Content of tasks
It is possible to list the included package(s) of a task with 'tasksel --task-packages [task]'. To list the packages for the task trisquel-desktop the respective command is:
tasksel --task-packages trisquel-desktop
How Tasksel works
If you are wondering what tasksel does when applying changes this section is for you.
If you are using Tasksel to install or uninstall a task, Tasksel will execute a command for you. If you want trisquel-desktop to be installed for example, the following command will be executed:
debconf-apt-progress -- apt-get -q --no-install-recommends -y install trisquel-base trisquel-base-recommended trisquel-recommended trisquel trisquel-desktop-common-recommended lightdm-gtk-greeterNote that the list of packages at the end of this command is the same as the output of 'tasksel --task-packages trisquel-desktop' like described before.
Further Reading
Read the official manual of tasksel in a terminal, by running:man tasksel