Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the Linux installer #20176

Closed
aknight2015 opened this issue Dec 9, 2022 · 7 comments
Closed

Improvements to the Linux installer #20176

aknight2015 opened this issue Dec 9, 2022 · 7 comments

Comments

@aknight2015
Copy link

I installed using the bash file. Since I did that it's not showing as installed anywhere. So, how do I uninstall it?

@ccordoba12
Copy link
Member

Hey @aknight2015, thanks for reporting. Are you talking about the Linux experimental installer?

@aknight2015
Copy link
Author

Yes, the experiemental linux installer.

@ccordoba12
Copy link
Member

ccordoba12 commented Dec 9, 2022

Ok, did you install it for your user or with sudo?

@aknight2015
Copy link
Author

I used chmod a+x on the bash file, and executed as ./

@ccordoba12
Copy link
Member

ccordoba12 commented Dec 9, 2022

Ok, thanks. After the installer finishes, you should be able to start it using the facilities provided by Gnome Shell/KDE to run applications. What desktop environment are you using?

Also, could you take a look at this one @mrclary? Perhaps the installer should have a message at the end saying how to run the app and how to uninstall/remove it.

@mrclary
Copy link
Contributor

mrclary commented Dec 10, 2022

@aknight2015, I'm sorry you're having issues with the Linux installer.
You should find the following on your system if it was installed correctly:

  • the file /home/<user>/.local/share/applications/spyder_Spyder.desktop
  • the directory /home/<user>/.local/Spyder-5.4.1.dev0

On Ubuntu, you should be able to launch Spyder by searching in the Activities menu bar
Screenshot from 2022-12-09 15-51-47
or the Show Applications in the Dock
Screenshot from 2022-12-09 15-52-42

The permissions of the install script is a known issue. Another known issue is that the desktop file name should be spyder.desktop, not spyder_Spyder.desktop. If you change the name of the file, you should be able to pin Spyder in the Dock.
Screenshot from 2022-12-09 15-55-08

However, if this was not helpful to you, you should be able to uninstall Spyder by deleting the file and directory listed above. Thank you for reporting any issues that you find with our experimental installer; this will help us make necessary improvements and fixes.

@ccordoba12 ccordoba12 changed the title How to uninstall Improvements to the Linux installer Dec 27, 2022
@ccordoba12
Copy link
Member

ccordoba12 commented Dec 27, 2022

@mrclary, according to what you posted above, I have some suggestions for our Linux installer:

  • Add a spyder script to PATH so that Spyder can be started using a terminal. I'm suggesting this for two reasons:

    1. That's pretty common for Linux apps.
    2. Not all desktop environments (e.g. Fluxbox) have an app launcher, so we need to provide a simple mechanism to launch Spyder.
  • Add an uninstall-spyder script to PATH to easily uninstall Spyder from the terminal. That will help with the confusion reported by @aknight2015.

  • Add a message at the end of the installation process describing these scripts and also how to start Spyder in Gnome/KDE.

  • Use this file (or its png equivalent) for the app icon, so that it looks good in dark taskbars (as in the screenshot you posted above).

@ccordoba12 ccordoba12 removed their assignment Dec 27, 2022
@ccordoba12 ccordoba12 added this to the v5.4.2 milestone Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants