¿Se puede eliminar Python 2 de forma segura de Ubuntu 14.04?

8

He actualizado mi PC de Ubuntu 13.10 a Ubuntu 14.04.

Escuché que Ubuntu 14.04 no incluye Python2, pero mi sistema Ubuntu 14.04 todavía tiene Python 2 instalado.

¿Puedo eliminar Python 2.7.6 de mi PC? Por supuesto, sé que algunos programas pueden depender de Python2.

usuario271563
fuente
66
Lo escuchaste mal, 14.04 incluye python2 y eliminarlo es un problema.
jobin

Respuestas:

15
  • 14.04 tiene python 2.
  • No puede eliminar python 2 sin eliminar todos los paquetes que dependen de python 2. Probablemente sea más del 50%.

Echa un vistazo a esta lista:

  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.

Digamos que eliminas python2.7. Esto restaurará el escritorio:

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
Rinzwind
fuente
1
Puede quitarlo, simplemente no debería.
Alex
Tengo una pregunta interesante en mi mente si eliminar Python 2 de la instalación de Base Ubuntu dañará el sistema o simplemente eliminará algunos softwares de GUI.
kuldeep.kamboj
@ kuldeep.kamboj ¿ayuda esta lista a explicarlo? >: - D
Rinzwind
Sí, la lista muestra toda la historia. El sistema se volverá corrupto e inutilizable.
kuldeep.kamboj