How To Install elpa-color-theme-modern on Ubuntu 22.04

In this tutorial we learn how to install elpa-color-theme-modern on Ubuntu 22.04. elpa-color-theme-modern is deftheme reimplementation of classic Emacs color-themes

Introduction

In this tutorial we learn how to install elpa-color-theme-modern on Ubuntu 22.04.

What is elpa-color-theme-modern

elpa-color-theme-modern is:

Color-theme-modern is a port of many of the classic Emacs color-themes. Many of these themes were previously part of emacs-goodies-el. Screenshots are provided in the documentation directly. The full list is as follows:

aalto-dark, aalto-light, aliceblue, andreas, arjen, beige-diff, beige-eshell, bharadwaj-slate, bharadwaj, billw, black-on-gray, blippblopp, blue-erc, blue-eshell, blue-gnus, blue-mood, blue-sea, calm-forest, charcoal-black, clarity, classic, cobalt, comidia dark-blue2, dark-blue, dark-erc, dark-font-lock, dark-gnus, dark-green, dark-info, dark-laptop, deep-blue, desert, digital-ofs1, emacs-21, emacs-nw, euphoria, feng-shui, fischmeister

gnome2, gnome, goldenrod, gray1, gray30, greiner, gtk-ide, high-contrast, hober, infodoc, jb-simple, jedit-grey, jonadabian-slate, jonadabian, jsc-dark, jsc-light2, jsc-light, julie, katester, kingsajz, late-night, lawrence, ld-dark, lethe, marine, marquardt, matrix, midnight, mistyday, montz, oswald, parus, pierson, pok-wob, pok-wog, railscast, ramangalahy, raspopovic, renegade, resolve, retro-green, retro-orange, robin-hood, rotor, ryerson,

salmon-diff, salmon-font-lock, scintilla, shaman, simple-1, sitaramv-nt, sitaramv-solaris, snowish, snow, standard-ediff, standard, subdued, subtle-blue, subtle-hacker, taming-mr-arneson, taylor, tty-dark, vim-colors, whateveryouwant, wheat, word-perfect, xemacs, xp

There are three methods to install elpa-color-theme-modern on Ubuntu 22.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 elpa-color-theme-modern Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install elpa-color-theme-modern using apt-get by running the following command:

sudo apt-get -y install elpa-color-theme-modern

Install elpa-color-theme-modern Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install elpa-color-theme-modern using apt by running the following command:

sudo apt -y install elpa-color-theme-modern

Install elpa-color-theme-modern 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 elpa-color-theme-modern using aptitude by running the following command:

sudo aptitude -y install elpa-color-theme-modern

How To Uninstall elpa-color-theme-modern on Ubuntu 22.04

To uninstall only the elpa-color-theme-modern package we can use the following command:

sudo apt-get remove elpa-color-theme-modern

Uninstall elpa-color-theme-modern And Its Dependencies

To uninstall elpa-color-theme-modern and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove elpa-color-theme-modern

Remove elpa-color-theme-modern Configurations and Data

To remove elpa-color-theme-modern configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge elpa-color-theme-modern

Remove elpa-color-theme-modern configuration, data, and all of its dependencies

We can use the following command to remove elpa-color-theme-modern configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge elpa-color-theme-modern

References

Summary

In this tutorial we learn how to install elpa-color-theme-modern package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.