Linux/Paketverwaltung: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
'''Linux-Paketverwaltung''' - | '''Linux-Paketverwaltung''' - apt - yum - zypper | ||
== Beschreibung == | == Beschreibung == | ||
== Anwendung == | == Anwendung == | ||
{| class="wikitable" | {| class="wikitable options" | ||
|- | |- | ||
! | ! !! apt (deb) !! yum (rpm) !! zypper (rpm) | ||
! | |||
! | |||
! | |||
|- | |- | ||
| | | Aus Repositories installieren || apt-get install ''Paket'' ||yum install ''Paket'' ||zypper install ''Paket'' | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | Paket aktualisieren || apt-get install ''Paket'' ||yum update ''Paket'' ||zypper update -t package ''Paket'' | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | Paket entfernen || apt-get remove ''Paket'' || yum erase ''Paket'' || zypper remove ''Paket'' | ||
| | |||
| | |||
| | |||
|- | |- | ||
| Installation einer Paketdatei || dpkg -i ''Paket'' ||yum localinstall ''Paket'' || zypper install ''Paket'' | |||
|} | |} | ||
===Pakete suchen=== | === Pakete suchen === | ||
{| class="wikitable" | {| class="wikitable options" | ||
|- | |- | ||
! !! apt (deb) !! yum (rpm) !! zypper (rpm) | |||
|- | |- | ||
| | | Paket-Name || apt-cache search ''Paket'' || yum list ''Paket'' || zypper search ''Paket'' | ||
| | |||
| | |||
|- | |- | ||
| | | Suchbegriffe || apt-cache ''search pattern'' || yum search ''pattern'' || zypper search -t ''pattern'' | ||
| | |||
| | |||
|- | |- | ||
| | | Datei-Namen || apt-file ''search path'' || yum provides ''file'' || zypper wp ''file'' | ||
| | |||
|- | |- | ||
| | | Installierte Pakete auflisten || dpkg -l || rpm -qa || zypper search -is | ||
| | |||
| | |||
| | |||
|- | |- | ||
| Paket-Informationen anzeigen || apt-cache show ''Paket'' || yum info ''Paket'' || zypper info ''Paket'' | |||
|} | |} | ||
{| class="wikitable" | === System-Update === | ||
{| class="wikitable options" | |||
|- | |- | ||
! | ! !! apt (deb) !! yum (rpm) !! zypper (rpm) | ||
! | |||
! | |||
! | |||
|- | |- | ||
| | | Paketliste aktualisieren || apt-get update || yum check-update || zypper refresh | ||
| | |||
| | |||
|- | |- | ||
| System-Update || apt-get upgrade ||yum update || zypper update | |||
|} | |} | ||
=== Repositories verwalten === | |||
{| class="wikitable" | {| class="wikitable options" | ||
|- | |- | ||
! | ! !! apt (deb) !! yum (rpm) !! zypper (rpm) | ||
! | |||
! | |||
! | |||
|- | |- | ||
| | | List repositories || cat /etc/apt/sources.list || yum repolist || zypper repos | ||
| | |||
| | |||
| | |||
|- | |- | ||
| | | Add repository || edit /etc/apt/sources.list || add to /etc/yum.repos.d/ || zypper addrepo URI name | ||
| | |||
| | |||
| | |||
|- | |- | ||
| Remove repository || edit /etc/apt/sources.list || remove from /etc/yum.repos.d/ || zypper removerepo name | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Zeile 120: | Zeile 60: | ||
{{Special:PrefixIndex/{{BASEPAGENAME}}}} | {{Special:PrefixIndex/{{BASEPAGENAME}}}} | ||
==== Links ==== | ==== Links ==== | ||
===== Weblinks ===== | ===== Weblinks ===== | ||
[[Kategorie:Linux/Software/Verwaltung]] | [[Kategorie:Linux/Software/Verwaltung]] | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 6. September 2024, 08:06 Uhr
Linux-Paketverwaltung - apt - yum - zypper
Beschreibung
Anwendung
apt (deb) | yum (rpm) | zypper (rpm) | |
---|---|---|---|
Aus Repositories installieren | apt-get install Paket | yum install Paket | zypper install Paket |
Paket aktualisieren | apt-get install Paket | yum update Paket | zypper update -t package Paket |
Paket entfernen | apt-get remove Paket | yum erase Paket | zypper remove Paket |
Installation einer Paketdatei | dpkg -i Paket | yum localinstall Paket | zypper install Paket |
Pakete suchen
apt (deb) | yum (rpm) | zypper (rpm) | |
---|---|---|---|
Paket-Name | apt-cache search Paket | yum list Paket | zypper search Paket |
Suchbegriffe | apt-cache search pattern | yum search pattern | zypper search -t pattern |
Datei-Namen | apt-file search path | yum provides file | zypper wp file |
Installierte Pakete auflisten | dpkg -l | rpm -qa | zypper search -is |
Paket-Informationen anzeigen | apt-cache show Paket | yum info Paket | zypper info Paket |
System-Update
apt (deb) | yum (rpm) | zypper (rpm) | |
---|---|---|---|
Paketliste aktualisieren | apt-get update | yum check-update | zypper refresh |
System-Update | apt-get upgrade | yum update | zypper update |
Repositories verwalten
apt (deb) | yum (rpm) | zypper (rpm) | |
---|---|---|---|
List repositories | cat /etc/apt/sources.list | yum repolist | zypper repos |
Add repository | edit /etc/apt/sources.list | add to /etc/yum.repos.d/ | zypper addrepo URI name |
Remove repository | edit /etc/apt/sources.list | remove from /etc/yum.repos.d/ | zypper removerepo name |