Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

Sure, it's easy. There are even tools for it. See http://stackoverflow.com/questions/981601/colorized-grep-viewing-the-entire-file-with-highlighting

I prefer rcg (Regex Colored Glasses).

share|improve this answer
add comment

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): http://i.imgur.com/ABk0u.png

share|improve this answer
add comment

Your Answer

 
discard

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.