问候 Linux 专家;我学习 Ubuntu Linux 已经 2 个月了,我真的很喜欢它。我正在尝试继续学习终端的命令,这是我在卸载软件包时在屏幕上看到的内容。我正在运行命令:“sudo apt-get autoremove --purge pdfsam“以完全删除系统。我运行了两次这个命令以确保它已完成。第二次运行该命令时,我得到了一个很长的软件包列表,我将在下面粘贴。我想知道这些软件包是否安装在系统上,是否只是可以删除的文件,或者其他什么?
sudo apt-get autoremove --purge pdfsam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'pdfsam' is not installed, so not removed
The following packages will be REMOVED:
gcc-4.8-base:i386* gstreamer0.10-plugins-ugly* java-wrappers* kde-l10n-engb*
libapache-pom-java* libasound2:i386* libaudio2:i386* libavahi-client3:iz386*
libavahi-common-data:i386* libavahi-common3:i386* libbcmail-java*
libbcpkix-java* libbcprov-java* libcommons-codec-java*
libcommons-httpclient-java* libcommons-logging-java* libcommons-parent-java*
libcups2:i386* libdom4j-java* libdrm-amdgpu1:i386* libdrm-intel1:i386*
libdrm-nouveau2:i386* libdrm-radeon1:i386* libechonest2.1* libedit2:i386*
libelf1:i386* libexpat1:i386* libffi6:i386* libfontconfig1:i386*
libfreetype6:i386* libftgl2* libgcrypt11:i386*
libgl1-mesa-dri-lts-wily:i386* libgl1-mesa-glx-lts-wily:i386*
libglapi-mesa-lts-wily:i386* libglib2.0-0:i386* libgnuinet-java*
libgnumail-java* libgnutls26:i386* libgpg-error0:i386*
libgssapi-krb5-2:i386* libgstreamer-plugins-base1.0-0:i386*
libgstreamer1.0-0:i386* libice6:i386* libitext-java* libjaxen-java*
libjbig0:i386* libjdom1-java* libjgoodies-common-java*
libjgoodies-looks-java* libjpeg-turbo8:i386* libjpeg8:i386*
libk5crypto3:i386* libkeyutils1:i386* libkrb5-3:i386*
libkrb5support0:i386*
liblastfm1* liblinear-tools* liblinear1* libllvm3.6:i386* liblog4j1.2-java*
liblouis-data* liblouis2* libmysqlclient18:i386* liborc-0.4-0:i386*
libp11-kit0:i386* libpciaccess0:i386* libprojectm2* libqt4-declarative:i386*
libqt4-network:i386* libqt4-opengl:i386* libqt4-script:i386*
libqt4-sql:i386* libqt4-sql-mysql:i386* libqt4-xml:i386*
libqt4-xmlpatterns:i386* libqtcore4:i386* libqtdbus4:i386*
libqtgui4:i386*
libqtwebkit-qmlwebkitplugin:i386* libqtwebkit4:i386* libqxt-core0*
libqxt-gui0* libsm6:i386* libsqlite3-0:i386* libstdc++6:i386*
libtasn1-6:i386* libtiff5:i386* libtxc-dxtn-s2tc0:i386* libx11-6:i386*
libx11-xcb1:i386* libxau6:i386* libxcb-dri2-0:i386* libxcb-dri3-0:i386*
libxcb-glx0:i386* libxcb-present0:i386* libxcb-sync1:i386* libxcb1:i386*
libxdamage1:i386* libxdmcp6:i386* libxerces2-java* libxext6:i386*
libxfixes3:i386* libxi6:i386* libxml-commons-external-java*
libxml-commons-resolver1.1-java* libxml2:i386* libxom-java* libxpp2-java*
libxpp3-java* libxrender1:i386* libxshmfence1:i386* libxslt1.1:i386*
libxt6:i386* libxxf86vm1:i386* mysql-common* nymgo-bin:i386* projectm-data*
python3-brlapi* python3-louis* python3-pyatspi* python3-speechd*
0 upgraded, 0 newly installed, 122 to remove and 0 not upgraded.
After this operation, 199 MB disk space will be freed.
Do you want to continue? [Y/n]
答案1
自动移除和清除
apt-get autoremove
将删除所有不再需要的旧包。
apt-get purge
将删除特定的软件包安装。运行时
apt-get autoremove --purge package
您正在告诉系统删除旧软件包然后卸载软件包。按照书面形式执行命令是完全安全的。