Synology: How to Delete Python2

Synology How to Delete Python2

Have you happened to notice that you can’t delete the Python2 package from Synology Package Center? If, for one reason or another, you are not interested in the package and you want to have nothing to do with Python2, today I will teach you how to permanently delete it from your NAS. Remember, even if you delete the Python2 package, if you change your mind, you can always easily reinstall it with just one click directly from Synology’s Package Center. What is Python2? Python is an interpreted, interactive, and object-oriented programming language suitable for distributed application development, scripting, numeric computing and system testing. With Python, you can develop or integrate your systems more quickly and effectively.

Note: Some packages have a dependency on Python2 so, before you uninstall it, make sure you don’t have other packages that depend on it like “Download Station” and “MailPlus Server”. In any case, you can reinstall Python2 with just one click.

Python2 Remove Delete Uninstall DSM7 Synology NAS 1

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

Python2 Remove Delete Uninstall DSM7 Synology NAS 2

  • STEP 3

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in Uninstall Python2. Uncheck the “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that, click OK.
/usr/syno/bin/synopkg uninstall Python2

Python2 Remove Delete Uninstall DSM7 Synology NAS 3

  • STEP 4

After you click OK on STEP 3 a new warning pop up window will open. Click OK.

Python2 Remove Delete Uninstall DSM7 Synology NAS 4

  • STEP 5

After you click OK on STEP 4, select your “Uninstall Python2” Task then click the “Run” tab. You will be asked to run Uninstall Python2 – click Yes. Follow the instructions in the image below.

Python2 Remove Delete Uninstall DSM7 Synology NAS 5

Note: The process to uninstall Python2 will initialize automatically immediately after you click Yes.
Note: If you change your mind, you can always easily reinstall Python2 with just one click directly from Synology’s Package Center.

This post was updated on Monday / December 13th, 2021 at 12:13 PM