Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inceptusp/gnucobol_wsl
👨🏻💻 Script to automate the instalation of GnuCOBOL on Windows via WSL
https://github.com/inceptusp/gnucobol_wsl
automation cobol gnucobol powershell wsl
Last synced: 27 days ago
JSON representation
👨🏻💻 Script to automate the instalation of GnuCOBOL on Windows via WSL
- Host: GitHub
- URL: https://github.com/inceptusp/gnucobol_wsl
- Owner: inceptusp
- License: bsd-3-clause
- Created: 2020-07-23T08:30:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-19T12:04:13.000Z (over 3 years ago)
- Last Synced: 2024-11-07T11:12:03.884Z (3 months ago)
- Topics: automation, cobol, gnucobol, powershell, wsl
- Language: PowerShell
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GnuCOBOL on WSL 2
These scripts are here to automate the installation of GnuCOBOL 3.1.2 on Windows via WSL.
### Install Instructions
1. Clone the repo
2. Install WSL and Ubuntu following the instructions on the [Microsoft Docs](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
3. Open Powershell as admin in the repo folder
4. Execute this command: `powershell.exe -executionpolicy bypass -file "install-gnucobol.ps1"`
5. Configure your UNIX username and password, if asked.
- (OPTIONAL) Change all archive.ubuntu.com to XX.archive.ubuntu.com (where XX is the local ubuntu server from you country) in the screen and press Ctrl+X to exit and save, confirm with Y.
- If you don't want to change the download mirrors just press Ctrl-X to skip.---
TIP: Pay attention and insert your configured UNIX password aways when asked.
TIP: When finished, you can test your instalation by compiling and executing the `test.cbl` (it's a simple calculator) file included by executing
```PowerShell
wsl cobc -x test.cbl
wsl ./test
```
on PowerShell