300

There's got to be some simple way I'm missing, but for the life of me I can't find it. How do I check my version of GNOME-Shell?

1
  • allow me to add that in addition to needing to know the version of gnome-shell one is running, for those specific tasks & troubleshooting that require this information, one often also needs to know if they're running wayland or not (which does not depend on the version of gnome-shell, but rather needs to be checked separately) askubuntu.com/questions/904940/…
    – michael
    Jul 21, 2023 at 4:17

2 Answers 2

405

Just type

gnome-shell --version

into a terminal.

2
  • 2
    I tired it, but it didn't work. Got an error >> gnome-shell: error: no such option: --version
    – Vinay
    Nov 15, 2010 at 11:25
  • 4
    @VinayChalluru: type gnome-shell -h. This should give you the available options and allow you to copy and paste --version to make sure you've got everything right (the hyphens can be especially tricky). Apr 14, 2015 at 2:14
27

The gnome-shell man page doesn't show --version as an option. Assuming you have installed it from the ubuntu repositories then you can look up the version in the repository. To just show the version:

apt-cache show gnome-shell | grep Version

On Ubuntu Maverick (10.10) I get

Version: 2.31.5-2ubuntu2

Note that this works whether or not the package is installed. You can also look up all packaged versions of gnome-shell on all ubuntu versions on http://packages.ubuntu.com/

3
  • 4
    The output could show several versions.
    – BuZZ-dEE
    Feb 2, 2013 at 14:18
  • Yep: Version: 3.12.2-0ubuntu0~trusty2 Version: 3.10.4-0ubuntu5.2 Version: 3.10.4-0ubuntu5
    – Tim
    Jul 23, 2014 at 13:31
  • rather than apt-cache, a better tool for this specific task (querying the state of installed vs available packages) would be dpkg, e.g., use $ dpkg -l gnome-shell and verify the output is prefixed by ii or run: $ dpkg -l gnome-shell | grep '^ii' See also askubuntu.com/questions/1124914/…
    – michael
    Jul 21, 2023 at 4:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .