How To Install ubuntu-minimal on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ubuntu-minimal
on Ubuntu 20.04.
What is ubuntu-minimal
ubuntu-minimal is:
This package depends on all of the packages in the Ubuntu minimal system, that is a functional command-line system with the following capabilities:
- Boot
- Detect hardware
- Connect to a network
- Install packages
- Perform basic diagnostics
It is also used to help ensure proper upgrades, so it is recommended that it not be removed. Task: minimal
Package: ubuntu-minimal Architecture: amd64 Version: 1.450 Priority: important Section: metapackages Source: ubuntu-meta Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 51 Depends: adduser, apt, apt-utils, bzip2, console-setup, debconf, debconf-i18n, e2fsprogs, eject, init, iproute2, iputils-ping, isc-dhcp-client, kbd, kmod, less, locales, lsb-release, mawk, mount, netbase, netcat-openbsd, netplan.io, passwd, procps, python3, sensible-utils, sudo, tzdata, ubuntu-advantage-tools, ubuntu-keyring, udev, vim-tiny, whiptail Recommends: rsyslog Filename: pool/main/u/ubuntu-meta/ubuntu-minimal_1.450_amd64.deb Size: 3872 MD5sum: ca2343153df677a61f4d04deef2bedb6 SHA1: c54c920dcea63bcf8537f53a6a56caee3d375dad SHA256: 6eed725122b0c3a16f436fc4cc53d1c817c0232f9d18367ed24e19025dfab3a3 Description-en: Minimal core of Ubuntu This package depends on all of the packages in the Ubuntu minimal system, that is a functional command-line system with the following capabilities:
- Boot
- Detect hardware
- Connect to a network
- Install packages
- Perform basic diagnostics
It is also used to help ensure proper upgrades, so it is recommended that it not be removed. Task: minimal
There are three methods to install ubuntu-minimal
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ubuntu-minimal Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ubuntu-minimal
using apt-get
by running the following command:
sudo apt-get -y install ubuntu-minimal
Install ubuntu-minimal Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ubuntu-minimal
using apt
by running the following command:
sudo apt -y install ubuntu-minimal
Install ubuntu-minimal Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ubuntu-minimal
using aptitude
by running the following command:
sudo aptitude -y install ubuntu-minimal
How To Uninstall ubuntu-minimal on Ubuntu 20.04
To uninstall only the ubuntu-minimal
package we can use the following command:
sudo apt-get remove ubuntu-minimal
Uninstall ubuntu-minimal And Its Dependencies
To uninstall ubuntu-minimal
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ubuntu-minimal
Remove ubuntu-minimal Configurations and Data
To remove ubuntu-minimal
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ubuntu-minimal
Remove ubuntu-minimal configuration, data, and all of its dependencies
We can use the following command to remove ubuntu-minimal
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ubuntu-minimal
References
Summary
In this tutorial we learn how to install ubuntu-minimal
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.