neon配置flatpak国内的源,并安装octave 8.2
1、neon毕竟是基于ubuntu的,软件版本不是一般的老,octave官方仓库是6.4的,有些函数和插件竟然不支持了,只能安装8.2的,可以使用discover安装,那速度嘿嘿,谁用谁知道啊
2、配置国内的源,使用上交大的源,先感谢上交大的辛苦付出。
https://mirror.sjtu.edu.cn/docs/flathub
进入后依次执行:
wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg
sudo flatpak remote-modify --gpg-import=flathub.gpg flathub
sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
否则会有
sudo flatpak remote-add kde https://mirror.sjtu.edu.cn/flathub error: Signature made 2023年06月20日 星期二 19时06分05秒 using RSA key ID 562702E9E3ED7EE8 Can't check signature: public key not found
3、安装:
sudo flatpak install octave Looking for matches… Found ref ‘app/org.octave.Octave/x86_64/stable’ in remote ‘flathub’ (system). Use this ref? [Y/n]: y Required runtime for org.octave.Octave/x86_64/stable (runtime/org.kde.Sdk/x86_64/5.15-22.08) found in remote flathub Do you want to install it? [Y/n]: y org.octave.Octave permissions: ipc network pulseaudio wayland x11 dri file access [1] dbus access [2] [1] host, xdg-config/kdeglobals:ro [2] com.canonical.AppMenu.Registrar, org.freedesktop.Flatpak, org.kde.KGlobalSettings, ID Branch Op Remote Download 1. [✓] org.kde.KStyle.Adwaita 5.15-22.08 i flathub 6.6 MB / 6.6 MB ID Branch Op Remote Download 1. [✓] org.kde.KStyle.Adwaita 5.15-22.08 i flathub 6.6 MB / 6.6 MB 2. [✓] org.kde.Sdk 5.15-22.08 i flathub 837.6 MB / 714.7 MB 3. [✓] org.octave.Octave stable i flathub 159.4 MB / 144.1 MB Installation complete.
如果用默认的源,就这么说就从来没有成功过,也许是软件包太大了,也许是网络阻塞吧。
赶紧试试吧
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。