{"id":4385,"date":"2023-09-15T17:26:13","date_gmt":"2023-09-15T15:26:13","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=4385"},"modified":"2023-09-15T17:26:15","modified_gmt":"2023-09-15T15:26:15","slug":"octave-pakete-unter-linux-installieren","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/15\/octave-pakete-unter-linux-installieren\/","title":{"rendered":"Octave-Pakete unter Linux installieren"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">GNU Octave ist eine mathematische Umgebung unter Linux und kompatibel zu Matlab &#8211; also eine freie Alternative zur kommerziellen Software unter Windows. Normalerweise wird die Software am <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=3\" target=\"_blank\">Terminal<\/a> genutzt &#8211; Cantor (<em>unter auf Debian basierenden Linux-Distributionen \u00fcber die <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=10\" target=\"_blank\">Paket-Verwaltung<\/a> durch die Pakete &#8222;<strong>cantor cantor-backend-octave<\/strong>&#8220; zu installieren<\/em>) ist eine grafische Oberfl\u00e4che daf\u00fcr:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-1024x576.jpg\" alt=\"\" class=\"wp-image-4388\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/cantor.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Cantor &#8211; grafische Oberfl\u00e4che f\u00fcr Octave<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Um die grafische Oberfl\u00e4che geht es hier jedoch nicht &#8211; es geht um die Installation weiterer Pakete \/ Erweiterungen f\u00fcr Octave. Haben Sie Octave \u00fcber die Paket-Verwaltung durch das Paket &#8222;<strong>octave<\/strong>&#8220; installiert, k\u00f6nnen Sie weitere Pakete von <a rel=\"noreferrer noopener\" href=\"https:\/\/octave.sourceforge.io\/packages.php\" target=\"_blank\">Octave Packages<\/a> ganz einfach installieren (<em>viele zus\u00e4tzliche Pakete finden sich ebenso im Debian-Repository<\/em>).<br><br>Hierzu nutzen Sie das Terminal (<em>als normaler Benutzer<\/em>) mit dem Befehl &#8222;<strong>pkg<\/strong>&#8222;. Der Befehl l\u00e4dt das gew\u00fcnschte Paket herunter, installiert es und richtet es ein. Nehmen wir einfach einmal das Paket &#8222;<strong>geometry<\/strong>&#8222;. Starten Sie erst einmal Octave am Terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>octave<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1024x576.jpg\" alt=\"\" class=\"wp-image-4389\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Octave<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In der laufenden Software, starten Sie jetzt den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg install -forge geometry<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-1024x576.jpg\" alt=\"\" class=\"wp-image-4390\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Octave &#8211; weitere Pakete installieren<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Fehlen der Software Abh\u00e4ngigkeiten f\u00fcr das Paket, meldet sie dies:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-1024x576.jpg\" alt=\"\" class=\"wp-image-4391\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/ocatve-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Octave &#8211; weitere Pakete installieren<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Installieren Sie das gemeldete Paket, manchmal ben\u00f6tigt ein Paket auch ein Debian-Pakete, dieses installieren Sie einfach \u00fcber die Paket-Verwaltung. Ein typisches Paket w\u00e4re etwa &#8222;<strong>liboctave-dev<\/strong>&#8222;.<br><br>Zuletzt installieren Sie das gew\u00fcnschte Paket. Mittels:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg install \/pfad\/zur\/datei.tar.gz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">installieren Sie ein bereits manuell heruntergeladenes Paket. Mit folgendem Paket lassen Sie sich alle installierten Pakete anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt lassen wir alle installierten Pakete aktualisieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Oder wir lassen uns die Beschreibung zu einem Paket anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg describe geometry<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nat\u00fcrlich k\u00f6nnen wir installierte Pakete auch deinstallieren (<em>nicht solche, die \u00fcber die Paket-Verwaltung der Distribution installiert wurden<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkg uninstall geometry<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Interessierte finden unter <a rel=\"noreferrer noopener\" href=\"https:\/\/simweb.iwr.uni-heidelberg.de\/lehre\/2012W-Numerik\/octave_intro.pdf\" target=\"_blank\">UNI Heidelberg<\/a> eine PDF-Datei als deutsche Dokumentation zu Octave.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: So 29. Jan 2023, 10:50<\/strong><\/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=\"4385\" 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\">    <\/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=\"4385\" 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>GNU Octave ist eine mathematische Umgebung unter Linux und kompatibel zu Matlab &#8211; also eine freie Alternative zur kommerziellen Software unter Windows. Normalerweise wird die Software am Terminal genutzt &#8211; Cantor (unter auf Debian basierenden Linux-Distributionen \u00fcber die Paket-Verwaltung durch die Pakete &#8222;cantor cantor-backend-octave&#8220; zu installieren) ist eine grafische Oberfl\u00e4che daf\u00fcr: Um die grafische Oberfl\u00e4che [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[513,516],"tags":[],"class_list":["post-4385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lernprogramme","category-mathematik"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4385","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=4385"}],"version-history":[{"count":4,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4385\/revisions"}],"predecessor-version":[{"id":4394,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/4385\/revisions\/4394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/4392"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=4385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=4385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=4385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}