I try to use

apt-cache search gedit

But there is no information about version.

I am trying to install gedit 2.30.4 (by default it is 3.x on Gnome 3). But there is no gedit with this version.

sudo apt-get install gedit=2.30.4
#=> Error

So how can I figure out which versions are in repo?

  • The = in your command seems suspicious. I'd expect a -. – Rinzwind May 6 '11 at 10:56
  • 1
    I read manuals about it and there was equal sign = for version – fl00r May 6 '11 at 10:57

The policy command of apt-cache displays the current installed and available versions.

apt-cache policy gedit

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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