Unable to install SageMath in Linux Mint

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I am using Linux Mint Cinnamon in my laptop.
I want to install SageMath in my laptop.



However, when I am trying to install SageMath from terminal using



sudo apt-add-repository ppa:aims/sagemath


I get the message "This PPA does not support bionic".



I tried to extract from the tar file by first going to Desktop then SageMath and then running ./sage,
but here also I got the error message "Permission denied".



Can someone kindly help?







share|improve this question





















  • Is the sage file executable?
    – Nasir Riley
    Jul 28 at 2:44










  • What are the permissions?
    – Debian_yadav
    Jul 28 at 2:51










  • @NasirRiley; its a tar file i extracted it on the Desktop
    – Learnmore
    Jul 28 at 2:53










  • @Debian_yadav; i dont know what it is telling so
    – Learnmore
    Jul 28 at 2:53










  • @Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
    – Nasir Riley
    Jul 28 at 2:57

















up vote
0
down vote

favorite












I am using Linux Mint Cinnamon in my laptop.
I want to install SageMath in my laptop.



However, when I am trying to install SageMath from terminal using



sudo apt-add-repository ppa:aims/sagemath


I get the message "This PPA does not support bionic".



I tried to extract from the tar file by first going to Desktop then SageMath and then running ./sage,
but here also I got the error message "Permission denied".



Can someone kindly help?







share|improve this question





















  • Is the sage file executable?
    – Nasir Riley
    Jul 28 at 2:44










  • What are the permissions?
    – Debian_yadav
    Jul 28 at 2:51










  • @NasirRiley; its a tar file i extracted it on the Desktop
    – Learnmore
    Jul 28 at 2:53










  • @Debian_yadav; i dont know what it is telling so
    – Learnmore
    Jul 28 at 2:53










  • @Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
    – Nasir Riley
    Jul 28 at 2:57













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am using Linux Mint Cinnamon in my laptop.
I want to install SageMath in my laptop.



However, when I am trying to install SageMath from terminal using



sudo apt-add-repository ppa:aims/sagemath


I get the message "This PPA does not support bionic".



I tried to extract from the tar file by first going to Desktop then SageMath and then running ./sage,
but here also I got the error message "Permission denied".



Can someone kindly help?







share|improve this question













I am using Linux Mint Cinnamon in my laptop.
I want to install SageMath in my laptop.



However, when I am trying to install SageMath from terminal using



sudo apt-add-repository ppa:aims/sagemath


I get the message "This PPA does not support bionic".



I tried to extract from the tar file by first going to Desktop then SageMath and then running ./sage,
but here also I got the error message "Permission denied".



Can someone kindly help?









share|improve this question












share|improve this question




share|improve this question








edited Jul 28 at 3:39









G-Man

11.4k82556




11.4k82556









asked Jul 28 at 2:40









Learnmore

1011




1011











  • Is the sage file executable?
    – Nasir Riley
    Jul 28 at 2:44










  • What are the permissions?
    – Debian_yadav
    Jul 28 at 2:51










  • @NasirRiley; its a tar file i extracted it on the Desktop
    – Learnmore
    Jul 28 at 2:53










  • @Debian_yadav; i dont know what it is telling so
    – Learnmore
    Jul 28 at 2:53










  • @Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
    – Nasir Riley
    Jul 28 at 2:57

















  • Is the sage file executable?
    – Nasir Riley
    Jul 28 at 2:44










  • What are the permissions?
    – Debian_yadav
    Jul 28 at 2:51










  • @NasirRiley; its a tar file i extracted it on the Desktop
    – Learnmore
    Jul 28 at 2:53










  • @Debian_yadav; i dont know what it is telling so
    – Learnmore
    Jul 28 at 2:53










  • @Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
    – Nasir Riley
    Jul 28 at 2:57
















Is the sage file executable?
– Nasir Riley
Jul 28 at 2:44




Is the sage file executable?
– Nasir Riley
Jul 28 at 2:44












What are the permissions?
– Debian_yadav
Jul 28 at 2:51




What are the permissions?
– Debian_yadav
Jul 28 at 2:51












@NasirRiley; its a tar file i extracted it on the Desktop
– Learnmore
Jul 28 at 2:53




@NasirRiley; its a tar file i extracted it on the Desktop
– Learnmore
Jul 28 at 2:53












@Debian_yadav; i dont know what it is telling so
– Learnmore
Jul 28 at 2:53




@Debian_yadav; i dont know what it is telling so
– Learnmore
Jul 28 at 2:53












@Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
– Nasir Riley
Jul 28 at 2:57





@Learnmore I understand that but you need to make sure that is has execute permissions before you run ./sage. If it doesn't, you either need to chmod +x sage or assuming your shell is bash, you can run it with bash sage.
– Nasir Riley
Jul 28 at 2:57











1 Answer
1






active

oldest

votes

















up vote
0
down vote













Use these commands



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


Go to the website SageMath and choose download for linux.



Choose any mirror and download for your architecture (32 or 64 bit).



Then choose the lzma package with the word Ubuntu(since, linux mint is a flavor of Ubuntu).



For example, for a 32-bit processor running Ubuntu 10.4, you'd select sage-4.4.4-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma where 4.4.4 is the latest Sage version at the time of writing.



Installing reduces to unpacking into /opt (or any other location of your choice), and putting a link to the sage executable in /usr/local/bin:



sudo su
cd /opt
tar --lzma -xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...lzma
ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
sage


Compile from source



You can compile sage from source. Though it's actually very easy, it may take a long time (1 hour or more).



The first step is to install the required packages:



sudo apt-get upgrade && sudo apt-get install build-essential m4 gfortran


And you may also need the following for some extra features



sudo apt-get install imagemagick texlive dvipng


Then you can compile the code with:



make


You can now use sage from that directory or move it into /opt:



sudo su
cd /opt
cp -r /path_to_sage .
ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage


Create an icon in the panel



You can add to the panel an icon for starting the sage server. Just select add new element to the panel, add new applet or however it's called in your system, then choose for a new Launcher or Launcher for external applications.



In the configuration dialog for the launcher, make sure you select open in a terminal and choose sage -notebook for the command in GNOME or XFCE. In KDE, choose sage for the command and -notebook for command line options.



You can use SAGE for the name and the following for the icon:



/opt/sage-directory.../data/extcode/notebook/images/icon48x48.png


where sage-directory... is the directory where you installed sage






