Skip to main content

Delete previous versions of .Net Core and its runtime files.

Project description

Uninstall .Net Core SDK and Runtime

Uninstall previous .Net Core SDK's and its runtime files.

Note: You might need super user account to use this library.

Instillation

pip install dot-net-core-uninstaller

Usage

There are to ways to use this:

Using Command Line Interface (recommended)

Usage: dotnetcore [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show version and exit.
  --help     Show this message and exit.

Commands:
  list    List all the version of .Net Core installed.
  remove  Remove the version of .Net Core.

To list all installed .Net Core libraries

> dotnetcore list

Using with POSIX systems

To remove a version of .Net Core SDK or Runtimes:

> dotnetcore remove --sdk 1.0.0
> dotnetcore remove --runtime 1.0.0

Using with Windows systems

Note: Windows doesn't support removing runtime libraries individually from the uninstaller.

To remove a version of .Net Core SDK or Runtime:

> dotnetcore remove --sdk 1.0.0

Using as a Module

from dot_net_core_uninstaller import Uninstaller

remove_dotnet = Uninstaller()
remove_dotnet.delete_runtime("1.0.0")  # Does not work on Windows
remove_dotnet.delete_sdk("1.0.0")  # Does not work on Windows
remove_dotnet.delete_sdk_runtime_windows("1.0.0")  # Does not work on POSIX

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dot-net-core-uninstaller-0.3.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

dot_net_core_uninstaller-0.3.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file dot-net-core-uninstaller-0.3.0.tar.gz.

File metadata

  • Download URL: dot-net-core-uninstaller-0.3.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for dot-net-core-uninstaller-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eaca68de96122ed28015ff63e2532941a7187b6e2d23b055ebd9360423d86d67
MD5 0d301b0630114588b27c8e8f28a912f7
BLAKE2b-256 6784daaad08d4b02ac6e157626a2cb70668cdb8d944937f5fceae16bd2e11b39

See more details on using hashes here.

File details

Details for the file dot_net_core_uninstaller-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dot_net_core_uninstaller-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for dot_net_core_uninstaller-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52a4c4a76e9dab08e7e79d33e94823630fa37608fe3435e183c8c2425303223a
MD5 878738b43009d4f017ca7c8c8ce8ee81
BLAKE2b-256 953a38e13377d5b20009b5242183828ef9c6a1130a70ad6349bd8579348a5cc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page