Product SiteDocumentation Site

6.11.2. Usage examples

Create local repo with yum install
# yum install zziplib-devel
...
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
---> Package zziplib-devel.x86_64 0:0.13.49-8.fc12 set to be installed
--> Processing Dependency: zziplib = 0.13.49-8.fc12 for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Processing Dependency: SDL-devel for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Processing Dependency: libzzipfseeko-0.so.13()(64bit) for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Processing Dependency: libzzip-0.so.13()(64bit) for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Processing Dependency: libzzipmmapped-0.so.13()(64bit) for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Processing Dependency: libzzipwrap-0.so.13()(64bit) for package: zziplib-devel-0.13.49-8.fc12.x86_64
--> Running transaction check
---> Package SDL-devel.x86_64 0:1.2.14-8.fc14 set to be installed
---> Package zziplib.x86_64 0:0.13.49-8.fc12 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                                 Arch                             Version                                     Repository                        Size
=============================================================================================================================================================
Installing:
 zziplib-devel                           x86_64                           0.13.49-8.fc12                              fedora                           126 k
Installing for dependencies:
 SDL-devel                               x86_64                           1.2.14-8.fc14                               fedora                           362 k
 zziplib                                 x86_64                           0.13.49-8.fc12                              fedora                            64 k

Transaction Summary
=============================================================================================================================================================
Install       3 Package(s)

Total download size: 552 k
Installed size: 1.9 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 552 k
(1/3): SDL-devel-1.2.14-8.fc14.x86_64.rpm                                                                                             | 362 kB     00:03     
(2/3): zziplib-0.13.49-8.fc12.x86_64.rpm                                                                                              |  64 kB     00:00     
(3/3): zziplib-devel-0.13.49-8.fc12.x86_64.rpm                                                                                        | 126 kB     00:01     
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                         66 kB/s | 552 kB     00:08     
Previous repo file missing: 
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : zziplib-0.13.49-8.fc12.x86_64                                                                                                         1/3 
  Installing     : SDL-devel-1.2.14-8.fc14.x86_64                                                                                                        2/3 
  Installing     : zziplib-devel-0.13.49-8.fc12.x86_64                                                                                                   3/3 

Installed:
  zziplib-devel.x86_64 0:0.13.49-8.fc12                                                                                                                      

Dependency Installed:
  SDL-devel.x86_64 0:1.2.14-8.fc14                                              zziplib.x86_64 0:0.13.49-8.fc12                                             

Complete!
Removal and reinstallation
# yum remove SDL-devel
...
Running Transaction
  Erasing     : zziplib-devel-0.13.49-8.fc12.x86_64                   1/2 
  Erasing     : SDL-devel-1.2.14-8.fc13.x86_64                        2/2 

Erased:
  SDL-devel.x86_64 0:1.2.14-8.fc13                                           

Dependencie(s) erased:
  zziplib-devel.x86_64 0:0.13.49-8.fc12                                      

Complete!
# yum install SDL-devel
Loaded plugins::aliases, appmarket, auto-update-debuginfo,
                    : downloadonly, filter-data, keys, list-data, local,
                    : presto, verify
_local                                                | 3.0 kB     00:00 ... 
_local/primary_db                                     | 4.0 kB     00:00 ... 
rubyera                                               | 3.2 kB     00:00 ... 
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package SDL-devel.x86_64 0:1.2.14-8.fc13 set to be installed

Dependencies Resolved

=============================================================================
Package                   Arch   Version        Repository Size
=============================================================================
Installing:
 SDL-devel         x86_64         1.2.14-8.fc13         _local         362 k

Transaction Summary
=============================================================================
Install       1 Package(s)

Total download size: 362 k
Is this ok [y/N]:
Note that you do not need network connectivity to access the previously installed packages and that the repository in use is _local. Also note that this local repository will have all packages installed without distinction of its source repository, it is not a mirror of a particular repository and you can clean your cache without affecting the contents of this repository.