我正在尝试删除 python,但有人告诉我它将删除我安装的几乎所有软件包(夸大其词)。我怎样才能只删除 python 3.8 而不是所有其他包?
hutber@hutber:/var/www$ sudo apt-get purge python3.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libgsf-bin libmspack0 libpython3-dev libpython3.8-dev libxmlsec1-openssl python-pip-whl zerofree zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libutempter0 xterm
Suggested packages:
xfonts-cyrillic
The following packages will be REMOVED:
apparmor* apt-clone* aptdaemon* apturl* apturl-common* blueberry* bulky* caribou* celluloid* cinnamon* cinnamon-common* cinnamon-control-center* cinnamon-control-center-dbg*
cinnamon-dbg* cinnamon-desktop-data* cinnamon-screensaver* cinnamon-session* cinnamon-settings-daemon* command-not-found* dkms* drawing* firefox* foomatic-db-compressed-ppds*
gdebi* gdebi-core* gir1.2-cinnamondesktop-3.0* gir1.2-meta-muffin-0.0* gir1.2-xapp-1.0* gnome-menus* gnome-online-accounts* gnome-terminal* gufw* gvfs-backends* hplip*
hplip-data* hypnotix* libcinnamon-desktop-dbg* libcinnamon-desktop4* libmpv1* libsmbclient* libxapp1* lightdm-settings* lsb-release* mint-common* mint-meta-cinnamon*
mint-meta-core* mintbackup* mintdrivers* mintinstall* mintlocale* mintmenu* mintreport* mintsources* mintstick* mintsystem* mintupdate* mintwelcome* nemo* nemo-data*
nemo-dbg* nemo-fileroller* nemo-preview* nemo-share* netplan.io* network-manager-gnome* networkd-dispatcher* nvidia-prime-applet* onboard* onboard-common* open-vm-tools*
open-vm-tools-desktop* openprinting-ppds* orca* pix* pix-dbg* plymouth-theme-ubuntu-text* printer-driver-foo2zjs* printer-driver-foo2zjs-common* printer-driver-m2300w*
printer-driver-postscript-hp* printer-driver-ptouch* printer-driver-pxljr* printer-driver-sag-gdi* python3* python3-apport* python3-apt* python3-aptdaemon*
python3-aptdaemon.gtk3widgets* python3-blinker* python3-brlapi* python3-bs4* python3-cairo* python3-certifi* python3-cffi-backend* python3-chardet* python3-click*
python3-colorama* python3-commandnotfound* python3-configobj* python3-crypto* python3-cryptography* python3-cups* python3-cupshelpers* python3-dbus* python3-debian*
python3-defer* python3-dev* python3-distro* python3-distutils* python3-entrypoints* python3-gdbm* python3-gi* python3-gi-cairo* python3-grpcio* python3-httplib2* python3-icu*
python3-idna* python3-ifaddr* python3-imdbpy* python3-jwt* python3-keyring* python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* python3-ldb* python3-lib2to3*
python3-linecache2* python3-louis* python3-macaroonbakery* python3-magic* python3-mako* python3-markupsafe* python3-nacl* python3-netaddr* python3-netifaces*
python3-oauthlib* python3-packaging* python3-pam* python3-parted* python3-pbr* python3-pexpect* python3-pil* python3-pip* python3-pkg-resources* python3-problem-report*
python3-protobuf* python3-psutil* python3-ptyprocess* python3-pyatspi* python3-pycurl* python3-pyinotify* python3-pymacaroons* python3-pyparsing* python3-reportlab*
python3-reportlab-accel* python3-requests* python3-requests-file* python3-requests-unixsocket* python3-rfc3339* python3-samba* python3-secretstorage* python3-setproctitle*
python3-setuptools* python3-simplejson* python3-six* python3-soupsieve* python3-speechd* python3-systemd* python3-talloc* python3-tdb* python3-testresources*
python3-tinycss2* python3-tldextract* python3-traceback2* python3-tz* python3-unidecode* python3-unittest2* python3-uno* python3-urllib3* python3-wadllib*
python3-webencodings* python3-wheel* python3-xapp* python3-xdg* python3-xkit* python3-xlib* python3-xlrd* python3-yaml* python3.8* python3.8-dev* redshift-gtk*
rhythmbox-plugin-tray-icon* rhythmbox-plugins* samba-common-bin* samba-libs* slick-greeter* smbclient* sticky* synaptic* system-config-printer* system-config-printer-common*
system-config-printer-udev* thingy* timeshift* ubuntu-drivers-common* ubuntu-system-adjustments* ufw* warpinator* webapp-manager* xapps-common* xed* xed-dbg* xfsprogs* xorg*
xreader* xreader-dbg* xserver-xorg* xviewer* xviewer-dbg* xviewer-plugins* yelp* youtube-dl*
The following NEW packages will be installed:
libutempter0 xterm
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
mintsources python3-apt (due to mintsources) python3-gi (due to mintsources) python3-gi-cairo (due to mintsources) python3-pycurl (due to mintsources)
python3-requests (due to mintsources) mint-common (due to mintsources) gir1.2-xapp-1.0 (due to mintsources) lsb-release (due to mintsources)
0 upgraded, 2 newly installed, 222 to remove and 7 not upgraded.
Need to get 773 kB of archives.
After this operation, 512 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] ^C
现代 linux 桌面主要使用 python 构建。您可以删除 python,但您也可以删除桌面。没有办法。你也不能在不拆除房子的情况下拆除地基。