> On Mar 26, 2025, at 4:47 AM, Stu via Freedos-user > <freedos-user@lists.sourceforge.net> wrote: > > I started looking at FDINST and friends, and realised that in DOSEMU2, > although packages are installed, that is done in Linux. > > I'd like to investigate installing these in DOS itself, but once I installed > FDNPKG, FDINST etc I realised that some setup was needed. > > So, what do I need to do to setup FDINST and friends there ? > > > (The current situation is that there is a script insfdusr, which uses linux > to unpack a lot of packages, I'd like to experiment with making that use the > packager instead).
That can vary based on where the FDNPKG is zip archive/package is retrieved from. But, the basics are: 1) The three files FDNPKG.EXE, FDINST.EXE and FDNPKG.CFG should be in the same directory. Usually, the same path as the DOS binaries. In FreeDOS, this is usually under C:\FreeDOS\BIN 2) TEMP directory must be present and defined using the TEMP environment variable 3) Most configs rely on the DOSDIR environment variable. In FreeDOS this is C:\FreeDOS 4) Some configs may also need DOSDRV environment variable. Which would be C:. 5) Depending on where FDNPKG is downloaded, you may need to change the REPO URLS. If you do not have networking support under DOS, you don’t need to worry about that. Also, most modern download repos contain a FDNPKG.CFG file with the settings for that repository. 6) You can switch configurations for FDNPKG and FDINST by setting an environment variable that points to the configuration you wish to use. If the variable is not set, those programs will just try to load and use the defaults settings file. For example, if the variable was set to use the default file in FreeDOS, it would be “FDNPKG.CFG=C:\FreeDOS\BIN\FDNPKG.CFG” 7) When installing with either program, to install a package on the local file system. You should generally be in the same directory as the package and run “FDNPKG install animator.zip” (or the same with FDINST). 8) If networking is supported, FDNPKG can install from the online repository. Excluding the file extension will tell it to look there instead. Example, “FDNPKG install freedom” I think that sums it up. :-) Jerome _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user