我们如何从远程服务器上的命令行知道工具的版本?

sam*_*asa 4 command-line versions

我如何知道远程服务器上运行的 texmaker 版本?

hto*_*que 8

通常,您可以运行apt-cache policy <package>,例如:

$ apt-cache policy texmaker
texmaker:
  Installed: (none)
  Candidate: 3.0.2-2
  Version table:
     3.0.2-2 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
Run Code Online (Sandbox Code Playgroud)