Uninstalling SageMath

52 views
Skip to first unread message

Karima Shahzad

unread,
Dec 19, 2020, 3:32:34 AM12/19/20
to sage-s...@googlegroups.com
Hello,

I want to safely uninstall Sage (all the packages), I tried running "sudo apt-get remove sagemath-upstream-binary" as I had installed from the source code binary, and it worked. Sage is inaccessible now via the terminal, but the directory is yet there including all the contents. Should I assume that it emptied all the occupied space? Can I move the folder directly to the trash?

Thank you,

Karim S

Jan Groenewald

unread,
Dec 19, 2020, 7:22:47 AM12/19/20
to sage-support
Hi

On Sat, 19 Dec 2020 at 10:32, Karima Shahzad <karima...@gmail.com> wrote:
Hello,

I want to safely uninstall Sage (all the packages), I tried running "sudo apt-get remove sagemath-upstream-binary" as I had installed from the source code binary, and it worked. Sage is inaccessible now via the terminal, but the directory is yet there including all the contents. Should I assume that it emptied all the occupied space? Can I move the folder directly to the trash?

sagemath-upstream-binary is from a PPA that was discontinued in 2017, and last available on Ubuntu 14.04 Trusty (which is end of life since April 2019). The apt-get command you used would have removed it.

If you also downloaded source or a binary, perhaps for a newer sage version, that would not be affected by apt. If you have no personal files, documents, for example notebooks in there, you can safely delete it. The folder might be called SageMath if it is a newer version, or something sage-7.4-ubuntu-14.04.  You can move that directly to Trash.

Regards,
Jan



--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

Karima Shahzad

unread,
Dec 19, 2020, 7:41:18 AM12/19/20
to sage-s...@googlegroups.com
Thank you very much, the folder is SageMath and was downloaded on Ubuntu 20.04 from the source code.

On Sat, Dec 19, 2020, 5:22 PM Jan Groenewald <j...@aims.ac.za> wrote:
Hi

On Sat, 19 Dec 2020 at 10:32, Karima Shahzad <karima...@gmail.com> wrote:
Hello,

I want to safely uninstall Sage (all the packages), I tried running "sudo apt-get remove sagemath-upstream-binary" as I had installed from the source code binary, and it worked. Sage is inaccessible now via the terminal, but the directory is yet there including all the contents. Should I assume that it emptied all the occupied space? Can I move the folder directly to the trash?

sagemath-upstream-binary is from a PPA that was discontinued in 2017, and last available on Ubuntu 14.04 Trusty (which is end of life since April 2019). The apt-get command you used would have removed it.

If you also downloaded source or a binary, perhaps for a newer sage version, that would not be affected by apt. If you have no personal files, documents, for example notebooks in there, you can safely delete it. The folder might be called SageMath if it is a newer version or something sage-7.4-ubuntu-14.04.  You can move that directly to Trash.

Regards,
Jan



--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_2o7pr8ZBp4qHN6G0rsKPbHpwSmGhSNEXk1iWNT%2BPn%2B3g%40mail.gmail.com.
Karima
Reply all
Reply to author
Forward
0 new messages