{"id":7779,"date":"2023-09-22T19:48:24","date_gmt":"2023-09-22T17:48:24","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=7779"},"modified":"2023-09-22T19:48:27","modified_gmt":"2023-09-22T17:48:27","slug":"nixos-experimentierfreudiges-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/22\/nixos-experimentierfreudiges-linux\/","title":{"rendered":"NixOS &#8211; Experimentierfreudiges Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">NixOS ist eine Linux-Distribution, die es schon ein paar Jahre gibt. Inzwischen wird aber immer mehr dar\u00fcber gesprochen. Vor allem die Paket-Verwaltung hat es in sich &#8211; sehen wir uns dieses System einmal n\u00e4her an.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">NixOS installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden diese Linux-Distribution unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/nixos.org\/download.html\" target=\"_blank\">NixOS<\/a>\u00a0als ISO-Image zum Download, zur Verf\u00fcgung stehen drei Images &#8211; eines mit KDE Plasma, eines mit GNOME und ein Image ohne grafische Oberfl\u00e4che (hier gilt es am\u00a0Terminal\u00a0zu arbeiten). Nach der Installation lassen sich nat\u00fcrlich weitere \/ andere Desktop-Umgebungen problemlos installieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sie brennen das heruntergeladene ISO-Image bootf\u00e4hig auf eine DVD oder kopieren es bootf\u00e4hig etwa mit\u00a0Etcher\u00a0auf einen USB-Stick und starten den Rechner davon:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1024x576.jpg\" alt=\"\" class=\"wp-image-7780\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Im Bootmen\u00fc navigieren Sie mit den\u00a0<strong><kbd>Pfeiltasten<\/kbd><\/strong>\u00a0(<em>auf \/ ab<\/em>) und mit\u00a0<strong><kbd>Eingabe<\/kbd><\/strong>\u00a0best\u00e4tigen Sie &#8211; grunds\u00e4tzlich sollte der oberste Eintrag zum Ziel f\u00fchren, erst bei Problemen nutzen Sie den zweiten Eintrag zum Starten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-1024x576.jpg\" alt=\"\" class=\"wp-image-7781\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Das System \u00f6ffnet direkt im Live-System automatisch den Installer (<em>hier unter KDE Plasma<\/em>), Sie k\u00f6nnen das Live-System aber nat\u00fcrlich vor der Installation testen. Wie im Bild oben zu sehen &#8211; das System ist sehr schlank, grunds\u00e4tzlich ist nur die Desktop-Umgebung mit den dazugeh\u00f6rigen Anwendungen installiert. Beispielsweise ist keine Office-Suite vorinstalliert, als Webbrowser ist\u00a0<a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/16\/webbrowser-firefox-unter-linux-nutzen-und-optimieren\/\" data-type=\"post\" data-id=\"5557\" target=\"_blank\" rel=\"noreferrer noopener\">Firefox<\/a>\u00a0vorhanden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nun, wir sehen uns das System selbst sp\u00e4ter etwas genauer an &#8211; wir gehen an die Installation, wir w\u00e4hlen die passende Sprache und klicken anschlie\u00dfend auf &#8222;<strong>Weiter<\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-1024x576.jpg\" alt=\"\" class=\"wp-image-7782\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bei aktiver Internet-Verbindung sollte Ihr Standort schon passen, alternativ passen Sie diesen per Mausklick in die Karte, oder \u00fcber die Auswahlschalter an:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-1024x576.jpg\" alt=\"\" class=\"wp-image-7783\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Weiter geht es mit der Tastaturbelegung, auch diese sollte bereits passend konfiguriert sein &#8211; die Sonderzeichen (<em>Umlaute und Co<\/em>) sollten Sie nat\u00fcrlich trotzdem testen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-1024x576.jpg\" alt=\"\" class=\"wp-image-7784\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-4.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Es folgt das Anlegen des ersten Benutzers, dieser wird mit deinem Passwort und dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">auch zum Administrator des Systems &#8211; alternativ legen Sie (<em>wie ich es bevorzuge<\/em>) ein Passwort f\u00fcr den Administrator &#8211; den Benutzer &#8222;<strong>root<\/strong>&#8220; ein eigenes Passwort an.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-1024x576.jpg\" alt=\"\" class=\"wp-image-7785\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-5.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt etwas Besonderes, gerade f\u00fcr ein Live-System &#8211; Sie w\u00e4hlen den Desktop zur Installation aus, soll es nicht der vorinstallierte sein, muss nat\u00fcrlich eine Internet-Verbindung bestehen. Zur Verf\u00fcgung stehen GNOME, KDE Plasma, XFCE, Pantheon, Cinnamon, Mate, Enlightenment, LXQt, oder kein grafischer Desktop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-1024x576.jpg\" alt=\"\" class=\"wp-image-7786\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-6.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Weiter geht es mit dem Akzeptieren unfreier Software &#8211; haben Sie bisher von Linux keine Ahnung, sollten Sie den Haken unbedingt setzen. Hier geht es vor allem um wichtige Treiber.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-1024x576.jpg\" alt=\"\" class=\"wp-image-7787\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-7.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wie \u00fcblich, folgt jetzt das Schwierigste an der Installation &#8211; das Partitionieren, also das Aufteilen der Festplatte. Hierzu finden Sie unter\u00a0<a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/fuer-linux-noetige-partitionen\/\" data-type=\"post\" data-id=\"781\" target=\"_blank\" rel=\"noreferrer noopener\">F\u00fcr Linux n\u00f6tige Partitionen<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-1024x576.jpg\" alt=\"\" class=\"wp-image-7788\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-8.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bis jetzt hat sich am bestehenden System nichts ge\u00e4ndert, Sie k\u00f6nnen noch immer abbrechen, oder zur\u00fcckgehen, um Einstellungen zu \u00e4ndern. Ein Klick auf &#8222;<strong>Installieren<\/strong>&#8220; und der Rest der Installation geht automatisch vor sich.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die Installation scheint in meinem Beispiel nicht weiterzugehen, blieb bei 46 Prozent h\u00e4ngen &#8211; lief aber im Hintergrund voran, diese dauerte keine drei Minuten. Anschlie\u00dfend starten Sie den Rechner neu:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-1024x576.jpg\" alt=\"\" class=\"wp-image-7789\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-9.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">NixOS nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nach dem ersten Neustart loggen Sie sich wie \u00fcblich ein:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-1024x576.jpg\" alt=\"\" class=\"wp-image-7790\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-10.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Grunds\u00e4tzlich muss man zur grafischen Oberfl\u00e4che nicht viel sagen &#8211; es handelt sich um den Standard, dass es sich um eine andere Linux-Distribution handelt, sieht man eigentlich gar nicht:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-1024x576.jpg\" alt=\"\" class=\"wp-image-7791\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-11.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">NixOS werkelt stabil &#8211; \u00e4u\u00dferst stabil im Hintergrund. Das wichtigste &#8211; um weitere Software zu holen, wenden Sie sich ans Terminal &#8211; unter KDE nat\u00fcrlich die Konsole, eine grafische Paket-Verwaltung gibt es nicht. Aktuell haben Sie eine Auswahl von rund 80.000 Software-Paketen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine grafische Suche nach Paketen finden Sie im Internet unter&nbsp;<a href=\"https:\/\/search.nixos.org\/packages\" target=\"_blank\" rel=\"noreferrer noopener\">NixOS &#8211; Packages<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nun arbeiten wir einmal als\u00a0Administrator\u00a0am Terminal &#8211; mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -qaP<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">k\u00f6nnen wir uns alle Pakete in einer Liste ausgeben lassen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-1024x576.jpg\" alt=\"\" class=\"wp-image-7792\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-12.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Dies kann eine sch\u00f6ne Zeit dauern, es handelt immerhin um rund 80.000 Pakete. Wie wir sehen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">ist der entscheidende Befehl. Mit der Option &#8222;<strong><code>-a<\/code><\/strong>&#8220; lassen wir uns alle verf\u00fcgbaren \/ installierbaren Pakete anzeigen, &#8222;<strong><code>-P<\/code><\/strong>&#8220; gibt Attribute aus und mit &#8222;<strong><code>-q<\/code><\/strong>&#8220; stellte man die Frage. Jetzt wollen wir einmal nach Firefox suchen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -qaP firefox<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dies l\u00e4sst sich auch mit regul\u00e4ren Ausdr\u00fccke nutzen &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -qaP firefox*<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-1024x576.jpg\" alt=\"\" class=\"wp-image-7793\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-13.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt wollen wir einmal ein Paket installieren &#8211; hierf\u00fcr nutzen wir die Optionen &#8222;<strong><code>-iA<\/code><\/strong>&#8220; &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -iA nixos.discover<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-1024x576.jpg\" alt=\"\" class=\"wp-image-7794\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/nix-14.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sie geben also die Bezeichnung des Paketes und die Version an &#8211; in diesem Fall &#8222;<strong>nixos.discover<\/strong>&#8222;. Die Suche im Bild oben zeigt mehrere vorhandene Versionen &#8211; Sie k\u00f6nnen, wenn gew\u00fcnscht, alle installieren. Mit der Option &#8222;<strong><code>-qaPs paket<\/code><\/strong>&#8220; lassen Sie sich anzeigen, ob ein Paket installiert ist:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -qaPs discover<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Durch die Option &#8222;<strong><code>-e<\/code><\/strong>&#8220; deinstallieren Sie ein Paket wieder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -e discover<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein einzelnes Paket aktualisieren Sie mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -uA nixos.discover<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sie geben also den vollst\u00e4ndigen Paket-Namen an (<em><strong>nixos.<\/strong><\/em>), das komplette System wird mit folgendem Befehl aktualisiert:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -u<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir k\u00f6nnen ein Paket nat\u00fcrlich auch deinstallieren, hierzu nutzen wir die Option &#8222;<strong><code>-e<\/code><\/strong>&#8220; mit dem vollen Paket-Namen:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CODE:&nbsp;<a href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=1029#\">ALLES AUSW\u00c4HLEN<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -e nixos.discover<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u00f6chten Sie nur probieren, was geschehen w\u00fcrde, nutzen Sie zus\u00e4tzlich die Option &#8222;<strong><code>--dry-run<\/code><\/strong>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nix-env -e nixos.discover --dry-run<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">NixOS ist f\u00fcr Nutzer, die wissen, was Sie wollen und wissen, was Sie tun, ein wirklich interessantes System. Eine vollst\u00e4ndige Dokumentation finden Sie unter&nbsp;<a href=\"https:\/\/nixos.org\/manual\/nix\/stable\/introduction.html\" target=\"_blank\" rel=\"noreferrer noopener\">NixOS &#8211; Dokumentation<\/a>.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"7779\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">4    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"7779\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>NixOS ist eine Linux-Distribution, die es schon ein paar Jahre gibt. Inzwischen wird aber immer mehr dar\u00fcber gesprochen. Vor allem die Paket-Verwaltung hat es in sich &#8211; sehen wir uns dieses System einmal n\u00e4her an. NixOS installieren Sie finden diese Linux-Distribution unter\u00a0NixOS\u00a0als ISO-Image zum Download, zur Verf\u00fcgung stehen drei Images &#8211; eines mit KDE Plasma, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7791,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[618],"tags":[619],"class_list":["post-7779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-distributionen","tag-distributionen"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=7779"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7779\/revisions"}],"predecessor-version":[{"id":7795,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7779\/revisions\/7795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/7791"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=7779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=7779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=7779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}