Unable to install SageMath in Linux Mint
Clash 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?
software-installation free-software sage-math
 |Â
show 9 more comments
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?
software-installation free-software sage-math
Is thesage
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 tochmod +x sage
or assuming your shell isbash
, you can run it withbash sage
.
â Nasir Riley
Jul 28 at 2:57
 |Â
show 9 more comments
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?
software-installation free-software sage-math
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?
software-installation free-software sage-math
edited Jul 28 at 3:39
G-Man
11.4k82556
11.4k82556
asked Jul 28 at 2:40
Learnmore
1011
1011
Is thesage
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 tochmod +x sage
or assuming your shell isbash
, you can run it withbash sage
.
â Nasir Riley
Jul 28 at 2:57
 |Â
show 9 more comments
Is thesage
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 tochmod +x sage
or assuming your shell isbash
, you can run it withbash 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
 |Â
show 9 more comments
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
edited Jul 28 at 16:15
Rui F Ribeiro
33.6k1168113
33.6k1168113
answered Jul 28 at 8:05
Ujjwal Singh
6112
6112
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 tochmod +x sage
or assuming your shell isbash
, you can run it withbash sage
.â Nasir Riley
Jul 28 at 2:57