我正在运行安装了 Oracle Java 的 Ubuntu 14.04.1 64 位,因此我想卸载openjdk
,但是当我尝试通过命令行卸载它时,我得到以下输出:
~$ sudo apt-get remove openjdk-7-jre openjdk-7-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
launchpad-getkeys linux-image-3.13.0-43-generic
linux-image-extra-3.13.0-43-generic python-appindicator python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth
python-secretstorage python-wadllib xclip yad
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
Suggested packages:
icedtea-plugin sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following packages will be REMOVED:
default-jre default-jre-headless octave openjdk-7-jre openjdk-7-jre-headless
The following NEW packages will be installed:
icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib ttf-dejavu-extra
0 upgraded, 7 newly installed, 5 to remove and 0 not upgraded.
Need to get 37.8 MB of archives.
After this operation, 3,122 kB disk space will be freed.
Do you want to continue? [Y/n]
这暗示删除和openjdk
后将安装另一个版本(以前) 。我已经安装了 Oracle Java,因此我想在不弄乱包管理器的情况下卸载,我该怎么做?openjdk-7-jre
openjdk-7-jre-headless
openjdk