Как можно установить Sagemath на Ubuntu?

Я пытался установить sagemath через командную строку, но столкнулся с проблемой. Я делаю что-то неправильно? У меня Ubuntu 13.10.

jaakko@jaakko-VPCEB1S1E:~$ sudo apt-add-repository -y ppa:aims/sagemath
gpg: keyring `/tmp/tmp7y1mxl/secring.gpg' created
gpg: keyring `/tmp/tmp7y1mxl/pubring.gpg' created
gpg: requesting key BE796FF2 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp7y1mxl/trustdb.gpg: trustdb created
gpg: key BE796FF2: public key "Launchpad PPA for AIMS" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
jaakko@jaakko-VPCEB1S1E:~$ sudo apt-get update
Ign http://fi.archive.ubuntu.com saucy InRelease
Ign http://fi.archive.ubuntu.com saucy-updates InRelease                       
Ign http://fi.archive.ubuntu.com saucy-backports InRelease                     
Ign http://ppa.launchpad.net saucy InRelease                                   
Hit http://fi.archive.ubuntu.com saucy Release.gpg                             
Hit http://fi.archive.ubuntu.com saucy-updates Release.gpg                     
Ign http://extras.ubuntu.com saucy InRelease                                   
Hit http://ppa.launchpad.net saucy Release.gpg                                 
Hit http://fi.archive.ubuntu.com saucy-backports Release.gpg                   
Hit http://fi.archive.ubuntu.com saucy Release                                 
Hit http://ppa.launchpad.net saucy Release                                     
Hit http://extras.ubuntu.com saucy Release.gpg                                 
Hit http://fi.archive.ubuntu.com saucy-updates Release                         
Hit http://fi.archive.ubuntu.com saucy-backports Release                       
Hit http://extras.ubuntu.com saucy Release                                     
Ign http://security.ubuntu.com saucy-security InRelease                        
Hit http://ppa.launchpad.net saucy/main i386 Packages                
Hit http://fi.archive.ubuntu.com saucy/main Sources                  
Hit http://fi.archive.ubuntu.com saucy/restricted Sources                      
Hit http://extras.ubuntu.com saucy/main Sources                                
Hit http://fi.archive.ubuntu.com saucy/universe Sources                        
Hit http://fi.archive.ubuntu.com saucy/multiverse Sources                      
Hit http://extras.ubuntu.com saucy/main i386 Packages                          
Hit http://fi.archive.ubuntu.com saucy/main i386 Packages                      
Hit http://security.ubuntu.com saucy-security Release.gpg                      
Hit http://fi.archive.ubuntu.com saucy/restricted i386 Packages                
Hit http://fi.archive.ubuntu.com saucy/universe i386 Packages        
Hit http://fi.archive.ubuntu.com saucy/multiverse i386 Packages      
Hit http://fi.archive.ubuntu.com saucy/main Translation-en           
Hit http://security.ubuntu.com saucy-security Release                
Hit http://fi.archive.ubuntu.com saucy/multiverse Translation-en               
Hit http://fi.archive.ubuntu.com saucy/restricted Translation-en               
Hit http://security.ubuntu.com saucy-security/main Sources                     
Hit http://fi.archive.ubuntu.com saucy/universe Translation-en       
Hit http://fi.archive.ubuntu.com saucy-updates/main Sources          
Ign http://ppa.launchpad.net saucy/main Translation-en_US            
Hit http://fi.archive.ubuntu.com saucy-updates/restricted Sources              
Hit http://fi.archive.ubuntu.com saucy-updates/universe Sources                
Ign http://ppa.launchpad.net saucy/main Translation-en               
Hit http://fi.archive.ubuntu.com saucy-updates/multiverse Sources              
Hit http://security.ubuntu.com saucy-security/restricted Sources               
Hit http://fi.archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://fi.archive.ubuntu.com saucy-updates/restricted i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en_US
Hit http://fi.archive.ubuntu.com saucy-updates/universe i386 Packages          
Hit http://fi.archive.ubuntu.com saucy-updates/multiverse i386 Packages        
Ign http://extras.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/universe Sources                 
Hit http://fi.archive.ubuntu.com saucy-updates/main Translation-en             
Hit http://fi.archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://fi.archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://security.ubuntu.com saucy-security/multiverse Sources               
Hit http://fi.archive.ubuntu.com saucy-updates/universe Translation-en         
Hit http://fi.archive.ubuntu.com saucy-backports/main Sources
Hit http://fi.archive.ubuntu.com saucy-backports/restricted Sources
Hit http://fi.archive.ubuntu.com saucy-backports/universe Sources
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://fi.archive.ubuntu.com saucy-backports/multiverse Sources
Hit http://fi.archive.ubuntu.com saucy-backports/main i386 Packages
Hit http://fi.archive.ubuntu.com saucy-backports/restricted i386 Packages
Hit http://fi.archive.ubuntu.com saucy-backports/universe i386 Packages
Hit http://fi.archive.ubuntu.com saucy-backports/multiverse i386 Packages      
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages         
Hit http://fi.archive.ubuntu.com saucy-backports/main Translation-en           
Hit http://fi.archive.ubuntu.com saucy-backports/multiverse Translation-en
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://fi.archive.ubuntu.com saucy-backports/restricted Translation-en
Hit http://fi.archive.ubuntu.com saucy-backports/universe Translation-en       
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages         
Hit http://security.ubuntu.com saucy-security/main Translation-en              
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Ign http://fi.archive.ubuntu.com saucy/main Translation-en_US
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Ign http://fi.archive.ubuntu.com saucy/multiverse Translation-en_US
Ign http://fi.archive.ubuntu.com saucy/restricted Translation-en_US
Ign http://fi.archive.ubuntu.com saucy/universe Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-updates/main Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-updates/multiverse Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-updates/restricted Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-updates/universe Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-backports/main Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-backports/multiverse Translation-en_US
Ign http://fi.archive.ubuntu.com saucy-backports/restricted Translation-en_US
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Ign http://fi.archive.ubuntu.com saucy-backports/universe Translation-en_US
Ign http://security.ubuntu.com saucy-security/main Translation-en_US
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_US
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_US
Ign http://security.ubuntu.com saucy-security/universe Translation-en_US
Reading package lists... Done
jaakko@jaakko-VPCEB1S1E:~$ sudo apt-get install sagemath-upstream-binary
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package sagemath-upstream-binary is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'sagemath-upstream-binary' has no installation candidate
jaakko@jaakko-VPCEB1S1E:~$ 
3
задан 23 January 2014 в 01:53

2 ответа

Я только видел этот пост сейчас, но PPA, похоже, не работает, я просто скачал последнюю двоичную версию Sage Math 6.1.1 и установил ее для всех пользователей (только я) на моем компьютере, используя символическую ссылку. Я использую Ubuntu 14.04 Trusty. Возможно, вы можете использовать облачную версию.

http://www.sagemath.org/download-linux.html

и файл справки

http: //www.sagemath .org / DOC / установка / binary.html # Linux-и-OS-X

0
ответ дан 23 January 2014 в 01:53

Мне удалось установить его на 64-битную свежую установку Ubuntu 14.04 с PPA. Однако я заменил apt-get на aptitude. То есть

sudo apt-add-repository -y ppa:aims/sagemath
sudo aptitude update
sudo aptitude install sagemath-upstream-binary

Интересно, был ли трюк: а) 14.04 вместо 13.10, б) 64 бит (amd64) вместо 32 бит (i386), в) aptitude вместо apt-get или d ) время заживления всех ран.

0
ответ дан 23 January 2014 в 01:53

Другие вопросы по тегам:

Похожие вопросы: