Can I remove anaconda installer related packages after installation?

I just noticed that the recent dnf update updated a few anaconda related packages. Now that I’ve already installed my new F30 system, can these be removed? Is there a list of packages that are in the live-media that users can remove after they’ve finished installing their new systems?

rpm -qa \*anaconda\*
anaconda-gui-30.25.6-2.fc30.x86_64
anaconda-widgets-30.25.6-2.fc30.x86_64
anaconda-live-30.25.6-2.fc30.x86_64
anaconda-user-help-26.1-9.fc30.noarch
anaconda-tui-30.25.6-2.fc30.x86_64
libreport-anaconda-2.10.0-3.fc30.x86_64
anaconda-install-env-deps-30.25.6-2.fc30.x86_64
anaconda-core-30.25.6-2.fc30.x86_64

AFAIK, yes, they can be removed. Currently Fedora doesn’t do almost any package cleanups after live media installation.

And, unfortunately, I don’t think that there is such a list.

In addition to packages, there is at least one more thing to remove: a few initd services which are used in the live system (and maybe the first boot after installation). You can find them via chkconfig.

2 Likes

Yeah, they can be removed. The Live install method works by copying the actual Live contents to the target system, and of course Anaconda has to be part of those contents so you can run it and do the install. If space is at a premium, you can remove them.

4 Likes

Yes, is only a installer. But maybe some day we can to see alternatives as Calamares as a option and the user choice…

I see similar behavior on RHEL. If one removes the “gnome-boxes” package and then runs # yum autoremove, a number of anaconda and similar packages are cleaned up/removed. It has never been an issue in my experience on RHEL, nor Fedora when doing the same.

There is a discussion about reducing the number of packages installed and cleaning up after doing so on the devel mailing list.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/UFGNO5MTPCLEK5B5RCJGGZUFTZ7JTWI5/

2 Likes

sudo dnf remove anaconda\*:

  anaconda-core-30.25.6-2.fc30.x86_64          anaconda-gui-30.25.6-2.fc30.x86_64            anaconda-install-env-deps-30.25.6-2.fc30.x86_64   anaconda-live-30.25.6-2.fc30.x86_64
  anaconda-tui-30.25.6-2.fc30.x86_64           anaconda-user-help-26.1-9.fc30.noarch         anaconda-widgets-30.25.6-2.fc30.x86_64            NetworkManager-team-1:1.16.0-1.fc30.x86_64
  bcache-tools-1.0.8-15.fc30.x86_64            blivet-data-1:3.1.3-3.fc30.noarch             blivet-gui-runtime-2.1.10-4.fc30.noarch           daxctl-libs-64.1-1.fc30.x86_64
  dbus-daemon-1:1.12.12-7.fc30.x86_64          gcc-gdb-plugin-9.0.1-0.10.fc30.x86_64         gdb-8.2.91.20190424-24.fc30.x86_64                isomd5sum-1:1.2.3-5.fc30.x86_64
  keybinder3-0.3.2-6.fc30.x86_64               langtable-data-0.0.42-1.fc30.noarch           libblockdev-btrfs-2.21-3.fc30.x86_64              libblockdev-dm-2.21-3.fc30.x86_64
  libblockdev-kbd-2.21-3.fc30.x86_64           libblockdev-lvm-2.21-3.fc30.x86_64            libblockdev-mpath-2.21-3.fc30.x86_64              libblockdev-nvdimm-2.21-3.fc30.x86_64
  libblockdev-plugins-all-2.21-3.fc30.x86_64   libblockdev-vdo-2.21-3.fc30.x86_64            libreport-anaconda-2.10.0-3.fc30.x86_64           libtimezonemap-0.4.5.1-5.fc30.x86_64
  lxpolkit-0.5.4-1.fc30.x86_64                 ndctl-64.1-1.fc30.x86_64                      ndctl-libs-64.1-1.fc30.x86_64                     python3-blivet-1:3.1.3-3.fc30.noarch
  python3-blockdev-2.21-3.fc30.x86_64          python3-bytesize-1.4-2.fc30.x86_64            python3-coverage-4.5.1-4.fc30.x86_64              python3-kickstart-3.20-2.fc30.noarch
  python3-langtable-0.0.42-1.fc30.noarch       python3-meh-0.47-2.fc30.noarch                python3-meh-gui-0.47-2.fc30.noarch                python3-ntplib-0.3.3-14.fc30.noarch
  python3-ordered-set-2.0.2-8.fc30.noarch      python3-pid-2.2.3-1.fc30.noarch               python3-productmd-1.21-1.fc30.noarch              python3-pwquality-1.4.0-12.fc30.x86_64
  python3-pydbus-0.6.0-8.fc30.noarch           python3-pyparted-1:3.11.2-1.fc30.x86_64       python3-pyudev-0.21.0-10.fc30.noarch              python3-simpleline-1.4-2.fc30.noarch
  tigervnc-license-1.9.0-4.fc30.noarch         tigervnc-server-minimal-1.9.0-4.fc30.x86_64   udisks2-iscsi-2.8.2-1.fc30.x86_64                 unique-1.1.6-22.fc30.x86_64

