Ask Your Question

how do I uninstall sage in Ubuntu 14.04?

asked 2015-06-17 10:58:17 +0200

naveen gravatar image

I installed sage on Ubuntu 14.04. how do i uninstall/remove it completely?

edit retag flag offensive close merge delete


How did you install it ? With the PPA ? Froma a downloaded binary ? Compiled from sources ?

tmonteil gravatar imagetmonteil ( 2015-06-17 13:12:35 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-17 13:31:44 +0200

tmonteil gravatar image

updated 2015-06-17 13:32:31 +0200

It depends on how you installed Sage.

if you installed it from the PPA, the following should work (not tested, please tell us):

sudo apt-get remove sagemath-upstream-binary

If you unpacked a binary from the moirrors or if you compiled the binaries yourself, just remove the directory in which you put Sage.

Also, if you also want to remove your own worksheets and configurations, in both cases you can do:

rm -rf ~/.sage
edit flag offensive delete link more


Thank you for your answer. Now sage cannot be accessed in terminal. But the directory is still there. Can I remove that too. Because it shows error when I tried to install sage later. I want to install it properly along with sage manifold.

naveen gravatar imagenaveen ( 2015-06-17 15:58:56 +0200 )edit

Yes you can remove it. Did you use the PPA ?

tmonteil gravatar imagetmonteil ( 2015-06-17 16:08:04 +0200 )edit

Yes I used PPA. Now what is the procedure to remove it properly and install again?

naveen gravatar imagenaveen ( 2015-06-18 11:22:59 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-17 10:58:17 +0200

Seen: 4,929 times

Last updated: Jun 17 '15