{"id":14966192,"url":"https://github.com/tyil/lonestar","last_synced_at":"2026-01-18T18:32:22.415Z","repository":{"id":85800320,"uuid":"127010566","full_name":"Tyil/lonestar","owner":"Tyil","description":"A small Bash application to install the Rakudo Star Perl 6 distribution","archived":false,"fork":false,"pushed_at":"2019-10-14T12:42:57.000Z","size":57,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T20:17:51.184Z","etag":null,"topics":["bash","bash-script","installer","installer-script","perl6"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tyil.png","metadata":{"files":{"readme":"README.adoc","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-27T15:47:37.000Z","updated_at":"2020-11-07T19:49:27.000Z","dependencies_parsed_at":"2023-03-13T06:46:26.243Z","dependency_job_id":null,"html_url":"https://github.com/Tyil/lonestar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyil%2Flonestar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyil%2Flonestar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyil%2Flonestar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyil%2Flonestar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tyil","download_url":"https://codeload.github.com/Tyil/lonestar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157070,"owners_count":20893202,"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":["bash","bash-script","installer","installer-script","perl6"],"created_at":"2024-09-24T13:35:59.011Z","updated_at":"2026-01-18T18:32:22.409Z","avatar_url":"https://github.com/Tyil.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= LoneStar\n:toc: preamble\n\nA small Bash application to install the\nhttps://rakudo.perl6.org/downloads/star/[Rakudo Star] https://perl6.org[Perl 6]\ndistribution.\n\n== Installation\n=== Archlinux\nLoneStar https://aur.archlinux.org/packages/lonestar/[is available in the AUR],\nand can be installed from there.\n\n[source,sh]\n----\ncd -- \"$(mktemp -d)\"\ngit clone https://aur.archlinux.org/lonestar.git .\nmakepkg -csi\n----\n\n=== Debian and derivatives (e.g. Ubuntu)\n[source,sh]\n----\napt install build-essential git curl sudo\ncd -- \"$(mktemp -d)\"\ngit clone https://github.com/tyil/lonestar.git .\nsudo make install\n----\n\n=== Gentoo and derivatives (e.g. Funtoo)\nLoneStar is included in the\nhttps://github.com/scriptkitties/overlay[Scriptkitties Overlay], which should\nwork for any distribution using Portage. There are\nhttps://github.com/scriptkitties/overlay#installation[overlay installation\ninstructions] available at the README in the overlay repository.\n\nOnce the overlay has been set up, you can install LoneStar using `emerge`:\n\n[source,sh]\n----\nemerge dev-util/lonestar\n----\n\n=== From source\nTo install the application from the plain sources, run the following commands.\n\n[NOTE]\n====\nYou'll need the following dependencies to be available: `git`, `make`, `curl`,\n`perl`. If you want to install to `/usr`, you'll also need some way to run\n`make install` with root, such as `sudo`.\n====\n\n[source,sh]\n----\ncd -- \"$(mktemp -d)\"\ngit clone https://github.com/tyil/lonestar.git .\nmake install\n----\n\nThis will install the application into `/usr`. `make` can take a `DESTDIR` to\nchange the installation path if desired.\n\n== Usage\n[TIP]\n====\nTL;DR: `lonestar install \u0026\u0026 eval $(lonestar init)` to get started, `echo 'eval\n$(lonestar init)' \u003e\u003e \"$HOME/.$(ps -p $$|tail -n1|awk '{print $NF}')rc\"` to set\nthe `PATH` for new shells as well.\n====\n\nFor information on how to use the application, you can use the `help` command.\n\n[source,sh]\n----\nlonestar help\n----\n\nTo install the latest Rakudo Star distribution you can use `install`.\n\n[source,sh]\n----\nlonestar install\n----\n\nOptionally, you can give it a year.month release name, for example `2018.01`.\nThis will install the given version. If the version does not exist, an error\nwill be returned.\n\nTo get the path to the directory containing the highest version of Rakudo Star\nyou have installed, use the `path` command.\n\n[source,sh]\n----\nlonestar path\n----\n\nYou can also have LoneStar update the `PATH` for you to include the `bin`\ndirectory (with the `perl6` executable) with the `init` command.\n\n[source,sh]\n----\neval $(lonestar init)\n----\n\nBoth `path` and `init` will use the latest available Rakudo Star you have\ninstalled. Optionally, they can use a `year.month` release name. This will then\nuse the given version for the paths. If the given version is not available, an\nerror will be returned.\n\nTo add these paths to your `PATH` for new shells as well, add it to your\nshell's configuration file. Using most shells, you can use the magic line `ps\n-p $$|tail -n1|awk '{print $NF}'` to inject your current shell's name.\n\n[source,sh]\n----\necho 'eval $(lonestar init)' \\\n  \u003e\u003e \"$HOME/.$(ps -p $$|tail -n1|awk '{print $NF}')rc\"\n----\n\n=== Configuration\nConfiguration is done using a `bash` script with `export` statements. This is\ndone to keep the application simple. The configuration file should exist at\n`${XDG_CONFIG_HOME}/lonestar/config.sh`. If `$XDG_CONFIG_HOME` is not set,\n`$HOME/.config` will be assumed.\n\nThe following configuration options can be set:\n\n- `RAKUDO_ROOT` - The path where the Rakudo Star distributions will be\n  installed.\n\nThe defaults are specified in `etc/lonestar/user.sh`, which can serve as an\nexample config file as well if you're unsure of how to use it.\n\n== License\nThis application is released under the terms of the GNU AGPL version 3 or\nlater. For more information, refer to the `LICENSE.txt` file provided in the\nsource tree.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyil%2Flonestar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyil%2Flonestar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyil%2Flonestar/lists"}