{"id":13827,"date":"2019-04-06T10:02:16","date_gmt":"2019-04-06T10:02:16","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13827"},"modified":"2019-04-06T10:02:16","modified_gmt":"2019-04-06T10:02:16","slug":"tasksel-easily-and-quickly-install-group-softwares-in-debian-and-ubuntu","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/tasksel-easily-and-quickly-install-group-softwares-in-debian-and-ubuntu\/","title":{"rendered":"Tasksel \u2013 Easily and Quickly Install Group Softwares in Debian and Ubuntu"},"content":{"rendered":"<p>One of the several tasks that a Linux user is bound to handle is software installation. There are possibly two methods especially on\u00a0<strong>Debian\/Ubuntu<\/strong>\u00a0Linux systems you can use for installing software. The first is installing individual packages using package management tools such as\u00a0<a href=\"https:\/\/www.tecmint.com\/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management\/\" target=\"_blank\" rel=\"noopener\">apt-get<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noopener\">apt<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/difference-between-apt-and-aptitude\/\" target=\"_blank\" rel=\"noopener\">aptitude<\/a>\u00a0and\u00a0<strong>synaptic<\/strong>.<\/p>\n<p>The other is by using\u00a0<strong>Tasksel<\/strong>, is a simple and easy-to-use tool developed for\u00a0<strong>Debian\/Ubuntu<\/strong>\u00a0that provides users an interface to enable them to install a group of related packages such as\u00a0<strong>LAMP Server<\/strong>,\u00a0<strong>Mail Server<\/strong>,\u00a0<strong>DNS Server<\/strong>, etc. as a single pre-configured task. It works comparably to meta-packages, you will find nearly all tasks in\u00a0<strong>tasksel<\/strong>\u00a0present in meta-packages.<\/p>\n<h3>How To Install and Use Tasksel in Debian and Ubuntu<\/h3>\n<p>To install\u00a0<strong>tasksel<\/strong>, simply run the command below:<\/p>\n<pre>$ sudo apt-get install tasksel\r\n<\/pre>\n<p>After installing Tasksel, it enables you to install one or more predefined group of packages. User need to run it from the command line with a few arguments, it provides a graphical user interface as well where one can select software to install.<\/p>\n<p>The general syntax of running\u00a0<strong>tasksel<\/strong>\u00a0from the command line is:<\/p>\n<pre>$ sudo tasksel install task_name\r\n$ sudo tasksel remove task_name\r\n$ sudo tasksel command_line_options\r\n<\/pre>\n<p>To start the\u00a0<strong>tasksel<\/strong>\u00a0user interface, issue the command below:<\/p>\n<pre>$ sudo tasksel\r\n<\/pre>\n<div id=\"attachment_22745\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Tasksel-List-Collection-of-Software.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22745\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Tasksel-List-Collection-of-Software.png\" alt=\"Tasksel - List of Software Collection\" width=\"732\" height=\"438\" aria-describedby=\"caption-attachment-22745\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-22745\" class=\"wp-caption-text\">Tasksel \u2013 List of Software Collection<\/p>\n<\/div>\n<p>Where you see an asterisk\u00a0<code>(*)<\/code>\u00a0without the red highlighter, it means that software is already installed.<\/p>\n<p>To install one or more software, use the\u00a0<strong>Up<\/strong>\u00a0and\u00a0<strong>Down<\/strong>\u00a0arrows to move the red highlighter, press the\u00a0<strong>Space<\/strong>\u00a0bar to select the software and use the\u00a0<strong>Tab<\/strong>\u00a0key to move the to\u00a0<code>&lt;ok&gt;<\/code>. Then hit\u00a0<strong>Enter<\/strong>\u00a0button to install the selected software as shown in the screencast below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Tasksel-Install-Software-Group.gif\"><img decoding=\"async\" class=\"size-full wp-image-22747 aligncenter\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Tasksel-Install-Software-Group.gif\" alt=\"Tasksel - Install Software Group\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>Alternatively, you can list all tasks from the command line as well, by using the command below. Note that in the first column of the list,\u00a0<code>u<\/code>\u00a0(uninstalled) means software is not installed and\u00a0<code>i<\/code>\u00a0(installed) means software is installed.<\/p>\n<pre>$ sudo tasksel --list-tasks \r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre><strong>u<\/strong> manual\tManual package selection\r\n<strong>u<\/strong> kubuntu-live\tKubuntu live CD\r\n<strong>u<\/strong> lubuntu-live\tLubuntu live CD\r\n<strong>u<\/strong> ubuntu-gnome-live\tUbuntu GNOME live CD\r\n<strong>u<\/strong> ubuntu-live\tUbuntu live CD\r\n<strong>u<\/strong> ubuntu-mate-live\tUbuntu MATE Live CD\r\n<strong>u<\/strong> ubuntustudio-dvd-live\tUbuntu Studio live DVD\r\n<strong>u<\/strong> ubuntustudio-live\tUbuntu Studio live CD\r\n<strong>u<\/strong> xubuntu-live\tXubuntu live CD\r\n<strong>u<\/strong> cloud-image\tUbuntu Cloud Image (instance)\r\n<strong>u<\/strong> dns-server\tDNS server\r\n<strong>u<\/strong> edubuntu-desktop-gnome\tEdubuntu desktop\r\n<strong>u<\/strong> kubuntu-desktop\tKubuntu desktop\r\n<strong>u<\/strong> kubuntu-full\tKubuntu full\r\n<strong>u<\/strong> lamp-server\tLAMP server\r\n<strong>u<\/strong> lubuntu-core\tLubuntu minimal installation\r\n<strong>u<\/strong> lubuntu-desktop\tLubuntu Desktop\r\n<strong>u<\/strong> mail-server\tMail server\r\n<strong>u<\/strong> mythbuntu-backend-master\tMythbuntu master backend\r\n<strong>u<\/strong> mythbuntu-backend-slave\tMythbuntu slave backend\r\n<strong>u<\/strong> mythbuntu-desktop\tMythbuntu additional roles\r\n<strong>u<\/strong> mythbuntu-frontend\tMythbuntu frontend\r\n<strong>u<\/strong> postgresql-server\tPostgreSQL database\r\n<strong>u<\/strong> samba-server\tSamba file server\r\n<strong>u<\/strong> tomcat-server\tTomcat Java server\r\n<strong>i<\/strong> ubuntu-desktop\tUbuntu desktop\r\n...\r\n<\/pre>\n<p>You can find a full description of all tasks in\u00a0<code>\/usr\/share\/tasksel\/*.desc<\/code>\u00a0and\u00a0<code>\/usr\/local\/share\/tasksel\/*.desc<\/code>\u00a0files.<\/p>\n<p>Let\u2019s install some group of software packages such\u00a0<strong>LAMP<\/strong>,\u00a0<strong>Mail Server<\/strong>,\u00a0<strong>DNS Server<\/strong>\u00a0etc..<\/p>\n<h4>Install LAMP stack Using Tasksel<\/h4>\n<p>As an example, we shall cover the\u00a0<a href=\"https:\/\/www.tecmint.com\/install-lamp-apache-php-7-and-mariadb-10-on-ubuntu-16-04\/\" target=\"_blank\" rel=\"noopener\">installation of LAMP (Linux, Apache, MySQL and PHP) stack in Ubuntu 16.04<\/a>.<\/p>\n<p>You can either use the user interface or the command line option, but here, we shall utilize the command line option as follows:<\/p>\n<pre>$ sudo tasksel install lamp-server\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Install-LAMP-Server-using-Tasksel.gif\"><img decoding=\"async\" class=\"size-full wp-image-22749 aligncenter\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/09\/Install-LAMP-Server-using-Tasksel.gif\" alt=\"Install LAMP Server Using Tasksel in Ubuntu\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p>While the Mysql package is being installed, you will be prompted to configure Mysql by setting a\u00a0<strong>root<\/strong>\u00a0password. Simply enter a strong and secure password, then hit the\u00a0<strong>Enter<\/strong>\u00a0key to proceed.<\/p>\n<p>Wait for the installation to complete. After all is done, you can test the LAMP stack installation as follows.<\/p>\n<pre>$ sudo task --list-tasks | grep \u201clamp-server\u201d\r\n\r\n<strong>i<\/strong> <strong>lamp-server<\/strong>\tLAM server\r\n<\/pre>\n<p>Similarly you can also install\u00a0<strong>Mail Server<\/strong>\u00a0or\u00a0<strong>DNS Server<\/strong>\u00a0as shown:<\/p>\n<pre>$ sudo tasksel install mail-server\r\n$ sudo tasksel install dns-server\r\n<\/pre>\n<p>Look through the\u00a0<strong>tasksel<\/strong>\u00a0package\u00a0<strong>man page<\/strong>\u00a0for more usage options.<\/p>\n<pre>$ man tasksel\r\n<\/pre>\n<p>As a conclusion,\u00a0<strong>tasksel<\/strong>\u00a0is a simple and easy-to-use interface for users to install software on their\u00a0<strong>Debian\/Ubuntu<\/strong>\u00a0Linux systems.<\/p>\n<p>However, which method of software installation i.e using\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-package-management\/\" target=\"_blank\" rel=\"noopener\">apt-get\/apt\/aptitude package management<\/a>\u00a0tools or\u00a0<strong>tasksel<\/strong>, do you actually prefer and why? Let us know via the comment section below, as well as any suggestions or other vital feedback.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/tasksel-install-group-software-lamp-mail-dns-in-debian-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the several tasks that a Linux user is bound to handle is software installation. There are possibly two methods especially on\u00a0Debian\/Ubuntu\u00a0Linux systems you can use for installing software. The first is installing individual packages using package management tools such as\u00a0apt-get,\u00a0apt,\u00a0aptitude\u00a0and\u00a0synaptic. The other is by using\u00a0Tasksel, is a simple and easy-to-use tool developed for\u00a0Debian\/Ubuntu\u00a0that &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/tasksel-easily-and-quickly-install-group-softwares-in-debian-and-ubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Tasksel \u2013 Easily and Quickly Install Group Softwares in Debian and Ubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13827","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13827"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13827\/revisions"}],"predecessor-version":[{"id":13829,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13827\/revisions\/13829"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}