我在 64 位计算机上运行 Trusty Desktop,因此如果我查询已安装的软件包,例如:
$ dpkg-query -l gcc* | grep 'ii '
ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler
ii gcc-4.8 4.8.4-2ubuntu1~14.04 amd64 GNU C compiler
ii gcc-4.8-base:amd64 4.8.4-2ubuntu1~14.04 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-base:i386 4.8.4-2ubuntu1~14.04 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-4.8-doc 4.8.4-2ubuntu1~14.04 all Documentation for the GNU compilers (gcc, gobjc, g++)
ii gcc-4.8-multilib 4.8.4-2ubuntu1~14.04 amd64 GNU C compiler (multilib files)
ii gcc-4.9-base:amd64 4.9.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base …
Run Code Online (Sandbox Code Playgroud)