share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f458980%2funable-to-install-sagemath-in-linux-mint%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Use these commands



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


    Go to the website SageMath and choose download for linux.



    Choose any mirror and download for your architecture (32 or 64 bit).



    Then choose the lzma package with the word Ubuntu(since, linux mint is a flavor of Ubuntu).



    For example, for a 32-bit processor running Ubuntu 10.4, you'd select sage-4.4.4-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma where 4.4.4 is the latest Sage version at the time of writing.



    Installing reduces to unpacking into /opt (or any other location of your choice), and putting a link to the sage executable in /usr/local/bin:



    sudo su
    cd /opt
    tar --lzma -xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...lzma
    ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
    sage


    Compile from source



    You can compile sage from source. Though it's actually very easy, it may take a long time (1 hour or more).



    The first step is to install the required packages:



    sudo apt-get upgrade && sudo apt-get install build-essential m4 gfortran


    And you may also need the following for some extra features



    sudo apt-get install imagemagick texlive dvipng


    Then you can compile the code with:



    make


    You can now use sage from that directory or move it into /opt:



    sudo su
    cd /opt
    cp -r /path_to_sage .
    ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage


    Create an icon in the panel



    You can add to the panel an icon for starting the sage server. Just select add new element to the panel, add new applet or however it's called in your system, then choose for a new Launcher or Launcher for external applications.



    In the configuration dialog for the launcher, make sure you select open in a terminal and choose sage -notebook for the command in GNOME or XFCE. In KDE, choose sage for the command and -notebook for command line options.



    You can use SAGE for the name and the following for the icon:



    /opt/sage-directory.../data/extcode/notebook/images/icon48x48.png


    where sage-directory... is the directory where you installed sage






    share|improve this answer



























      up vote
      0
      down vote













      Use these commands



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


      Go to the website SageMath and choose download for linux.



      Choose any mirror and download for your architecture (32 or 64 bit).



      Then choose the lzma package with the word Ubuntu(since, linux mint is a flavor of Ubuntu).



      For example, for a 32-bit processor running Ubuntu 10.4, you'd select sage-4.4.4-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma where 4.4.4 is the latest Sage version at the time of writing.



      Installing reduces to unpacking into /opt (or any other location of your choice), and putting a link to the sage executable in /usr/local/bin:



      sudo su
      cd /opt
      tar --lzma -xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...lzma
      ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
      sage


      Compile from source



      You can compile sage from source. Though it's actually very easy, it may take a long time (1 hour or more).



      The first step is to install the required packages:



      sudo apt-get upgrade && sudo apt-get install build-essential m4 gfortran


      And you may also need the following for some extra features



      sudo apt-get install imagemagick texlive dvipng


      Then you can compile the code with:



      make


      You can now use sage from that directory or move it into /opt:



      sudo su
      cd /opt
      cp -r /path_to_sage .
      ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage


      Create an icon in the panel



      You can add to the panel an icon for starting the sage server. Just select add new element to the panel, add new applet or however it's called in your system, then choose for a new Launcher or Launcher for external applications.



      In the configuration dialog for the launcher, make sure you select open in a terminal and choose sage -notebook for the command in GNOME or XFCE. In KDE, choose sage for the command and -notebook for command line options.



      You can use SAGE for the name and the following for the icon:



      /opt/sage-directory.../data/extcode/notebook/images/icon48x48.png


      where sage-directory... is the directory where you installed sage






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        Use these commands



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


        Go to the website SageMath and choose download for linux.



        Choose any mirror and download for your architecture (32 or 64 bit).



        Then choose the lzma package with the word Ubuntu(since, linux mint is a flavor of Ubuntu).



        For example, for a 32-bit processor running Ubuntu 10.4, you'd select sage-4.4.4-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma where 4.4.4 is the latest Sage version at the time of writing.



        Installing reduces to unpacking into /opt (or any other location of your choice), and putting a link to the sage executable in /usr/local/bin:



        sudo su
        cd /opt
        tar --lzma -xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...lzma
        ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
        sage


        Compile from source



        You can compile sage from source. Though it's actually very easy, it may take a long time (1 hour or more).



        The first step is to install the required packages:



        sudo apt-get upgrade && sudo apt-get install build-essential m4 gfortran


        And you may also need the following for some extra features



        sudo apt-get install imagemagick texlive dvipng


        Then you can compile the code with:



        make


        You can now use sage from that directory or move it into /opt:



        sudo su
        cd /opt
        cp -r /path_to_sage .
        ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage


        Create an icon in the panel



        You can add to the panel an icon for starting the sage server. Just select add new element to the panel, add new applet or however it's called in your system, then choose for a new Launcher or Launcher for external applications.



        In the configuration dialog for the launcher, make sure you select open in a terminal and choose sage -notebook for the command in GNOME or XFCE. In KDE, choose sage for the command and -notebook for command line options.



        You can use SAGE for the name and the following for the icon:



        /opt/sage-directory.../data/extcode/notebook/images/icon48x48.png


        where sage-directory... is the directory where you installed sage






        share|improve this answer















        Use these commands



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


        Go to the website SageMath and choose download for linux.



        Choose any mirror and download for your architecture (32 or 64 bit).



        Then choose the lzma package with the word Ubuntu(since, linux mint is a flavor of Ubuntu).



        For example, for a 32-bit processor running Ubuntu 10.4, you'd select sage-4.4.4-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma where 4.4.4 is the latest Sage version at the time of writing.



        Installing reduces to unpacking into /opt (or any other location of your choice), and putting a link to the sage executable in /usr/local/bin:



        sudo su
        cd /opt
        tar --lzma -xvf /path_to_sage_package/sage-?.?.?-linux-ubuntu-...lzma
        ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage
        sage


        Compile from source



        You can compile sage from source. Though it's actually very easy, it may take a long time (1 hour or more).



        The first step is to install the required packages:



        sudo apt-get upgrade && sudo apt-get install build-essential m4 gfortran


        And you may also need the following for some extra features



        sudo apt-get install imagemagick texlive dvipng


        Then you can compile the code with:



        make


        You can now use sage from that directory or move it into /opt:



        sudo su
        cd /opt
        cp -r /path_to_sage .
        ln -s /opt/sage.?-?-?.../sage /usr/local/bin/sage


        Create an icon in the panel



        You can add to the panel an icon for starting the sage server. Just select add new element to the panel, add new applet or however it's called in your system, then choose for a new Launcher or Launcher for external applications.



        In the configuration dialog for the launcher, make sure you select open in a terminal and choose sage -notebook for the command in GNOME or XFCE. In KDE, choose sage for the command and -notebook for command line options.



        You can use SAGE for the name and the following for the icon:



        /opt/sage-directory.../data/extcode/notebook/images/icon48x48.png


        where sage-directory... is the directory where you installed sage







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jul 28 at 16:15









        Rui F Ribeiro

        33.6k1168113




        33.6k1168113











        answered Jul 28 at 8:05









        Ujjwal Singh

        6112




        6112






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f458980%2funable-to-install-sagemath-in-linux-mint%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay