Get rid of snap packages and install flatpak apps support
This script helps in removing the snap
packages and install support for flatpak
apps.
This script will be helpful for those users who prefer flatpaks over snaps.
This script is released as v1.0
on September 1,2023.
This script has been tested on Kubuntu linux 23.04
. This script will work on any Ubuntu based linux distro with snaps using kde-plasma desktop environment
.
If you need gnome software center
instead of kde software center, you can check out this repo.
Clone this repo or download the zip from releases section and unzip it.
git clone https://github.com/sudeepbm/snap-to-flatpak-kde.git
Then move to the snap-to-flatpak-kde directory
cd snap-to-flatpak-kde
Make the script executable by the following command.
chmod +x snap-to-flatpak-kde
Then run snap-to-flatpak-kde.sh
script as a sudo user.
sudo ./snap-to-flatpak-kde
After this confirm to execute the script by typing Y
or y
or YES
or yes
. If you want to terminate the execution of the script at this stage, type N
or n
or NO
or no
.
Note : Please make sure to execute this script as a sudo user.
-
The script will list all snap packages installed and remove them one by one until all snaps are removed completely. Then it will remove the snapd package permanently. It will then create a preference file to prevent the downloading of snaps in future.
-
The script will then install
KDE Software Centre
. -
Firefox
will be installed from the official mozilla repositories and creates a preference file to give priority to the mozilla repositories for future updates of Firefox. -
Flatpak
support will be added by installing flatpak plugin for the gnome software centre and adding the flatpak repo. -
Wait patiently for the script to complete it's work.
Note : This script will delete all data of snap packages and will not be recoverable unless you have taken an earlier backup
If you have any feedback, please reach out to me at Mail
It is important to clarify that the intention here is not to criticize the quality of Snaps or to cause any form of harm. The provided script intends to offer assistance to individuals who hold a preference for Flatpaks.
This script is provided as-is. Use it at your own risk. it worked on my system so idk if it will work on yours.
Licensed under MIT LICENSE
If you found this repo useful, don't hesitate to share with others.
Feel free to report issues if any.