{"id":25442311,"url":"https://github.com/basilean/retroarch_install","last_synced_at":"2026-02-25T09:36:53.612Z","repository":{"id":277382122,"uuid":"932254816","full_name":"basilean/retroarch_install","owner":"basilean","description":"This script will help you to install RetroArch from a Lakka image to an already working OS LibreELEC with Kodi.","archived":false,"fork":false,"pushed_at":"2025-03-03T17:59:51.000Z","size":52,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T23:18:08.744Z","etag":null,"topics":["kodi","lakka","libreelec","libretro","retroarch"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/basilean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-02-13T16:11:32.000Z","updated_at":"2025-05-10T23:36:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec989adc-42ad-4315-85ed-cce740519803","html_url":"https://github.com/basilean/retroarch_install","commit_stats":null,"previous_names":["basilean/retroarch_install"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basilean/retroarch_install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilean%2Fretroarch_install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilean%2Fretroarch_install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilean%2Fretroarch_install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilean%2Fretroarch_install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basilean","download_url":"https://codeload.github.com/basilean/retroarch_install/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basilean%2Fretroarch_install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29816200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["kodi","lakka","libreelec","libretro","retroarch"],"created_at":"2025-02-17T13:18:04.953Z","updated_at":"2026-02-25T09:36:53.587Z","avatar_url":"https://github.com/basilean.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This script will help you to install RetroArch from a Lakka image to an already working OS LibreELEC with Kodi.\n\nOriginal post:  \nhttps://forum.libreelec.tv/thread/29500-libreelec-kodi-lakka-retroarch\n\n# Getting Started\nConnect to LibreElec device by ssh.\n```bash\nssh root@LibreElec\n```\n\nOnce there, run the script.\n```bash\nwget -q -O - https://raw.githubusercontent.com/basilean/retroarch_install/refs/heads/main/retroarch_install.sh | bash\n```\n\u003e It takes approx 25 minutes to complete.\n\nNow you have a RetroArch link in your favourites, click on it and wait 5 seconds (first time takes longer).\n\n# Hacking It\nDownload the script.\n```bash\nwget -q https://raw.githubusercontent.com/basilean/retroarch_install/refs/heads/main/retroarch_install.sh\n```\n\nEdit it.\n```bash\nvi retroarch_install.sh\n```\n\n```bash\nVERSION=6.x-20250207-0af7dae\n```\n\u003e It needs to be a valid version from releases or nightly.  \n\u003e https://github.com/libretro/Lakka-LibreELEC/releases  \n\u003e https://nightly.builds.lakka.tv/latest  \n\n```bash\nDIR_INSTALL=${HOME}/retroarch\n```\n\u003e Destination for retroarch.  \n\u003e Also used as temporal over installation by default.  \n\u003e\u003e DIR_TMP=${DIR_INSTALL}/tmp\n\n```bash\nDEVICE=\nARCH=\n```\n\u003e Empty DEVICE or ARCH will get it from the \"/etc/release\" file.\n\nRun it.\n```bash\nbash retroarch_install.sh\n```\n\n# Clean to Start Over\nRemove install directory.  \n${DIR_INSTALL}  \n\u003e Usually: /storage/retroarch\n\nRemove link.  \n${HOME}/.config/retroarch  \n\u003e Usually: /storage/.config/retroarch\n\n# Troubleshoot RetroArch\nEdit systemd service.\n```bash\nvi /storage/.config/system.d/retroarch.service\n```\n\nChange this line adding arguments.\n```bash\nExecStart=/storage/retroarch/retroarch -v --log-file=/tmp/retroarch.log\n```\n\nReload systemd\n```bash\nsystemctl daemon-reload\n```\n\nNext time you run it it will create log file.\n```bash\ntail /tmp/retroarch.log\n```\n# BIOS\nI wrote this script to help download BIOS from a Internet Archive collection.\n```bash\nwget -q -O - https://raw.githubusercontent.com/basilean/retroarch_install/refs/heads/main/retrobios_install.py | python3\n```\n\n# Run as IAGL External Command\nIt came from the original post.\n\nCreate a wrapper script to handle environment variables for service.\n```bash\nvi  /storage/retroex.sh \n```\n```bash\necho \"SYSTEM=${1}\" \u003e /tmp/iagl.conf # Manual for list.\necho \"ROM=${2}\" \u003e\u003e /tmp/iagl.conf # XXROM_PATHXX\n\nsystemctl start retroarch\n```\n\nMake it executable.\n```bash\nchmod 755 /storage/retroex.sh\n```\n\nChange service\n```bash\nvi /storage/.config/system.d/retroarch.service\n```\n```bash\n# Comment old exec line.\n# ExecStart=/storage/retroarch/retroarch\n\n# Add script output file with vars.\nEnvironmentFile=/tmp/iagl.conf\n\n# Customize retroarch init flags to your like!\nExecStart=/storage/retroarch/retroarch -L ${SYSTEM} ${ROM}\n```\n\nRemember to reload systemd\n```bash\nsystemctl daemon-reload\n```\n\nWhen set external command for a list at IAGL, follow this pattern:\n```bash\n/storage/retroex.sh SYSTEM \"ROM\"\n```\nSYSTEM -\u003e Whatever goes with -L indicating core to use, set it manually for that list.  \nROM -\u003e It is replaced by iagl with rom path of your choice. Note that is important to use quotes to avoid issues with white spaces.\nNOTE: XXROM_PATHXX is an IAGL meta variable representing rom path.\n\n```bash\n/storage/retroex.sh fbneo \"XXROM_PATHXX\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilean%2Fretroarch_install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasilean%2Fretroarch_install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilean%2Fretroarch_install/lists"}