How to uninstall this command ? ```
curl -L https://raw.githubusercontent.com/denis-g/steam-deck-optimization-guide/master/scripts/steamos_optimization.sh | sh.
Because I need to uninstall it on my Steam Deck because there is better than this command of A.B.T
This is a great example of why devs need to stop using sh scripts to setup their software. Perhaps with an immutable filesystem this is simpler, but surely there’s a better way.
Do the opposite of all this, assuming you ran this script some time between 2024 and now:
IIRC SteamOS reinstalls itself every update. Just updating the software will probably undo all of these changes.
Changes made to
/etc
are kept in an overlay partition.
By far the simplest solution would be a factory reset.
Based on what others have posted: that script created (or possibly overwrote without making backups) a number of system files. You would need to figure out what, if anything, was in the original files and manually restore them.
I think you may be misunderstanding what the command did. This command basically downloaded a shell script with
curl
, then ran it withsh
. If you’re familiar with Windows this is equivalent to downloading and running a Batch or PowerShell script.EDIT: someone else has posted the shell script you ran. You essentially need to manually undo whatever is in the script in the terminal.
There is no file at that URL (anymore).
If that was the case when you tried this, nothing happened.
If there was a script there when you did this, the only option is to restore from backup.
I didn’t understand what you mean. This command allows to install on Steam Deck under SteamOS to improve SD performance, I used this guide in the past. But I don’t know how to uninstall it, that’s what I want
I don’t think it will be possible because I have never made a backup on my Steam Deck