Ubuntu 14.04 LTS using source code compilation installation Sagemath 6.7 x64 (summary)

Source: Internet
Author: User
Tags imagemagick intel core i5

  1. Download the source Package
  2. Minimum system requirements: 6GB HDD, 2GB RAM.
  3. Command-line tools:
    1. A/C + + compiler: Since Sage builds its own GCC if needed, a wide variety of C + + compilers is Supporte D.
      Many GCC versions work, from as-old as version 3.4.3-to-the-most recent release. Clang also works. On Solaris
      Systems, the Sun compiler should also work. See also Using alternative compilers.
    2. Make: GNU make, Version 3.80 or later. Version 3.82 or later is recommended.
    3. M4: GNU M4 1.4.2 or later (NON-GNU or older versions might also work).
    4. perl: Version 5.8.0 or later.
    5. ar and Ranlib: Can is obtained as part of the GNU binutils.
    6. tar: GNU tar version 1.17 or later, or BSD tar.
  4. Command-line tool installation
    1 sudo Install GCC  Make Perl Tar
  5. System special needs, Debian/ubuntu need to install Dpkg-dev package
    1 sudo Install Dpkg-dev
  6. Optional software
    • Dvipng
    • Ffmpeg
    • ImageMagick
    • Latex--Very recommended installation
  7. Install optional software, FFmpeg is not installed.
    1 sudo Install dvipng ImageMagick texlive
  8. Start compiling
    1 cd ~/sage-6.7    #进入目录 2 export sage_fat_binaty='Yes'  3  Make # cannot use root
     warning:: System default GCC-4.9.2.P1 After a problem occurs, Sage uses its own GCC by default, because the version issue causes R to not install, the following error occurs   
     /home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/ R-3.1.1.P0/SRC/BIN/EXEC/R:/usr/lib/x86_64-linux-gnu/libgomp.so.1:version ' gomp_4.0 ' not found (required by/home/ user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/lib/libr.so) make[7]: * * * Error SYSDATEMAKE[6]: * * * [ALL] Error 1make[6]: Leaving directory '/home/user/build/sage/snapperkob/sage_git/build/local/ Var/tmp/sage/build/r-3.1.1.p0/src/src/library/tools ' make[5]: * * [R] Error 1make[5]: Leaving directory '/home/user/ Build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/src/src/library ' make[4]: * * * [r] Error 1MAKE[4]: Leaving directory '/home/user/build/sage/snapperkob/sage_git/build/local/var/tmp/sage/build/r-3.1.1.p0/ Src/src ' make[3]: * * [R] Error 1make[3]: Leaving directory '/home/user/build/sage/snapperkob/sage_git/build/local/var /tmp/sage/build/r-3.1.1.p0/src ' Error building R.  
    Setting the second step avoids the effect of the error sage_fat_binary parameter:
    To prepare a binary distribution that would run on the widest range of target machines.
    ./sage--bdisk X.y.z-fat  #生成. tar.gz Package File
  9. Test
    ./sage--testall
  10. Time Statistics (Intel Core i5 3230m+8gb RAM +ubuntu 14.04.02 AMD64)
    Project Make ./sage--testall
    Take Approx. 2.5h Approx. 1.2h

Ubuntu 14.04 LTS using source code compilation installation Sagemath 6.7 x64 (summary)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.