close

 


SUSE10P3:~ # cat /etc/issue


Welcome to SUSE Linux Enterprise Server 10 SP3 (x86_64) - Kernel \r (\l).


 


------------ package management zypper 
### .. repos


SUSE10P3:~ # zypper service-add --type YaST dir:///root/Downloads/SLES10_SP3/ SLES-10-SP3


9509 zmd ZENworks Management Daemon is running.


WARNING: this command will not synchronize changes.
Use rug or yast2 for that.
Added Installation Sources:
[x]* SLES-10-SP3 (dir:///root/Downloads/SLES10_SP3/)


### .. repos


SUSE10P3:~ # zypper service-list
# | Enabled | Refresh | Type | Name | URI
--+---------+---------+------+-------------+----------------------------------
1 | Yes | Yes | YaST | SLES-10-SP3 | dir:///root/Downloads/SLES10_SP3/



### .. package
SUSE10P3:~ # zypper search nmap
Restoring system sources...
Parsing metadata for SLES-10-SP3...
S | Catalog | Type | Name | Version | Arch
--+-------------+---------+----------+-----------+-------
i | | package | nmap | 4.20-60 | x86_64
v | SLES-10-SP3 | package | nmap | 4.00-14.2 | x86_64
| SLES-10-SP3 | package | nmap-gtk | 4.00-14.2 | x86_64



SUSE10P3:~ # zypper remove nmap
Restoring system sources...
Parsing metadata for SLES-10-SP3...
Parsing RPM database...
Summary:
<uninstall> [S0:0][package]nmap-4.20-60.x86_64
Continue? [y/n]: y
Removing: [S0:0][package]nmap-4.20-60.x86_64



SUSE10P3:~ # zypper install nmap
Restoring system sources...
Parsing metadata for SLES-10-SP3...
Parsing RPM database...
Summary:
<install> [S1:1][package]nmap-4.00-14.2.x86_64
Continue? [y/n]: y
Downloading: [S1:1][package]nmap-4.00-14.2.x86_64, 680.7 K(2.5 M unpacked)
Installing: [S1:1][package]nmap-4.00-14.2.x86_64



SUSE10P3:~ # zypper search nmap
Restoring system sources...
Parsing metadata for SLES-10-SP3...
S | Catalog | Type | Name | Version | Arch
--+-------------+---------+----------+-----------+-------
i | SLES-10-SP3 | package | nmap | 4.00-14.2 | x86_64
| SLES-10-SP3 | package | nmap-gtk | 4.00-14.2 | x86_64

arrow
arrow
    全站熱搜

    liaofamily 發表在 痞客邦 留言(0) 人氣()