I uninstalled several GNOME applications, LibreOffice apps and various other apps. How do I reinstall them all at one without having to reinstall the operating system?
I uninstalled several GNOME applications, LibreOffice apps and various other apps. How do I reinstall them all at one without having to reinstall the operating system?
Installing the
ubuntu-desktop
package ought to pull the default packages.The default set of packages for 18.04 is listed in http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.manifest (for later releases, just go up to https://releases.ubuntu.com and navigate to the correct release/architecture for your situation).
You can obtain the package names only from this textfile via the following command:
Therefore, you should be able to install those packages by passing the output of that command to
apt install
:If you're using another version or architecture (arch=amd64 in the above commands), you'll need to modify your command accordingly.