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

[FEATURE] linux installer uninstaller option #250

Open
Utopiah opened this issue Nov 18, 2024 · 2 comments
Open

[FEATURE] linux installer uninstaller option #250

Utopiah opened this issue Nov 18, 2024 · 2 comments
Assignees
Labels
💡 feature request New feature or request

Comments

@Utopiah
Copy link

Utopiah commented Nov 18, 2024

Feature Description

It would be great to have a way to uninstall properly.

Similar Features or References

For now I'm doing nexa remove on models downloaded.

Cleaning up /etc/environment then systemctl disable nexa.service

and finally manually deleting :

/usr/local/bin/nexa /opt/nexa-linux-cuda/ /etc/systemd/system/nexa.service

but maybe I forgot something or maybe there is a better way.

@Utopiah Utopiah added the 💡 feature request New feature or request label Nov 18, 2024
@zhycheng614
Copy link
Collaborator

Do you mean uninstall the installed linux executable?

Unlike on MacOS or on Windows, to uninstall nexa-sdk executable on linux, you need to run the following commands:

  1. sudo rm -rf /opt/nexa-linux-cuda (or sudo rm -rf /opt/nexa-linux-cpu if you are not using cuda)
  2. sudo rm -rf /usr/local/bin/nexa and sudo rm -rf /usr/local/bin/nexa-exe

@Utopiah
Copy link
Author

Utopiah commented Nov 19, 2024

I mean uninstall everything, being able to do the inverse of the installer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants