Inhaltsverzeichnis

zypper

Repositories

zypper se nmap ... zum Suchen
zypper in nmap ... zum Installieren

Repository hinzufügen

zypper ar -f http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.4 openSUSE:Tools
zypper ar -f http://download.opensuse.org/repositories/home:/cyberorg:/kiwi/openSUSE_11.4 home:cyberorg:kiwi
zypper refresh

Update

zypper lu -t package
zypper up -t package

zypper in -r update kernel-default

rpm Files speichern

[main]
cachedir = /var/cache/zypp
metadatadir = /var/cache/zypp/raw
solvfilesdir = /var/cache/zypp/solv
packagesdir = /var/cache/zypp/packages
configdir = /etc/zypp
reposdir = /etc/zypp/repos.d
zypper se -i java | awk -F\| '/^i/{print$2}' | xargs zypper rm

kernel von upgrades ausschließen

zypper al kernel-default kernel-source

Programm von bestimmten Repo installieren

zypper ls (Packman-Quelle = #2)
zypper ref
zypper in audacity (installiert SUSE Paket inkl. Abhängigkeiten)
zypper rm audacity (SUSE Paket nicht gewünscht)
zypper in -r 2 audacity (Packman Paket installieren)

Repositories Prauni

rm /etc/zypp/repos.d/*.repo
zypper ar http://suse.inode.at/opensuse/distribution/11.4/repo/oss/ oss
zypper ar http://suse.inode.at/opensuse/distribution/11.4/repo/non-oss/ non-oss
zypper ar -f http://packman.inode.at/suse/11.4/ packman
zypper ar -f http://download.opensuse.org/update/11.4/ update
zypper ar -f http://download.opensuse.org/repositories/Education/openSUSE_11.4/ edu
zypper ar -f http://download.opensuse.org/repositories/Kernel:/stable/openSUSE_11.4/ kernel
zypper ar -f http://download.opensuse.org/repositories/GNOME:/STABLE:/2.30/openSUSE_11.4/ gnome230
zypper ar -f http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.4/ libreoffice
zypper ar -f http://download.opensuse.org/repositories/KDE:/Release:/46/openSUSE_11.4/ kde46
zypper ar -f http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_11.4/ qt
zypper ar -f http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard contrib
zypper ar -f http://download.opensuse.org/repositories/mozilla/openSUSE_11.4/ mozilla
zypper --gpg-auto-import-keys ref
zypper dup

zypper --non-interactive --no-gpg-checks in --auto-agree-with-licenses cups-devel

Schema installieren

zypper in -t pattern xfce