fluxion icon indicating copy to clipboard operation
fluxion copied to clipboard

Uninstaller.sh to uninstall all dependencies which was used to auto-installed to run Fluxion.

Open PranavBhattarai opened this issue 3 years ago • 0 comments

I think its a pretty common thing to provide a simple uninstaller script which rolls backs user to the previous state where he/she hasn't installed a program using Installer.sh script.

There may be various reasons why a user wants to uninstall the software. Reason like: i) Users don't need it anymore. ii) User might have mistakenly installed it in host OS instead of guest OS. iii) Users might want to leave no trace behind before he/she gets in serious trouble. So he/she wants to purge it as fast as possible. etc, there could be many more.

I really think its a good idea to provide uninstaller script. It makes life easy. Instead of tracking/remembering all dependencies/packages Fluxion needed and trying to uninstall them one-by-one is very painful.

Honestly, this script will be very helpful for noobs like me. Please make a simple uninstaller script that completely wipes every track of Fluxion and the list of dependencies/packages it needed to run the program.

Sincerely, A humble fluxion user.

Note: A uninstaller script should uninstall only those script those packages/dependencies which was installed while installing fluxion. This will be very tricky & hard to do because let's say a package named A was already installed by a user or comes preinstalled in distribution, then will how will the Fusion uninstaller script know about this? Because uninstalling "A" can/might damage the entire OS state. This is not good. Take openssl for example. This pacakge is on the list of 'pacakge-to-be-installed' for installing fluxion. If u dare to uninstall it, then only God can save you, 😅

A solution to this (I am not a programmer): Fluxion needs to remember the packages which were actually installed during installation fluxion, NOT the overall package it need to run itself. By doing this, only the new packages which were installed a moment ago will be uninstalled.

PranavBhattarai avatar Sep 20 '20 08:09 PranavBhattarai