Suse yast的使用及搭建源

Yast的使用

suse中有自己包管理体系,它使用yast。自带的一个图形的操作软件。

 #yast--help

 Usage: /sbin/yast [OPTIONS] [MODULE] [modulespecific parameters]

 

OPTIONS:

       -h, --help      this message

       -l, --list      list all availablemodules

       -g, --geometry  default windowsize (qt only)

       -s, --style     widget style (qtonly)

       --noborder      no window managerborder for main window

       --fullscreen    use full screen

 

exceptional case for installing packages:

/sbin/yast OPTION <package>[<package> [...]]

 

OPTION:

       -i, --install   install rpmpackage

 

<package> can be a single shortpackage name (e.g. gvim)

which will be installed with dependencychecking, or the full

path to an rpm package (e.g /tmp/gvim.rpm)which will be

installed without dependency checking

 

安装gcc

#yast -i gcc

 

搭建yast的源

放入CD或者挂载ISO:

#mount /dev/cdrom /mnt

# zypper -h

 Options:

       --help, -h              Help

       --version, -V           Output theversion number

       --verbose, -v           Increaseverbosity

       --terse, -t             Terseoutput for machine consumption

       --table-style, -s       Tablestyle (integer)

       --rug-compatible, -r    Turn onrug compatibility

       --non-interactive       Don't askanything, use default answers automatically. (under development)

 Commands:

       help                    Help

       shell, sh               Acceptmultiple commands at once

       install, in             Installpackages or resolvables

       remove, rm              Removepackages or resolvables

       search, se              Search forpackages matching a pattern

       service-list, sl        Listservices, also called installation sources

       service-add, sa         Add a newservice

       service-delete, sd      Delete aservice

       service-rename, sr      Rename aservice

       refresh, ref            Refreshall installation sources

       patch-check, pchk       Check forpatches

       patches, pch            Listpatches

       list-updates, lu        Listupdates

       update, up              Updatepackages

       info, if                Show fullinformation for packages

       patch-info              Show fullinformation for patches

 Suse yast的使用及搭建源_第1张图片

这样就yast的源就搭好了

你可能感兴趣的:(Suse yast的使用及搭建源)