Skip to main content

yum autoremove

English

Yum has autoremove feature since 2010 but there is a simple command to do so:
yum autoremove
Here is quick example below.

Français

Yum a l'abilit&eacut; d'"autoremove" depuis 2010 mais il existe une commande plus simple sur la version recente 3.4.3:
yum autoremove
Voici un exemple ci-dessous
 
$ su -c "yum autoremove" 
Loaded plugins: langpacks, presto, refresh-packagekit 
Resolving Dependencies --> 
Running transaction check ---> 
Package gnokii.x86_64 0:0.6.31-4.fc18 will be erased ---> 
Package net-snmp.x86_64 1:5.7.2-5.fc18.1 will be erased --> 
Finished Dependency Resolution --> 
Finding unneeded leftover dependencies ---> 
Marking lm_sensors-libs to be removed - no longer needed by net-snmp ---> 
Marking net-snmp-agent-libs to be removed - no longer needed by net-snmp 
Found and removing 2 unneeded dependencies --> 
Running transaction check ---> 
Package lm_sensors-libs.x86_64 0:3.3.2-5.fc18 will be erased ---> 
Package net-snmp-agent-libs.x86_64 1:5.7.2-5.fc18.1 will be erased --> 
Finished Dependency Resolution Dependencies Resolved ================================================================================ 
Package Arch Version Repository Size ================================================================================ 
Removing: 
gnokii x86_64 0.6.31-4.fc18 @updates 2.0 M 
net-snmp x86_64 1:5.7.2-5.fc18.1 @updates 874 k 
Removing for dependencies: 
lm_sensors-libs x86_64 3.3.2-5.fc18 @fedora 60 k 
net-snmp-agent-libs x86_64 1:5.7.2-5.fc18.1 @updates 2.0 M 

Transaction Summary
================================================================================ 
Remove 2 Packages (+2 Dependent packages) 
Installed size: 4.9 M 
Is this ok [y/N]: y 

Downloading Packages: 
Running Transaction Check 
Running Transaction 
Test Transaction 
Test Succeeded 
Running Transaction 
Erasing : 1:net-snmp-5.7.2-5.fc18.1.x86_64 1/4 
Erasing : 1:net-snmp-agent-libs-5.7.2-5.fc18.1.x86_64 2/4 
Erasing : lm_sensors-libs-3.3.2-5.fc18.x86_64 3/4 
Erasing : gnokii-0.6.31-4.fc18.x86_64 4/4 
Verifying : 1:net-snmp-agent-libs-5.7.2-5.fc18.1.x86_64 1/4 
Verifying : lm_sensors-libs-3.3.2-5.fc18.x86_64 2/4 
Verifying : 1:net-snmp-5.7.2-5.fc18.1.x86_64 3/4 
Verifying : gnokii-0.6.31-4.fc18.x86_64 4/4 

Removed: 
gnokii.x86_64 0:0.6.31-4.fc18 
net-snmp.x86_64 1:5.7.2-5.fc18.1 

Dependency Removed: 
lm_sensors-libs.x86_64 0:3.3.2-5.fc18 
net-snmp-agent-libs.x86_64 1:5.7.2-5.fc18.1 
Complete



$ yum --version
3.4.3
  Installed: rpm-4.10.3.1-1.fc18.x86_64 at 2013-02-10 20:58
  Built    : Fedora Project at 2013-02-06 09:54
  Committed: Panu Matilainen at 2013-02-06

  Installed: yum-3.4.3-53.fc18.noarch at 2013-04-06 19:25
  Built    : Fedora Project at 2013-03-25 14:46
  Committed: Zdenek Pavlas at 2013-03-25

Comments

Unknown said…
Thanks mate for the tip.
Have been rpming the hard way since ages
kparal said…
Thanks a lot. Time to document the command:
https://bugzilla.redhat.com/show_bug.cgi?id=951839

Popular posts from this blog

GNOME extension Screen Autorotate available

 While waiting for a bug fix affecting majority of 2-in-1 laptops running on GNOME Wayland session, gnome-shell-extension-screen-autorotate is now available in Fedora repository and EPEL 9 . Give a try on your device Possibly this extension will get added on the incoming Fedora Design Suite 39 as default for the owners of convertible laptops.

Summary of echo-icon-theme report on Virtual FUDCon

It was my first even conference on Virtual FUDCon which greatly saved time and money. In summary, echo-icon-theme will not be ready for Fedora 8 given the time constrains. Its guideline needs a rewrite started by Martin Sourada. The icons are now residing on echo-icon-theme repository which facilitates the access for contributors looking to add/update the icons. It also means the wiki page for EchoDevelopment will no longer upload icons and will serve as reference. The mouse cursors are not in the repository yet but will be available shortly. Mairin, Fedora Artwork team leader, suggested to use Tango guideline for icons smaller or equal than 24x24 while keeping the isometric view for 32x32 and above. Demitri Glezos thanked the team for the use of icons on his Transifex project . The set of icons is roughly 40 percent complete and users of other desktop environment like KDE are encouraged to test them and provide ticket to track issues. Be in mind the echo-icon-theme division tea

Using AMD RX Vega driver OpenCL on Fedora 29

The Raven Ridge APU is very capable processor to handle OpenCL inside some applications like Blender, Darktable and Gimp. Unfortunately, the current implementation from Mesa, clover, stuck to 1.3, is not supported. AMD released their driver 18.40 with OpenCL2.0+ targeting only Red Hat Enterprise Linux/Cent OS 6.10 and 7.5 in addition of Ubuntu LTS. The good new is the former rpm format can be used on Fedora. The graphical part of Raven Ridge is Vega 8, basically a cut-down of Vega56 or Vega64 meaning choosing either driver for RX Vega . The instruction is provided for extracting the rpm files but here is  some requirements for OpenCL: kernel-devel (provided by Fedora repository) amdgpu-dkms dkms libopencl-amdgpu-pro opencl-amdgpu-pro-icd Once done, applications needing OpenCL will automatically detect the driver located on /opt/amdgpu/lib64 . Blender will list as unknown AMD GPU and Darktable will enable it. OpenCL from official AMD driver enabled on Darktable Ra