Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the plethora of possibilities for most command-line tools, I would be surprised to learn that there is no way to colorize the info that apt-get, apt-cache, and related tools return. Even so, Googling was fruitless in this.

Primarily, it would be nice to have the summary lines that show total count/size, and color-code each type of action count: eg, upgrades in blue, installs in green, held in yellow, and removed in red.

share|improve this question

Sure, it's easy. There are even tools for it. See

I prefer rcg (Regex Colored Glasses).

share|improve this answer

As weird as it may sound: NO. While the excellent Arch Linux's pacman has built-in colorizing capabilities (and a few more available via 3rd-party wrappers) there's nothing similar for the aging apt/dpkg combo nor the relatively newer aptitude tool.

This is how pacman looks like using an external wrapper (mostly Yaourt or Packer, can't remember which one I was using at the time):

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.