I have a question about the following command:
apt-cache search java | awk '{print($1)}' | grep -E -e '^(ia32-)?(sun|oracle)-java' -e '^openjdk-' -e '^icedtea' -e '^(default|gcj)-j(re|dk)' -e '^gcj-(.*)-j(re|dk)' -e 'java-common'
Owing to my limited IT knowledge, am I right to say that the (ia32-) in the above command refers to 32-bit software? If it is, then I assume that the above command is for 32-bit installed OS.
However I installed a 64-bit OS.
What is the correct parameter for 64-bit software? Is it (amd64-) or (ia-64) or (x86_64-)?
Any expert help is much appreciated.