Friday, 1 December 2017

Know version in Ubuntu Linux: Java, Scala,Docker, Python, Sbt

In this post, we will discuss about how to know the current version of your installed software in Ubuntu Linux.

Let us discuss about the following softwares now:

To know Java Version:

ram:~$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

To know Scala Version:

ram:~$ scala -version
Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL

To know Python Version:

ram:~$ python --version
Python 2.7.12

To know Docker Version:

ram:~$ docker -v
Docker version 1.12.6, build 78d1802

To know SBT Version:

ram:~$ sbt sbtVersion
[info] Loading global plugins from /home/rambabuposa/.sbt/0.13/plugins
[info] Loading project definition from /home/rambabuposa/project
[info] Set current project to rambabuposa (in build file:/home/rambabuposa/)
[info] 0.13.16

To know Lightbend ConductR Sandbox Version:

ram:~$ sandbox version

Supported API version(s): 1, 2

Thank you for reading my tutorials. Please support my blog by clicking some ads in my posts.

Please let me know if you need any more commands to publish here.

Happy Learning!