Looks quite OK.

3 Likes

I think I’ll leave mdadm even though I don’t use RAID:

sudo dnf remove mdadm
Dependencies resolved.
==============================================================================================================================================================================================
 Package                                                        Architecture               Version                                                 Repository                            Size
==============================================================================================================================================================================================
Removing:
 mdadm                                                          x86_64                     4.1-rc2.0.3.fc30                                        @updates-testing                     1.1 M
Removing dependent packages:
 evince-nautilus                                                x86_64                     3.32.0-1.fc30                                           @anaconda                             26 k
 gedit                                                          x86_64                     2:3.32.0-1.fc30                                         @anaconda                             14 M
 gnome-boxes                                                    x86_64                     3.32.0.2-2.fc30.1                                       @updates-testing                     5.9 M
 gnome-classic-session                                          noarch                     3.32.1-1.fc30                                           @updates-testing                     199 k
 gnome-disk-utility                                             x86_64                     3.32.1-2.fc30                                           @updates-testing                     6.2 M
 gnome-photos                                                   x86_64                     3.32.0-1.fc30                                           @updates-testing                     3.8 M
 gvfs-afp                                                       x86_64                     1.40.1-2.fc30                                           @updates-testing                     289 k
 gvfs-archive                                                   x86_64                     1.40.1-2.fc30                                           @updates-testing                      46 k
 gvfs-fuse                                                      x86_64                     1.40.1-2.fc30                                           @updates-testing                      48 k
 gvfs-goa                                                       x86_64                     1.40.1-2.fc30                                           @updates-testing                     205 k
 gvfs-gphoto2                                                   x86_64                     1.40.1-2.fc30                                           @updates-testing                     212 k
 gvfs-mtp                                                       x86_64                     1.40.1-2.fc30                                           @updates-testing                     212 k
 gvfs-smb                                                       x86_64                     1.40.1-2.fc30                                           @updates-testing                     155 k
 rhythmbox                                                      x86_64                     3.4.3-3.fc30                                            @anaconda                             14 M
 totem                                                          x86_64                     1:3.32.0-1.fc30                                         @anaconda                            6.2 M
 tracker-miners                                                 x86_64                     2.2.1-1.fc30                                            @anaconda                            2.8 M
