Proposal for a package management system for ReactOS
Moderator: Moderator Team
-
- Posts: 38
- Joined: Tue Oct 16, 2018 1:28 pm
Proposal for a package management system for ReactOS
I know that ReactOS kinda technically has an 'Applications Manager' where you can install both free and proprietary 'freeware' software, although I wouldn't call it a 'true' package manager since it still just downloads the installer that would then install the actual software. And it also only installs applications, not libraries or other 'core' components.
I'm proposing having a package management system, similar to Debian's dpkg and APT and Red Hat's RPM, where as an alternative of installing software externally via .msi installers, a central repository can be used to install and upgrade Win32 applications and software as well. In addition, it can also be used to install and upgrade 'core' components, and would make upgrading the operating system a much easier process like in Linux distributions, instead of the old way for having to go to a website to install software. It would also allow for separate repository for 'core' components and higher level applications.
I know package managers like NuGet and Chocolatey already exists for Microsoft Windows, but those are for applications using the .NET Framework rather than the native Win32 API.
If I had to pick a good name for such a package manager, I propose naming it perhaps rpkg (ReactOS Package). Maybe there's a better way to name it.
I'm proposing having a package management system, similar to Debian's dpkg and APT and Red Hat's RPM, where as an alternative of installing software externally via .msi installers, a central repository can be used to install and upgrade Win32 applications and software as well. In addition, it can also be used to install and upgrade 'core' components, and would make upgrading the operating system a much easier process like in Linux distributions, instead of the old way for having to go to a website to install software. It would also allow for separate repository for 'core' components and higher level applications.
I know package managers like NuGet and Chocolatey already exists for Microsoft Windows, but those are for applications using the .NET Framework rather than the native Win32 API.
If I had to pick a good name for such a package manager, I propose naming it perhaps rpkg (ReactOS Package). Maybe there's a better way to name it.
Re: Proposal for a package management system for ReactOS
IMO we should not invent the wheel again. To get chocolatey working should be the target. This would avoid a huge amount of maintenance work. As long as this is not done, Rapps does its work. Just my 2 cents.
Re: Proposal for a package management system for ReactOS
The RAPPS app manager is fine.
Skillset: VMS sysadmin 20 years, fault Tolerance, cluster, Vax, Alpha, ftSparc. DCL, QB45, VB6, NET, PHP, JS, CMS, Graphics, Project Manager, DOS, Windows admin from 1985. Quad Electronics. Classic cars & motorbikes. Artist watercolours. Historian.
-
- Posts: 15
- Joined: Mon Mar 16, 2020 4:04 am
Re: Proposal for a package management system for ReactOS
Chocolatey sounded interesting, but a 2nd look was less appealing. It requires .NET, PowerShell and TLS 1.2+. In order to use the online-installer you have to register. There exists an offline-installer too, but the instructions looked a bit messy. And they already discontinue support for W7 and W2008 server. So Chocolatey is IMO not appropriate.
IMO a good package-manager should be simple, standalone and suitable for "older" systems. RAPPS is fine.
IMO a good package-manager should be simple, standalone and suitable for "older" systems. RAPPS is fine.
-
- Posts: 528
- Joined: Thu Jan 10, 2013 6:17 pm
- Contact:
Re: Proposal for a package management system for ReactOS
Yeah, I think the idea of this as a project isn't bad - just not something that ROS devs should have added to their workload. If anyone has the time and interest, by all means start working on an XP-compatible package manager. Then once it's working, it could be added to RApps for easy install in ROS.
Re: Proposal for a package management system for ReactOS
to install you run 2 or three commands in PowerShellTMStreicher wrote: ↑Tue Mar 24, 2020 10:51 pm In order to use the online-installer you have to register. There exists an offline-installer too, but the instructions looked a bit messy. And they already discontinue support for W7 and W2008 server. So Chocolatey is IMO not appropriate.
1)Get-ExecutionPolicy
2)if Restricted
Code: Select all
Set-ExecutionPolicy AllSigned
Code: Select all
Set-ExecutionPolicy Bypass -Scope Process
Code: Select all
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
PowerShell Core is open source I do not know if the license is GPL compatible or if PowerShell Core can run Chocolatey and i do not know if PowerShell Core will install and run on ReactOS
-
- Posts: 15
- Joined: Mon Mar 16, 2020 4:04 am
Re: Proposal for a package management system for ReactOS
Thank you for the explanations, MadWolf.
As it turned out RApps already provides a 3rd-party package-manager, Npackd, which even seems to work (very slowly), So the suggestion in the OP might already have been.treated satisfactorily.
As it turned out RApps already provides a 3rd-party package-manager, Npackd, which even seems to work (very slowly), So the suggestion in the OP might already have been.treated satisfactorily.
-
- Posts: 1
- Joined: Tue Mar 31, 2020 3:52 am
Re: Proposal for a package management system for ReactOS
Personally the biggest problem I have with package managers (the way I know them from linux) is that as an average user you have no idea where it stores all the packages needed for the applications, making it next to impossible to backup an application to make it "portable" for use on other linux distros.
With most Windows applications you can just .zip the folder with the application you want to back up and it will just work on any system where you unzip it because all files needed to run the application are in that folder. Sometimes the settings end up in Username/AppData/Local or something, but you can back up those too. With linux the files are so damn scattered you have no idea what file belongs to what.
So IF ReactOS were to get a package manager, it shouldn't download dependency files and drop them into random system folders. They should be put straight where the application is. That way you have all your applications nice and portable.
With most Windows applications you can just .zip the folder with the application you want to back up and it will just work on any system where you unzip it because all files needed to run the application are in that folder. Sometimes the settings end up in Username/AppData/Local or something, but you can back up those too. With linux the files are so damn scattered you have no idea what file belongs to what.
So IF ReactOS were to get a package manager, it shouldn't download dependency files and drop them into random system folders. They should be put straight where the application is. That way you have all your applications nice and portable.
-
- Posts: 15
- Joined: Mon Mar 16, 2020 4:04 am
Re: Proposal for a package management system for ReactOS
I think you don't have to worry. Both Windows and most applications are designed to work your preferred way., When I dabbled around with Npackd it displayed an installer-window. but I only had to confirm the license agreement. So I assume it uses traditional installers, combined with unattened installations.kasenshlogga wrote: ↑Tue Mar 31, 2020 4:02 am So IF ReactOS were to get a package manager, it shouldn't download dependency files and drop them into random system folders. They should be put straight where the application is.
Who is online
Users browsing this forum: Ahrefs [Bot], Yandex [Bot] and 5 guests