$ dpkg -l gcc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-================-============-=================================
ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Ok, here is all the information you requested:
$ dpkg -l gcc Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= -====== ======- ======= ======= ======= ======= ===== ~20.04) 9.3.0
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii gcc 4:9.3.0-1ubuntu2 amd64 GNU C compiler
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ apt policy g++ 9.3.0-1ubuntu2 500 archive. ubuntu. com/ubuntu focal/main amd64 Packages
g++:
Installed: (none)
Candidate: 4:9.3.0-1ubuntu2
Version table:
4:
500 http://