Product SiteDocumentation Site

6.17.2. Usage examples

$ yum remove --remove-leaves couchdb
...
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package couchdb.i586 0:0.10.0-1.fc11 set to be erased
--> Finished Dependency Resolution
removing erlang-R12B-5.7.fc11.i586. It is not required by anything else.      
removing libicu-devel-4.0.1-5.fc11.i586. It is not required by anything else.
removing js-1.70-8.fc11.i586. It is not required by anything else.
removing unixODBC-2.2.14-2.fc11.i586. It is not required by anything else.
--> Running transaction check
---> Package erlang.i586 0:R12B-5.7.fc11 set to be erased
---> Package js.i586 0:1.70-8.fc11 set to be erased
---> Package libicu-devel.i586 0:4.0.1-5.fc11 set to be erased
---> Package unixODBC.i586 0:2.2.14-2.fc11 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved

===========================================================================
 Package           Arch       Version      Repository           Size
===========================================================================
Removing:
 couchdb         i586     0.10.0-1.fc11    installed           1.4 M
 erlang          i586     R12B-5.7.fc11    installed            89 M
 js              i586       1.70-8.fc11    installed           884 k
 libicu-devel    i586      4.0.1-5.fc11    installed           3.0 M
 unixODBC        i586     2.2.14-2.fc11    installed           1.1 M

Transaction Summary
===========================================================================
Remove        5 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]:
Note that this list of packages is exactly the same as when you install and no dependencies are preinstalled. Now compare it with the regular yum remove process:
$ yum remove  couchdb
...
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package couchdb.i586 0:0.10.0-1.fc11 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package         Arch         Version      Repository           Size
============================================================================
Removing:
 couchdb         i586     0.10.0-1.fc11   installed             1.4 M

Transaction Summary
============================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: