Octave para GNU/Linux: Difference between revisions

From Octave
Jump to navigation Jump to search
(Created page with "= Distribuciones = La forma recomendada para instalar Octave en sistemas GNU/Linux es a través del sistema de paquetes de instalación de cada distribución. Si por alguna razón esto no es posible, o la versión de Octave es muy antigüa, considera usar una forma de Distribución independiente como se describe abajo o instalar a través del código fuente de Octave. == Arch Linux == : ''Main article: Octave for Arch Li...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
== Arch Linux ==
== Arch Linux ==


: ''Main article: [[Octave for Arch Linux]]''
: ''artículo principal: [[Octave para Arch Linux]]''


  pacman -S octave
  pacman -S octave


== Debian and Debian-based (such as Ubuntu) ==
== Debian y basado en Debian (como Ubuntu) ==


: ''Main article: [[Octave for Debian systems]]''
: ''Artículo principal: [[Octave para Debian systems]]''


  apt install octave
  apt install octave
  apt install liboctave-dev  # development files
  apt install liboctave-dev  # archivos de desarrollo


== Fedora ==
== Fedora ==


: ''Main article: [[Octave for Red Hat Linux systems]]''
: ''Artículo principal: [[Octave para Red Hat Linux systems]]''


  dnf install octave
  dnf install octave
  dnf install octave-devel  # development files
  dnf install octave-devel  # archivos de desarrollo


== Gentoo ==
== Gentoo ==
Line 27: Line 27:
  emerge --ask sci-mathematics/octave
  emerge --ask sci-mathematics/octave


== openSUSE and SUSE Linux Enterprise ==
== openSUSE y SUSE Linux Enterprise ==


: ''Main article: [[Octave for openSUSE]]''
: ''Artículo principal: [[Octave para openSUSE]]''


  zypper install octave
  zypper install octave
Line 36: Line 36:
== Red Hat Enterprise/CentOS ==
== Red Hat Enterprise/CentOS ==


: ''Main article: [[Octave for Red Hat Linux systems]]''
: ''Artículo principal: [[Octave para Red Hat Linux systems]]''


  yum install epel-release
  yum install epel-release
Line 42: Line 42:
  yum install octave-devel  # development files
  yum install octave-devel  # development files


If the above does not work, follow [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instructions] to set up your system to install packages from EPEL.
Si lo anterior no funciona, sigue estas [https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F these instrucciones] para preparar tu sistema e instalar los paquetes de EPEL.


== Slackware ==
== Slackware ==


: ''Main article: [[Octave for Slackware]]''
: ''Artículo principal: [[Octave para Slackware]]''


= Distribución independiente =
= Distribución independiente =


Using a distribution independent approach is particularly useful if you have an older GNU/Linux distribution or if you do not have root access on your system. A common drawback of this approach is, that these solutions are running in some kind of sandbox. Thus limitations in the communication with the underlying system may existFor example, executing system binaries outside the sandbox might be impossible.
Usar una forma de distribución independiente es particularmente útil si tienes una versión antigüa de una distribución GNU/Linux o si no tienes acceso al usuario root en tu sistema. Una limitante de este método es que estas soluciones corren en algún tipo de sandbox. Además pueden haber limitaciones en la comunicación con los procesos del sistema. Por ejemplo, puede ser imposible ejecutar binarios del sistema fuera del sandbox.


== Anaconda ==
== Anaconda ==


* More info: https://anaconda.org/conda-forge/octave
* Más información: https://anaconda.org/conda-forge/octave


   conda create --name octave
   conda create --name octave
Line 62: Line 62:
== Docker / Podman / Singularity ==
== Docker / Podman / Singularity ==


* More info: https://hub.docker.com/r/gnuoctave/octave
* Más información: https://hub.docker.com/r/gnuoctave/octave
* Development: https://github.com/gnu-octave/docker
* Desarrollo: https://github.com/gnu-octave/docker


  docker pull docker.io/gnuoctave/octave:{{Release}}
  docker pull docker.io/gnuoctave/octave:{{Release}}
Line 70: Line 70:
  singularity pull docker://gnuoctave/octave:{{Release}}
  singularity pull docker://gnuoctave/octave:{{Release}}


=== mtmiller's version ===
=== versión de mtmiller ===


* More info: https://hub.docker.com/r/mtmiller/octave
* Más información: https://hub.docker.com/r/mtmiller/octave
* Development: https://gitlab.com/mtmiller/docker-octave
* Desarrollo: https://gitlab.com/mtmiller/docker-octave


  docker pull docker.io/mtmiller/octave
  docker pull docker.io/mtmiller/octave
Line 79: Line 79:
== Flatpak ==
== Flatpak ==


* More info: https://flathub.org/apps/details/org.octave.Octave
* Más información: https://flathub.org/apps/details/org.octave.Octave
* Development: https://github.com/flathub/org.octave.Octave
* Desarrollo: https://github.com/flathub/org.octave.Octave


  flatpak install flathub org.octave.Octave
  flatpak install flathub org.octave.Octave
Line 86: Line 86:
== Guix ==
== Guix ==


* More info: https://guix.gnu.org/en/packages/octave-6.2.0/
* Más información: https://guix.gnu.org/en/packages/octave-6.2.0/


  guix install octave
  guix install octave


== Homebrew on Linux ==
== Homebrew en Linux ==
<div id="Linuxbrew"></div>
<div id="Linuxbrew"></div>


"Homebrew on Linux" was formerly a fork known as Linuxbrew. It is possible to install the current release of Octave or the development version and any needed dependencies within your home directory.
"Homebrew en Linux" fue conocido como Linuxbrew. Es posible instalar la versión actual de Octave o la de desarrollo y cualquier dependencia en tu directorio local.


* More info: https://docs.brew.sh/Homebrew-on-Linux
* Más información: https://docs.brew.sh/Homebrew-on-Linux
* Development: https://formulae.brew.sh/formula/octave
* Desarrollo: https://formulae.brew.sh/formula/octave


  brew install octave
  brew install octave
Line 102: Line 102:
== MXE ==
== MXE ==


* More info: [[MXE]]
* Más información: [[MXE]]
* Development: https://hg.octave.org/mxe-octave
* Desarrollo: https://hg.octave.org/mxe-octave


== Snap ==
== Snap ==


* More info: https://snapcraft.io/octave
* Más información: https://snapcraft.io/octave
* Development: https://github.com/octave-snap/octave-snap
* Desarrollo: https://github.com/octave-snap/octave-snap


  snap install octave
  snap install octave


If you want to use a nightly snapshot build of the development branch of Octave, install from the ''edge'' channel
Si quieres usar una versión preeliminar (nightly snapshot build) de la rama de desarrollo de Octave, la puedes instalar del canal ''edge''


  snap install --edge octave
  snap install --edge octave
Line 118: Line 118:
== Spack ==
== Spack ==


* More info: https://spack.readthedocs.io/
* Más información: https://spack.readthedocs.io/
* Development: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/octave/package.py
* Desarrollo: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/octave/package.py


  spack install octave
  spack install octave


= Building from source =
= Compilar desde la fuente =


: ''Main article: [[Building]]''
: ''Más información: [[Building]]''


== See also ==
== Ver también ==


* [[Octave for other Unix systems]]
* [[Octave for other Unix systems]]


[[Category:Installation]]
[[Category:Instalación]]
[[Category:GNU/Linux]]
[[Category:GNU/Linux]]

Latest revision as of 16:59, 24 April 2023

Distribuciones[edit]

La forma recomendada para instalar Octave en sistemas GNU/Linux es a través del sistema de paquetes de instalación de cada distribución. Si por alguna razón esto no es posible, o la versión de Octave es muy antigüa, considera usar una forma de Distribución independiente como se describe abajo o instalar a través del código fuente de Octave.

Arch Linux[edit]

artículo principal: Octave para Arch Linux
pacman -S octave

Debian y basado en Debian (como Ubuntu)[edit]

Artículo principal: Octave para Debian systems
apt install octave
apt install liboctave-dev  # archivos de desarrollo

Fedora[edit]

Artículo principal: Octave para Red Hat Linux systems
dnf install octave
dnf install octave-devel  # archivos de desarrollo

Gentoo[edit]

emerge --ask sci-mathematics/octave

openSUSE y SUSE Linux Enterprise[edit]

Artículo principal: Octave para openSUSE
zypper install octave
zypper install octave-devel  # development files

Red Hat Enterprise/CentOS[edit]

Artículo principal: Octave para Red Hat Linux systems
yum install epel-release
yum install octave
yum install octave-devel  # development files

Si lo anterior no funciona, sigue estas these instrucciones para preparar tu sistema e instalar los paquetes de EPEL.

Slackware[edit]

Artículo principal: Octave para Slackware

Distribución independiente[edit]

Usar una forma de distribución independiente es particularmente útil si tienes una versión antigüa de una distribución GNU/Linux o si no tienes acceso al usuario root en tu sistema. Una limitante de este método es que estas soluciones corren en algún tipo de sandbox. Además pueden haber limitaciones en la comunicación con los procesos del sistema. Por ejemplo, puede ser imposible ejecutar binarios del sistema fuera del sandbox.

Anaconda[edit]

 conda create --name octave
 conda activate octave
 conda install -c conda-forge octave

Docker / Podman / Singularity[edit]

docker pull docker.io/gnuoctave/octave:9.1.0
podman pull docker.io/gnuoctave/octave:9.1.0
singularity pull docker://gnuoctave/octave:9.1.0

versión de mtmiller[edit]

docker pull docker.io/mtmiller/octave

Flatpak[edit]

flatpak install flathub org.octave.Octave

Guix[edit]

guix install octave

Homebrew en Linux[edit]

"Homebrew en Linux" fue conocido como Linuxbrew. Es posible instalar la versión actual de Octave o la de desarrollo y cualquier dependencia en tu directorio local.

brew install octave

MXE[edit]

Snap[edit]

snap install octave

Si quieres usar una versión preeliminar (nightly snapshot build) de la rama de desarrollo de Octave, la puedes instalar del canal edge

snap install --edge octave

Spack[edit]

spack install octave

Compilar desde la fuente[edit]

Más información: Building

Ver también[edit]