User Tools

Site Tools


mywiki:linux:yumlocaliso

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:linux:yumlocaliso [2014/11/04 11:41] shaoguohmywiki:linux:yumlocaliso [2022/04/02 17:29] (current) – external edit 127.0.0.1
Line 25: Line 25:
 </file> </file>
  
-====== Test ====== +====== Test ====== 
 +#yum repolist all
  
-**yum repolist all**+Its print log is like below:
  
-its print log is like below: 
 <file> <file>
 +
 [shaoguoh@localhost yum.repos.d]$ yum repolist all [shaoguoh@localhost yum.repos.d]$ yum repolist all
 Loaded plugins: langpacks, refresh-packagekit Loaded plugins: langpacks, refresh-packagekit
-repo id                                             repo name                                                status +repo id                     repo name                                                status 
-fedora/20/x86_64                                    Fedora 20 - x86_64                                       enabled: 38,597 +fedora/20/x86_64            Fedora 20 - x86_64                                       enabled: 38,597 
-fedora-debuginfo/20/x86_64                          Fedora 20 - x86_64 - Debug                               disabled +fedora-debuginfo/20/x86_64  Fedora 20 - x86_64 - Debug                               disabled 
-fedora-source/20/x86_64                             Fedora 20 - Source                                       disabled +fedora-source/20/x86_64     Fedora 20 - Source                                       disabled 
-local-repo                                          'local repo based on Fedora 20 DVD ISO                 enabled:  4,071 +</file> 
-updates/20/x86_64                                   Fedora 20 - x86_64 - Updates                             enabled: 20,178 + 
-updates-debuginfo/20/x86_64                         Fedora 20 - x86_64 - Updates - Debug                     disabled +local-repo                local repo based on Fedora 20 DVD ISO                 enabled:  4,071 
-updates-source/20/x86_64                            Fedora 20 - Updates Source                               disabled + 
-updates-testing/20/x86_64                           Fedora 20 - x86_64 - Test Updates                        disabled +<file> 
-updates-testing-debuginfo/20/x86_64                 Fedora 20 - x86_64 - Test Updates Debug                  disabled + 
-updates-testing-source/20/x86_64                    Fedora 20 - Test Updates Source                          disabled+updates/20/x86_64           Fedora 20 - x86_64 - Updates                             enabled: 20,178 
 +updates-debuginfo/20/x86_64 Fedora 20 - x86_64 - Updates - Debug                     disabled 
 +updates-source/20/x86_64    Fedora 20 - Updates Source                               disabled 
 +updates-testing/20/x86_64   Fedora 20 - x86_64 - Test Updates                        disabled 
 +updates-testing-debuginfo/20/x86_64 Fedora 20 - x86_64 - Test Updates Debug          disabled 
 +updates-testing-source/20/x86_64    Fedora 20 - Test Updates Source                disabled
 repolist: 62,846 repolist: 62,846
 +</file>
  
 +
 +# yum install package-name
 +
 +<file>
 + sudo yum install tftp
 +Loaded plugins: langpacks, refresh-packagekit
 </file> </file>
  
 +local-repo                                                 | 3.6 kB  00:00:00
  
 +<file>
 +Resolving Dependencies
 +--> Running transaction check
 +---> Package tftp.x86_64 0:5.2-10.fc20 will be installed
 +--> Finished Dependency Resolution
  
-# yum install package-name+Dependencies Resolved 
 + 
 +============================================================================================================================ 
 + Package                   Arch                        Version                            Repository                   Size 
 +============================================================================================================================ 
 +Installing: 
 + tftp                      x86_64                      5.2-10.fc20                        fedora                       36 k 
 + 
 +Transaction Summary 
 +============================================================================================================================ 
 +Install  1 Package 
 + 
 +</file>
mywiki/linux/yumlocaliso.1415072494.txt.gz · Last modified: (external edit)