首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未能在ubuntu 18.04 LTS上安装sagemath

未能在ubuntu 18.04 LTS上安装sagemath
EN

Ask Ubuntu用户
提问于 2018-05-02 16:08:55
回答 1查看 2.7K关注 0票数 6

最近,我已经安装了Ubuntu64amd,使用Windows 7 32位进行了duak引导。一切都很好,但我无法在里面安装萨格马斯。它说,“无法定位软件包sagemath-上游二进制”,即使代码是正确的。我能知道为什么吗?

下面是我使用的完整代码:

代码语言:javascript
复制
sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary  

以下是终端代码:

代码语言:javascript
复制
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-add-repository -y ppa:aims/sagemath
[sudo] password for kutubuddin: 
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]    
Err:3 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release             
  404  Not Found [IP: 91.189.xx.xx xx]
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Reading package lists... Done                                  
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic 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.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get update
Ign:1 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic InRelease                     
Err:4 http://ppa.launchpad.net/aims/sagemath/ubuntu bionic Release             
  404  Not Found [IP: 91.189.xx.xx.xx]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]   
Hit:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/aims/sagemath/ubuntu bionic 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.
kutubuddin@kutubuddin-h81m-s:~$ sudo apt-get install sagemath-upstream-binary
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package sagemath-upstream-binary
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-05-02 16:37:41

你提到的PPA没有用于18.04 LTS的包。

在Ubuntu18.04的情况下,LTS仿生海狸you不需要任何PPA来安装SageMath。

您可以简单地删除PPA (如果在前面添加):

代码语言:javascript
复制
sudo apt-add-repository -r ppa:aims/sagemath

然后从存储库安装sagemath:

代码语言:javascript
复制
sudo apt-get install sagemath
票数 10
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1031170

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档