可以从Ubuntu 14.04安全地删除Python 2吗?

我已将我的电脑从Ubuntu 13.10更新到Ubuntu 14.04。

我听说Ubuntu 14.04不包含Python2,但是我的Ubuntu 14.04系统仍然安装了Python 2。

我可以从PC上删除Python 2.7.6吗? 当然,我知道某些软件可能依赖于Python2。

  • 14.04确实有python 2。
  • 如果不删除所有依赖于python 2的软件包,就不能删除python 2.这可能超过50%。

看看这个清单:

The following packages were automatically installed and are no longer required: accountsservice-ubuntu-schemas accountsservice-ubuntu-touch-schemas gnome-control-center-data gnome-settings-daemon gsettings-ubuntu-touch-schemas indicator-network libappindicator1 libbit-vector-perl libbonobo2-0 libbonobo2-common libbonoboui2-common libcarp-clan-perl libclass-data-inheritable-perl libclass-method-modifiers-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libdata-random-perl libdate-calc-perl libdate-calc-xs-perl libextutils-depends-perl libextutils-pkgconfig-perl libfile-which-perl libgd-perl libglade2-0 libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-wnck-perl libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-common libgoa-backend-1.0-1 libgoo-canvas-perl libgoocanvas-common libgoocanvas3 libgtk2-appindicator-perl libgtk2-imageview-perl libgtk2-unique-perl libgtkimageview0 libhttp-server-simple-perl libidl-common libidl0 libindicator7 libjson-perl libjson-xs-perl libkeybinder0 libmouse-perl libnet-dbus-perl libnet-dropbox-api-perl libnet-oauth-perl libofono-qt1 libonline-accounts-client1 liborbit-2-0 liborbit2 libpath-class-perl libproc-processtable-perl libproc-simple-perl libqgsttools-p1 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5systeminfo5 libsort-naturally-perl libsystemsettings1 libtie-ixhash-perl libubuntu-download-manager-client0 libubuntu-download-manager-common0 libubuntu-download-manager-priv0 libubuntuoneauth-2.0-0 libunique-1.0-0 libwww-mechanize-perl libx11-protocol-perl libxml-twig-perl libxml-xpathengine-perl linux-headers-3.13.0-18 linux-headers-3.13.0-18-generic linux-image-3.13.0-18-generic linux-image-extra-3.13.0-18-generic packagekit-tools perlmagick python3-gnupg qtdeclarative5-folderlistmodel-plugin qtdeclarative5-qtmultimedia-plugin qtdeclarative5-systeminfo-plugin qtdeclarative5-ubuntuone1.0 suru-icon-theme system-image-common system-image-dbus ubuntu-download-manager ubuntu-keyboard-data ubuntu-mobile-icons ubuntu-purchase-service ubuntu-touch-sounds ubuntuone-credentials-common ... The following packages will be REMOVED: aisleriot apt-xapian-index apturl checkbox-gui compiz compiz-gnome compizconfig-settings-manager deja-dup deja-dup-backend-gvfs deja-dup-backend-ubuntuone duplicity flashplugin-installer gconf2 gedit gnome-terminal gnome-terminal-data gnome-user-share gvfs-backends hplip hplip-data ibus ibus-pinyin ibus-table indicator-bluetooth landscape-client-ui-install libbonoboui2-0 libgnome2-0 libgnome2-bin libgnome2-common libgnome2-perl libgnome2-vfs-perl libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libpurple-bin libreoffice-gnome libsmbclient nautilus-share oneconf oneconf-common plainbox-provider-checkbox printer-driver-postscript-hp printer-driver-sag-gdi pybootchartgui python python-apt python-aptdaemon python-aptdaemon.gtk3widgets python-cairo python-chardet python-colorama python-commandnotfound python-compizconfig python-configglue python-crypto python-cssselect python-cups python-cupshelpers python-dbus python-debian python-debtagshw python-defer python-dirspec python-distlib python-gconf python-gdbm python-gi python-gi-cairo python-glade2 python-gnomekeyring python-gobject python-gobject-2 python-gtk2 python-html5lib python-httplib2 python-ibus python-imaging python-keybinder python-ldb python-libxml2 python-lockfile python-lxml python-notify python-ntdb python-oauthlib python-oneconf python-openssl python-pam python-pexpect python-pil python-pip python-piston-mini-client python-pkg-resources python-protobuf python-pycurl python-pyinotify python-pyquery python-qt4 python-qt4-dbus python-renderpm python-reportlab python-reportlab-accel python-requests python-samba python-serial python-setuptools python-sip python-six python-smbc python-support python-talloc python-tdb python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-ubuntu-sso-client python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol python-urllib3 python-webob python-xapian python-xdg python-zeitgeist python-zope.interface python3-oneconf rhythmbox rhythmbox-mozilla rhythmbox-plugin-cdrecorder rhythmbox-plugin-magnatune rhythmbox-plugin-zeitgeist rhythmbox-plugins rhythmbox-ubuntuone samba-common-bin samba-libs sessioninstaller shutter smbclient software-center software-center-aptdaemon-plugins streamtuner2 system-config-printer-common system-config-printer-gnome system-config-printer-udev totem totem-mozilla totem-plugins transmission-gtk ubuntu-desktop ubuntu-release-upgrader-gtk ubuntu-sso-client ubuntu-sso-client-qt ubuntu-system-service ubuntuone-client ubuntuone-control-panel unity unity-control-center unity-control-center-signon unity-tweak-tool unity-webapps-common update-manager update-notifier update-notifier-common webaccounts-extension-common xdiagnose xul-ext-webaccounts zeitgeist ... 0 upgraded, 71 newly installed, 169 to remove and 4 not upgraded. 

假设你删除了python2.7。 这将恢复桌面:

 sudo apt-get update sudo apt-get install --reinstall ubuntu-desktop