Octave 4.2.0または最新バージョンをインストールする方法は?私は試した:
- すでに異なるバージョンがインストールされていますが、最新バージョンのGNU Octaveをインストールしてください。:flathub コマンドが提供されておらず、見つかりません。
- UbuntuのソースからOctave 4.2.0をインストールしますか?:動作しません
- UbuntuのソースからOctave 4.2.0をインストールしますか?:動作しません。構成:
error: BLAS and LAPACK libraries are required
- UbuntuのソースからOctave 4.2.0をインストールしますか?: 代わりに 4.0.3 インストールが機能しません。
これは私のコンピュータのバージョンです。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch
sudo -i
ルートに入るというコマンドを実行した後、次のコマンドを実行しました。これが正しいかどうかはわかりません。
$ sudo -i
# echo deb http://deb.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/stretch-backports.list
# 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
ベストアンサー1
以下から、Octave 4.4.1(この記事を書く時点)をインストールできます。バックストレッチと移植:
バックポートリポジトリの追加(ルートとして)
echo deb http://deb.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/stretch-backports.list
パッケージ索引の更新
apt update
OpenJDKのインストール
apt install -t stretch-backports octave
sudo
同じ手順は、次のものを使用したい場合です。
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