.NET Runtime 8
Silent install package for .NET Runtime 8
8.0.33-1
Dependency
Dependency
- package: tis-dotnet8
- name: .NET Runtime 8
- version: 8.0.33-1
- categories: Dependency
- maintainer: WAPT Team,Tranquil IT,Stan SALOMON
- editor: Microsoft
- licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
- locale: all
- target_os: darwin
- architecture: arm
- signature_date:
- size: 29.05 Mo
- homepage : https://github.com/dotnet/runtime
package : tis-dotnet8
version : 8.0.33-1
architecture : arm
section : base
priority : optional
name : .NET Runtime 8
categories : Dependency
maintainer : WAPT Team,Tranquil IT,Stan SALOMON
description : .NET Runtime is the free, cross-platform and open-source runtime from Microsoft required to run console applications, services and libraries built with .NET
depends :
conflicts :
maturity : PROD
locale : all
target_os : darwin
min_wapt_version : 2.5
sources : https://github.com/dotnet/runtime
installed_size :
impacted_process :
description_fr : .NET Runtime est l'environnement d'exécution gratuit, multiplateforme et open source de Microsoft, nécessaire pour faire fonctionner les applications console, services et bibliothèques développés en .NET
description_pl : .NET Runtime to darmowe, wieloplatformowe środowisko uruchomieniowe firmy Microsoft o otwartym kodzie źródłowym, wymagane do uruchamiania aplikacji konsolowych, usług i bibliotek utworzonych w .NET
description_de : .NET Runtime ist die kostenlose, plattformübergreifende Open-Source-Laufzeitumgebung von Microsoft, die zum Ausführen von mit .NET erstellten Konsolenanwendungen, Diensten und Bibliotheken erforderlich ist
description_es : .NET Runtime es el entorno de ejecución gratuito, multiplataforma y de código abierto de Microsoft, necesario para ejecutar aplicaciones de consola, servicios y bibliotecas desarrollados con .NET
description_pt : O .NET Runtime é o ambiente de execução gratuito, multiplataforma e de código aberto da Microsoft, necessário para executar aplicações de consola, serviços e bibliotecas desenvolvidos com .NET
description_it : .NET Runtime è l'ambiente di esecuzione gratuito, multipiattaforma e open source di Microsoft, necessario per eseguire applicazioni console, servizi e librerie sviluppati con .NET
description_nl : .NET Runtime is de gratis, platformonafhankelijke en open-source runtime van Microsoft die nodig is om met .NET gebouwde consoletoepassingen, services en bibliotheken uit te voeren
description_ru : .NET Runtime — это бесплатная кроссплатформенная среда выполнения Microsoft с открытым исходным кодом, необходимая для запуска консольных приложений, служб и библиотек, созданных на .NET
audit_schedule :
editor : Microsoft
keywords : .net,desktop,windows,windowsdesktop,il,msil,clr,jit,fc,bcl,runtime,wpf,winforms,windows forms,Microsoft,net
licence : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage : https://github.com/dotnet/runtime
package_uuid : 0fd7ab13-8f83-44f1-a1ab-b36dc70b88ce
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/dotnet/core/tree/main/release-notes/8.0
min_os_version : 10.15
max_os_version :
icon_sha256sum : c13943b8f92a4717f46bad189c0b91d9003d76a0127a41459ec91693b263830c
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-11-15T12:53:16.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : Oen+Xc5HhYxkuWfXLOsC4ZO0hDndA4g+ysdsS8tr3k2jaz8T4S//tnAv9683s/PtC3pTmfaDsf75OoWXzvINH7OiOYSfl+Da2eqLeVC2gzs80YGY8rbBLAZMpiVNk7lgkr0Vn69Pr0CH9izWk+peDLIsi1OWM3+2Tq3PCRI+BJ6c07VChIYkKa2wzUHAs7YidZ0yYCMC729roXscjS/4vA3tpL0sz86A9mjjhCKTYPOpH2Ec5QKx5pUcQkpUd31vHmRF8R9Cs8T14DjoK1BO7PQno/gGoZEVAtxbsEjuTSR+5nOp/kMPzPWVD7Ai95zcmeRqDFOBeV4QzBrW6vtYOA==
# -*- coding: utf-8 -*-
from setuphelpers import *
arch = "arm64"
app_path = "/usr/local/share/dotnet"
sharedhost = f"com.microsoft.dotnet.sharedhost.component.osx.{arch}"
def version_pkgs(version):
return [
f"com.microsoft.dotnet.sharedframework.Microsoft.NETCore.App.{version}.component.osx.{arch}",
f"com.microsoft.dotnet.hostfxr.{version}.component.osx.{arch}",
]
def install():
version = control.get_software_version()
major = version.split(".")[0]
for pkg in get_installed_pkgs():
for prefix in ("com.microsoft.dotnet.sharedframework.Microsoft.NETCore.App.", "com.microsoft.dotnet.hostfxr."):
if pkg.startswith(f"{prefix}{major}") and pkg.endswith(f".osx.{arch}"):
uninstall_pkg(pkg)
install_pkg(glob.glob(f"dotnet-runtime-*-osx-{arch}.pkg")[0], key=f"pkgid:{version_pkgs(version)[0]}")
def uninstall():
for pkg in version_pkgs(control.get_software_version()):
if uninstall_key_exists(f"pkgid:{pkg}"):
uninstall_pkg(pkg)
# Remove the shared "dotnet" command only if no other .NET version is left
if not any(p.startswith("com.microsoft.dotnet.sharedframework.") for p in get_installed_pkgs()):
if uninstall_key_exists(f"pkgid:{sharedhost}"):
uninstall_pkg(sharedhost)
def audit():
version = control.get_software_version()
if not uninstall_key_exists(f"pkgid:{version_pkgs(version)[0]}"):
print(f"Missing receipt: {version_pkgs(version)[0]}")
return "ERROR"
try:
runtimes = run(f"{app_path}/dotnet --list-runtimes")
except Exception as e:
print(f"dotnet does not start: {e}")
return "ERROR"
if f"Microsoft.NETCore.App {version}" not in runtimes:
print(f"Microsoft.NETCore.App {version} not listed by dotnet --list-runtimes")
return "ERROR"
return "OK"
from setuphelpers import *
from setupdevhelpers import *
"""
https://builds.dotnet.microsoft.com/dotnet/release-metadata/{version}/releases.json
"""
dotnet_version = "8.0"
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
os_dict = {
"windows-x64": "win-x64",
"windows-x86": "win-x86",
"windows-arm64": "win-arm64",
"debian(>=11),ubuntu(>=20),redhat_based(>=8)-x64": "linux-x64",
"debian(>=11),ubuntu(>=20),redhat_based(>=8)-arm64": "linux-arm64",
"darwin-x64": "osx-x64",
"darwin-arm": "osx-arm64"
}
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
if not proxies:
proxies = get_proxies_from_wapt_console()
data = wgets(f"https://builds.dotnet.microsoft.com/dotnet/release-metadata/{dotnet_version}/releases.json", proxies=proxies, as_json=True)
runtime = data["releases"][0]["windowsdesktop"] if "windows" in control.target_os else data["releases"][0]["runtime"]
version = runtime["version"]
download_url = []
for asset in runtime["files"]:
if control.target_os == "windows":
if asset["name"].endswith(".exe"):
print("Found %s " % (asset["name"]))
download_url.append({
"url": asset["url"],
"latest_bin": asset["url"].split("/")[-1]
})
# No need to break here, because we want to download all the runtimes for the different architectures (x86, x64, arm64)
elif control.target_os == "darwin":
if asset["rid"] == os_dict[os_type] and asset["name"].endswith(".pkg"):
download_url = asset["url"]
latest_bin = download_url.split("/")[-1]
break
elif control.target_os == "debian(>=11),ubuntu(>=20),redhat_based(>=8)" and asset["rid"] == os_dict[os_type]:
download_url = asset["url"]
latest_bin = download_url.split("/")[-1]
break
arch = ensure_list(control.architecture)
print(arch)
if "arm64" in arch:
archs = ["arm64", "x64", "x86"]
if "x64" in arch:
archs = ["x64", "x86"]
if "x86" in arch:
archs = ["x86"]
# Checking version from file
if control.target_os == "windows":
print(archs)
print(download_url)
for dl_info in download_url:
if dl_info["latest_bin"].split("-")[-1].split(".exe")[0] in archs:
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % dl_info["url"])
if not isfile(dl_info["latest_bin"]):
print("Downloading: %s" % dl_info["latest_bin"])
wget(dl_info["url"], dl_info["latest_bin"], proxies=proxies)
else:
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
remove_outdated_binaries(version)
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Validating or not update-package-sources
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c84ac49d8711663fce0779d6de7d20bd59e2dc7f32f545885f43a35575122b8a : WAPT/control
c13943b8f92a4717f46bad189c0b91d9003d76a0127a41459ec91693b263830c : WAPT/icon.png
0cbf1f6b597d065751bf37cf7af67d2fca20c6e6956e64f1d4e14a9594b750fa : dotnet-runtime-8.0.33-osx-arm64.pkg
f5d07e7ec14b59ff714428b1b19dae0ba092e4a30457bbc9e6a50384f59a6ca4 : luti.json
82186a55f224e9a1f091a0bfcae288457199c6bab6ea77f0e887f2ad3acc2ca4 : setup.py
e32e9eb5cb87b0ce17ccb85f57db3bcd7a2ee368ab1e0ae80fb25a14e48e720d : update_package.py