{"id":13616978,"url":"https://github.com/clearlinux/clr-installer","last_synced_at":"2025-04-05T00:07:02.780Z","repository":{"id":39659001,"uuid":"141738851","full_name":"clearlinux/clr-installer","owner":"clearlinux","description":"Clear Linux* OS Installer","archived":false,"fork":false,"pushed_at":"2025-03-12T20:35:15.000Z","size":8827,"stargazers_count":95,"open_issues_count":75,"forks_count":42,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T23:05:30.464Z","etag":null,"topics":["golang","hacktoberfest","installer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clearlinux.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-20T17:16:35.000Z","updated_at":"2025-03-12T19:03:17.000Z","dependencies_parsed_at":"2023-11-14T23:31:10.158Z","dependency_job_id":"15957e26-efb3-46ba-80af-e88c97b44fc0","html_url":"https://github.com/clearlinux/clr-installer","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearlinux%2Fclr-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearlinux%2Fclr-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearlinux%2Fclr-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clearlinux%2Fclr-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clearlinux","download_url":"https://codeload.github.com/clearlinux/clr-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266563,"owners_count":20910836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","hacktoberfest","installer"],"created_at":"2024-08-01T20:01:35.499Z","updated_at":"2025-04-05T00:07:02.755Z","avatar_url":"https://github.com/clearlinux.png","language":"Go","readme":"# Clear Linux Installer\n\n## Clear Linux OS Security\nAs the installer is a part of the Clear Linux OS distribution, this program follows the [Clear Linux OS Security processes](https://clearlinux.org/documentation/clear-linux/concepts/security).\n\n## Dependencies\nIn order to build and run clr-installer, install the latest clr-installer bundle:\n\nText-based only\n```\nswupd bundle-add clr-installer\n```\n\nGraphical installer\n```\nswupd bundle-add clr-installer-gui\n```\n\n## How to test?\nMake sure there is free storage space, such as a USB memory stick, unallocated disk, or unallocated (free) partition on a disk and choose it while running the installer.\n\n## Clone this repository\n\n```\ngit clone https://github.com/clearlinux/clr-installer.git\n```\n\n## Build the installer\n\n### Pre-requisties\nWe have compiled all the tools you need to start building clr-installer in a single development bundle called `clr-installer-dev`.\n\nInstall it using:\n```\nswupd bundle-add clr-installer-dev\n```\n\n```\ncd clr-installer \u0026\u0026 make\n```\n\n## Install (installing the installer)\n\nTo create a bootable image which will contains the installer, use the [developer-image.yaml](../master/scripts/developer-image.yaml) as the config file.\n```\nsudo .gopath/bin/clr-installer --config scripts/developer-image.yaml\n```\nRefer to [InstallerYAMLSyntax](../master/scripts/InstallerYAMLSyntax.md) for syntax of the config file.\n\nCreate a bootable installer on USB media:\n```\nsudo .gopath/bin/clr-installer --config scripts/developer-image.yaml --iso\nsudo dd if=installer.iso of=\u003cusb device\u003e bs=4M status=progress\n```\n\n\u003e Note: Replace ```\u003cusb device\u003e``` with the usb's device file as follows:\n\u003e\n\u003e sudo dd if=installer.iso of=/dev/sdb bs=4M status=progress\n\u003e\n\n## Testing [Run as root]\n\nIn order to execute an install the user must run clr-installer as root. It's always possible to tweak configurations and only __save__ the configuration for future use, in that case it's not required to run as root.\n\nHaving said that, to run a install do:\n\n```\nsudo .gopath/bin/clr-installer\n```\n\n# Multiple Installer Modes\nCurrently the installer supports 3 modes\n1. Mass Installer - using an install descriptor file\n2. TUI - a text based user interface\n3. GUI - a graphical user interface\n\n## Using Mass Installer\nIn order to use the Mass Installer provide a ```--config```, such as:\n\n```\nsudo .gopath/bin/clr-installer --config ~/my-install.yaml\n```\n\n## Using TUI\nCall the clr-installer executable without any additional flags, such as:\n\n```\nsudo .gopath/bin/clr-installer\n```\nor\n```\nsudo .gopath/bin/clr-installer-tui\n```\n\n\n## Using GUI\nCall the clr-installer executable without any additional flags, such as:\n\n```\nsudo .gopath/bin/clr-installer-gui\n```\n\n## Reboot\nFor scenarios where a reboot may not be desired, such as when running the installer on a development machine, use the ```--reboot=false``` flag as follows:\n\n```\nsudo .gopath/bin/clr-installer --reboot=false\n```\n\nor if using the Mass Installer mode:\n\n```\nsudo .gopath/bin/clr-installer --config ~/my-install.yaml --reboot=false\n```\n\n","funding_links":[],"categories":["HarmonyOS","Go"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearlinux%2Fclr-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclearlinux%2Fclr-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearlinux%2Fclr-installer/lists"}