Como instalar a oitava 4.2.0 na minha máquina?

3

Como posso instalar a oitava 4.2.0 ou mais recente? Eu tentei

link não fornece o comando flathub não encontrado

link não funciona

link não funciona configure: error : Bibliotecas BLAS e LAPACK são necessárias

link não funciona instalado 4.0.3 em vez disso

Esta é a versão do meu PC

e130167@instance-1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.6 (stretch)
Release:        9.6
Codename:       stretch

Eu executei o comando sudo -i para inserir root e os seguintes comandos, conforme as instruções abaixo. Não tenho certeza se está correto.

e130167@instance-1:~$ sudo -i
(base) root@instance-1:~# echo deb http://deb.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/stretch-backports.list
(base) root@instance-1:~# apt update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch-backports InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Hit:7 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease
Hit:8 https://download.docker.com/linux/debian stretch InRelease
Hit:9 https://nvidia.github.io/libnvidia-container/debian9/amd64  InRelease
Hit:10 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease
Hit:11 https://nvidia.github.io/nvidia-container-runtime/debian9/amd64  InRelease
Hit:12 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease
Hit:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Ign:13 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu disco InRelease
Hit:14 https://nvidia.github.io/nvidia-docker/debian9/amd64  InRelease
Ign:16 http://ppa.launchpad.net/octave/stable/ubuntu disco InRelease
Ign:17 http://ppa.launchpad.net/picaso/octave/ubuntu disco InRelease
Err:18 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu disco Release
  404  Not Found
Err:19 http://ppa.launchpad.net/octave/stable/ubuntu disco Release
  404  Not Found
Err:20 http://ppa.launchpad.net/picaso/octave/ubuntu disco Release
  404  Not Found
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
E: The repository 'http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/octave/stable/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/picaso/octave/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/backports.list:1 and /etc/apt/sources.list.d/stretch-backports.list:1
    
por Kong 15.11.2018 / 17:20

1 resposta

7

Você pode instalar o Octave 4.4.1 (até o momento desta publicação) em Esticar os backports :

  1. adicione o repositório backports (como root)

    echo deb http://deb.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/stretch-backports.list
    
  2. atualize seus índices de pacote

    apt update
    
  3. instale o OpenJDK

    apt install -t stretch-backports octave
    

Se você preferir usar sudo , as etapas equivalentes são

echo deb http://deb.debian.org/debian stretch-backports main | sudo tee /etc/apt/sources.list.d/stretch-backports.list
sudo apt update
sudo apt install -t stretch-backports octave
    
por 15.11.2018 / 17:29