Removing unused dependencies:
 LibRaw                                                         x86_64                     0.19.2-3.fc30                                           @anaconda                            2.0 M
 babl                                                           x86_64                     0.1.62-1.fc30                                           @anaconda                            1.0 M
 brasero-libs                                                   x86_64                     3.12.2-8.fc30                                           @anaconda                            1.1 M
 capstone                                                       x86_64                     4.0.1-3.fc30                                            @anaconda                            7.7 M
 corosynclib                                                    x86_64                     3.0.1-2.fc30                                            @anaconda                            161 k
 cyrus-sasl                                                     x86_64                     2.1.27-0.6rc7.fc30                                      @anaconda                            205 k
 deja-dup-nautilus                                              x86_64                     40.1-1.fc30                                             @updates-testing                      26 k
 dleyna-connector-dbus                                          x86_64                     0.3.0-4.fc30                                            @anaconda                             49 k
 dleyna-core                                                    x86_64                     0.6.0-4.fc30                                            @anaconda                             80 k
 dleyna-renderer                                                x86_64                     0.6.0-4.fc30                                            @anaconda                            176 k
 dleyna-server                                                  x86_64                     0.6.0-4.fc30                                            @anaconda                            248 k
 edk2-ovmf                                                      noarch                     20190308stable-1.fc30                                   @updates-testing                     6.8 M
 freerdp-libs                                                   x86_64                     2:2.0.0-49.20190304git435872b.fc30                      @updates-testing                     3.0 M
 gdisk                                                          x86_64                     1.0.4-4.fc30                                            @anaconda                            962 k
 gegl04                                                         x86_64                     0.4.14-1.fc30                                           @updates-testing                     7.4 M
 genisoimage                                                    x86_64                     1.1.11-41.fc30                                          @anaconda                            1.4 M
 glusterfs                                                      x86_64                     6.1-1.fc30                                              @updates-testing                     2.9 M
 glusterfs-api                                                  x86_64                     6.1-1.fc30                                              @updates-testing                     233 k
 glusterfs-cli                                                  x86_64                     6.1-1.fc30                                              @updates-testing                     546 k
 glusterfs-client-xlators                                       x86_64                     6.1-1.fc30                                              @updates-testing                     4.2 M
 glusterfs-fuse                                                 x86_64                     6.1-1.fc30                                              @updates-testing                     573 k
 glusterfs-libs                                                 x86_64                     6.1-1.fc30                                              @updates-testing                     1.9 M
 gnome-autoar                                                   x86_64                     0.2.3-3.fc30                                            @anaconda                            167 k
 gnome-online-miners                                            x86_64                     3.30.0-2.fc30                                           @anaconda                            442 k
 gnome-shell-extension-apps-menu                                noarch                     3.32.1-1.fc30                                           @updates-testing                      26 k
 gnome-shell-extension-launch-new-instance                      noarch                     3.32.1-1.fc30                                           @updates-testing                     1.0 k
 gnome-shell-extension-places-menu                              noarch                     3.32.1-1.fc30                                           @updates-testing                      22 k
 gnome-shell-extension-window-list                              noarch                     3.32.1-1.fc30                                           @updates-testing                      50 k
 grilo-plugins                                                  x86_64                     0.3.8-2.fc30                                            @anaconda                            2.6 M
 gtk-vnc2                                                       x86_64                     0.9.0-5.fc30                                            @anaconda                            227 k
 gvfs                                                           x86_64                     1.40.1-2.fc30                                           @updates-testing                     1.5 M
 gvfs-afc                                                       x86_64                     1.40.1-2.fc30                                           @updates-testing                     197 k
 gvfs-client                                                    x86_64                     1.40.1-2.fc30                                           @updates-testing                     4.0 M
 gvnc                                                           x86_64                     0.9.0-5.fc30                                            @anaconda                            277 k
 ipxe-roms-qemu                                                 noarch                     20190125-1.git36a4c85f.fc30                             @anaconda                            2.5 M
 libatasmart                                                    x86_64                     0.19-16.fc30                                            @anaconda                            125 k
 libblockdev                                                    x86_64                     2.21-3.fc30                                             @updates-testing                     286 k
 libblockdev-crypto                                             x86_64                     2.21-3.fc30                                             @updates-testing                      48 k
 libblockdev-fs                                                 x86_64                     2.21-3.fc30                                             @updates-testing                      75 k
 libblockdev-loop                                               x86_64                     2.21-3.fc30                                             @updates-testing                      16 k
 libblockdev-mdraid                                             x86_64                     2.21-3.fc30                                             @updates-testing                      38 k
 libblockdev-part                                               x86_64                     2.21-3.fc30                                             @updates-testing                      46 k
 libblockdev-swap                                               x86_64                     2.21-3.fc30                                             @updates-testing                      26 k
 libblockdev-utils                                              x86_64                     2.21-3.fc30                                             @updates-testing                      64 k
 libbytesize                                                    x86_64                     1.4-2.fc30                                              @anaconda                            116 k
 libcacard                                                      x86_64                     3:2.6.1-2.fc30                                          @anaconda                            130 k
 libcue                                                         x86_64                     2.2.1-1.fc30                                            @updates-testing                      99 k
 libdmapsharing                                                 x86_64                     2.9.37-8.fc30                                           @anaconda                            399 k
 libfdt                                                         x86_64                     1.4.7-3.fc30                                            @anaconda                             72 k
 libgovirt                                                      x86_64                     0.3.4-9.fc30                                            @anaconda                            245 k
 libgpod                                                        x86_64                     0.8.3-27.fc30                                           @anaconda                            995 k
 libgrss                                                        x86_64                     0.7.0-8.fc30                                            @anaconda                            217 k
 libgsf                                                         x86_64                     1.14.43-3.fc30                                          @anaconda                            1.0 M
 libibumad                                                      x86_64                     20.1-3.fc30                                             @anaconda                             48 k
 libibverbs                                                     x86_64                     20.1-3.fc30                                             @anaconda                            889 k
 libiptcdata                                                    x86_64                     1.0.5-1.fc30                                            @updates-testing                     186 k
 libiscsi                                                       x86_64                     1.18.0-7.fc30                                           @anaconda                            255 k
 libmtp                                                         x86_64                     1.1.16-2.fc30                                           @anaconda                            824 k
 libosinfo                                                      x86_64                     1.4.0-3.fc30                                            @updates-testing                     987 k
 libpeas-loader-python3                                         x86_64                     1.22.0-10.fc30                                          @anaconda                             37 k
 libphodav                                                      x86_64                     2.2-4.fc30                                              @anaconda                            138 k
 libpmem                                                        x86_64                     1.6-1.fc30                                              @updates-testing                     374 k
 libqb                                                          x86_64                     1.0.3-6.fc30                                            @anaconda                            266 k
 librados2                                                      x86_64                     2:14.2.0-1.fc30                                         @updates-testing                      16 M
 librbd1                                                        x86_64                     2:14.2.0-1.fc30                                         @updates-testing                     7.4 M
 librdmacm                                                      x86_64                     20.1-3.fc30                                             @anaconda                            148 k
 libtomcrypt                                                    x86_64                     1.18.2-3.fc30                                           @koji-override-0                     1.6 M
 libtommath                                                     x86_64                     1.0.1-4.fc29                                            @anaconda                            116 k
 libusal                                                        x86_64                     1.1.11-41.fc30                                          @anaconda                            586 k
 libvirt-daemon                                                 x86_64                     5.1.0-4.fc30                                            @updates-testing                     3.6 M
 libvirt-daemon-config-network                                  x86_64                     5.1.0-4.fc30                                            @updates-testing                     228
 libvirt-daemon-driver-interface                                x86_64                     5.1.0-4.fc30                                            @updates-testing                     289 k
 libvirt-daemon-driver-network                                  x86_64                     5.1.0-4.fc30                                            @updates-testing                     947 k
 libvirt-daemon-driver-nodedev                                  x86_64                     5.1.0-4.fc30                                            @updates-testing                     285 k
 libvirt-daemon-driver-nwfilter                                 x86_64                     5.1.0-4.fc30                                            @updates-testing                     351 k
 libvirt-daemon-driver-qemu                                     x86_64                     5.1.0-4.fc30                                            @updates-testing                     1.9 M
 libvirt-daemon-driver-secret                                   x86_64                     5.1.0-4.fc30                                            @updates-testing                     251 k
 libvirt-daemon-driver-storage                                  x86_64                     5.1.0-4.fc30                                            @updates-testing                       0
 libvirt-daemon-driver-storage-core                             x86_64                     5.1.0-4.fc30                                            @updates-testing                     1.4 M
 libvirt-daemon-driver-storage-disk                             x86_64                     5.1.0-4.fc30                                            @updates-testing                     249 k
 libvirt-daemon-driver-storage-gluster                          x86_64                     5.1.0-4.fc30                                            @updates-testing                     490 k
 libvirt-daemon-driver-storage-iscsi                            x86_64                     5.1.0-4.fc30                                            @updates-testing                     245 k
 libvirt-daemon-driver-storage-iscsi-direct                     x86_64                     5.1.0-4.fc30                                            @updates-testing                     249 k
 libvirt-daemon-driver-storage-logical                          x86_64                     5.1.0-4.fc30                                            @updates-testing                     257 k
 libvirt-daemon-driver-storage-mpath                            x86_64                     5.1.0-4.fc30                                            @updates-testing                     241 k
 libvirt-daemon-driver-storage-rbd                              x86_64                     5.1.0-4.fc30                                            @updates-testing                     265 k
 libvirt-daemon-driver-storage-scsi                             x86_64                     5.1.0-4.fc30                                            @updates-testing                     249 k
 libvirt-daemon-driver-storage-sheepdog                         x86_64                     5.1.0-4.fc30                                            @updates-testing                     241 k
 libvirt-daemon-driver-storage-zfs                              x86_64                     5.1.0-4.fc30                                            @updates-testing                     245 k
 libvirt-daemon-kvm                                             x86_64                     5.1.0-4.fc30                                            @updates-testing                       0
 libvirt-gconfig                                                x86_64                     2.0.0-3.fc30                                            @anaconda                            531 k
 libvirt-glib                                                   x86_64                     2.0.0-3.fc30                                            @anaconda                            284 k
 libvirt-gobject                                                x86_64                     2.0.0-3.fc30                                            @anaconda                            264 k
 libvirt-libs                                                   x86_64                     5.1.0-4.fc30                                            @updates-testing                      22 M
 libwinpr                                                       x86_64                     2:2.0.0-49.20190304git435872b.fc30                      @updates-testing                     1.3 M
 libwsman1                                                      x86_64                     2.6.8-5.fc30                                            @updates-testing                     414 k
 libzapojit                                                     x86_64                     0.0.3-15.fc30                                           @anaconda                            135 k
 lttng-ust                                                      x86_64                     2.10.2-2.fc30                                           @anaconda                            1.2 M
 lzop                                                           x86_64                     1.03-22.fc30                                            @anaconda                            144 k
 media-player-info                                              noarch                     23-4.fc30                                               @anaconda                            181 k
 nautilus                                                       x86_64                     3.32.0-1.fc30                                           @anaconda                             14 M
 netcf-libs                                                     x86_64                     0.2.8-13.fc30                                           @anaconda                            249 k
 numad                                                          x86_64                     0.5-28.20150602git.fc30                                 @anaconda                             63 k
 osinfo-db                                                      noarch                     20190319-1.fc30                                         @updates-testing                     1.4 M
 osinfo-db-tools                                                x86_64                     1.4.0-2.fc30                                            @updates-testing                     261 k
 python3-beaker                                                 noarch                     1.10.0-3.fc30                                           @koji-override-0                     392 k
 python3-crypto                                                 x86_64                     2.6.1-25.fc30                                           @koji-override-0                     2.1 M
 python3-mako                                                   noarch                     1.0.9-1.fc30                                            @updates-testing                     540 k
 python3-paste                                                  noarch                     2.0.3-9.fc30                                            @koji-override-0                     2.6 M
 python3-tempita                                                noarch                     0.5.1-20.fc29                                           @koji-override-0                     112 k
 qemu-audio-alsa                                                x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      36 k
 qemu-audio-oss                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      27 k
 qemu-audio-pa                                                  x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      27 k
 qemu-audio-sdl                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      19 k
 qemu-block-curl                                                x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      34 k
 qemu-block-dmg                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      18 k
 qemu-block-iscsi                                               x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      49 k
 qemu-block-nfs                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      39 k
 qemu-block-rbd                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      35 k
 qemu-block-ssh                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      39 k
 qemu-common                                                    x86_64                     2:3.1.0-7.fc30                                          @updates-testing                     4.7 M
 qemu-img                                                       x86_64                     2:3.1.0-7.fc30                                          @updates-testing                     6.2 M
 qemu-kvm                                                       x86_64                     2:3.1.0-7.fc30                                          @updates-testing                       0
 qemu-system-x86                                                x86_64                     2:3.1.0-7.fc30                                          @updates-testing                       0
 qemu-system-x86-core                                           x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      29 M
 qemu-ui-curses                                                 x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      42 k
 qemu-ui-gtk                                                    x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      82 k
 qemu-ui-sdl                                                    x86_64                     2:3.1.0-7.fc30                                          @updates-testing                      54 k
 radvd                                                          x86_64                     2.17-19.fc30                                            @anaconda                            235 k
 rdma-core                                                      x86_64                     20.1-3.fc30                                             @anaconda                            118 k
 seabios-bin                                                    noarch                     1.12.0-2.fc30                                           @anaconda                            785 k
 seavgabios-bin                                                 noarch                     1.12.0-2.fc30                                           @anaconda                            228 k
 sg3_utils-libs                                                 x86_64                     1.42-7.fc30                                             @anaconda                            217 k
 sgabios-bin                                                    noarch                     1:0.20180715git-2.fc30                                  @anaconda                            4.0 k
 sheepdog                                                       x86_64                     1.0.1-9.fc30                                            @anaconda                            1.0 M
 spice-glib                                                     x86_64                     0.36-4.fc30                                             @updates-testing                     1.3 M
 spice-gtk3                                                     x86_64                     0.36-4.fc30                                             @updates-testing                     303 k
 spice-server                                                   x86_64                     0.14.1-3.fc30                                           @anaconda                            1.3 M
 suitesparse                                                    x86_64                     4.4.6-18.fc30                                           @anaconda                            4.6 M
 tbb                                                            x86_64                     2019.5-1.fc30                                           @updates-testing                     587 k
 udisks2                                                        x86_64                     2.8.2-1.fc30                                            @anaconda                            2.8 M
 usbmuxd                                                        x86_64                     1.1.0-15.fc30                                           @anaconda                            153 k
 usbredir                                                       x86_64                     0.8.0-2.fc30                                            @anaconda                            116 k
 virglrenderer                                                  x86_64                     0.7.0-2.20180919git402c22886.fc30                       @anaconda                            2.8 M
 volume_key-libs                                                x86_64                     0.3.12-3.fc30                                           @anaconda                            718 k
 zfs-fuse                                                       x86_64                     0.7.2.2-11.fc30                                         @updates-testing                     6.0 M
2 Likes

Yeah, wow. I’ve seen that before.

I wish that it worked in a modular sense; if you have a supporting package, great, you can use the additional functionality, if not, also fine. Actually, I think that’s what dnf suggests, recommends and weak dependencies are about.

But I get that with regards to software, if it’s linked against a library, the library is going to have to be there.

2 Likes