I deleted ~/.sage but can still run sage from terminal?

asked 2019-12-20 18:34:52 -0500

Porcellino gravatar image

updated 2019-12-20 18:48:21 -0500

Hi,

I was using sage 8.1 on Ubuntu 18.04.2. Sage was behaving weirdly, so I wanted to delete and reinstall it. However even after deleting ~/.sage I can still run sage from the terminal. What should I do?

Thanks in advance!

Edit: now I have downloaded sage-8.9-Ubuntu_18.04-x86_64.tar.bz2 and extracted the content. When I type sage in terminal in the directory SageMath, I still get the 8.1 version. However, when I type ./sage, I get the 8.9 version.

edit retag flag offensive close merge delete

Comments

2

How did you install Sage 8.1 ? Deleting ~/.sage only removes your personal "Sage startup directory", not the binary. Which seems still to be in your $PATH.

Removing the old binary depends on how you installed it...

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2019-12-21 04:26:01 -0500 )edit