{"id":23288543,"url":"https://github.com/kernferm/libre-office","last_synced_at":"2026-02-05T07:31:39.236Z","repository":{"id":244519553,"uuid":"815477338","full_name":"KernFerm/libre-office","owner":"KernFerm","description":"This PowerShell script automates the process of downloading and installing LibreOffice on Windows machines. It ensures that the script is run with administrator privileges, downloads the LibreOffice installer from the official mirror, and installs it to the specified directory.","archived":false,"fork":false,"pushed_at":"2024-10-26T20:23:05.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T22:46:09.998Z","etag":null,"topics":["installer-script","libra","libreoffice","office","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KernFerm.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2024-06-15T09:22:09.000Z","updated_at":"2024-12-30T22:29:52.000Z","dependencies_parsed_at":"2025-07-21T22:35:42.889Z","dependency_job_id":"d565e88e-4b3a-4ccc-b8ad-9dcf366b5958","html_url":"https://github.com/KernFerm/libre-office","commit_stats":null,"previous_names":["kernferm/libra-office","kernferm/libre-office"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/KernFerm/libre-office","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Flibre-office","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Flibre-office/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Flibre-office/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Flibre-office/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernFerm","download_url":"https://codeload.github.com/KernFerm/libre-office/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Flibre-office/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29115529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"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":["installer-script","libra","libreoffice","office","powershell","windows"],"created_at":"2024-12-20T03:20:35.677Z","updated_at":"2026-02-05T07:31:39.221Z","avatar_url":"https://github.com/KernFerm.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Support the Project ⭐\r\n\r\nIf you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. 🌟\r\n\r\n\r\n# 🖥️ LibreOffice Auto-Installer Script\r\n\r\nThis **PowerShell script** automates the process of downloading and installing **LibreOffice** on Windows machines. It ensures that the script is run with administrator privileges, downloads the LibreOffice installer from the official mirror, and installs it to the specified directory.\r\n\r\n---\r\n\r\n## 📥 How to Download the Repo (First-Time Users)\r\n\r\nClick the link to read [**Instructions**](https://www.gitprojects.fnbubbles420.org/how-to-download-repos) 📄.\r\n\r\n---\r\n\r\n## ⚙️ Prerequisites\r\n\r\n- **PowerShell 5.1 or higher**\r\n- **Windows 7 or higher**\r\n- **Internet connection** required to download the installer 🌐\r\n- You need to have PowerShell installed on your system to run the script.\r\n\r\n### 🔧 v7.4.6 Release of PowerShell - Latest (recommended)\r\n\r\nSelect the version that matches your system specs:\r\n\r\n- For **Windows 64-bit systems**: [Download 64-Bit Installer](https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x64.msi)\r\n- For **Windows 32-bit systems**: [Download 32-Bit Installer](https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/PowerShell-7.4.6-win-x86.msi)\r\n\r\n---\r\n\r\n## 🛠️ PowerShell Script for LibreOffice Installation with Logging\r\n\r\nThis **PowerShell script** downloads and installs LibreOffice, with robust **error handling** and **logging** functionalities.\r\n\r\n### 📝 Logging Functionality\r\n\r\nThe script includes a **logging function** that logs messages to both the console and a log file, which helps in tracking progress and errors during execution.\r\n\r\n### Log File Location\r\n\r\nAll log messages are appended to a log file named `install_log.txt` located in the same directory as the script.\r\n\r\n---\r\n\r\n## 🔧 Logging Examples\r\n\r\nHere are some example log entries:\r\n\r\n- **Information Logs**:\r\n\r\n```\r\n2024-07-18 12:00:00 [INFO] Starting LibreOffice installation process. \r\n2024-07-18 12:01:00 [INFO] Downloading LibreOffice installer... \r\n2024-07-18 12:02:00 [INFO] Download completed successfully. \r\n2024-07-18 12:03:00 [INFO] Installing LibreOffice...\r\n```\r\n- **Error Logs**:\r\n```\r\n2024-07-18 12:01:00 [ERROR] Failed to download the LibreOffice installer. \r\n2024-07-18 12:04:00 [ERROR] Failed to install LibreOffice.\r\n```\r\n\r\n---\r\n\r\n## 🚀 How to Use\r\n\r\n1. **Run PowerShell as Administrator**: Right-click on PowerShell and select **\"Run as administrator\"** 🔒.\r\n2. **Navigate to Script Directory**: Use `cd` to navigate to the directory containing the script.\r\n3. **Run the Script**:\r\n ```\r\n .\\LibreOffice-Auto-Installer.ps1\r\n ```\r\n- If the script doesn't run, change the execution policy:\r\n```\r\nSet-ExecutionPolicy Bypass -Scope Process\r\n```\r\n- if a message pops up `red` type `Y` then click enter.\r\n\r\n- Then run the script again without closing PowerShell.\r\n ```\r\n .\\LibreOffice-Auto-Installer.ps1\r\n ```\r\n\r\n### 🛠️ Features\r\n\r\n- **Administrator Check**: Ensures the script is run with administrator privileges 🔒.\r\n- **Automatic Download**: Downloads the latest version of **LibreOffice** from the official mirror 🌐.\r\n- **Silent Installation**: Installs LibreOffice silently without user interaction 🛠️.\r\n- **Custom Installation Path**: Allows specifying a custom installation path for LibreOffice.\r\n- **Clean Up**: Deletes the installer file after the installation is complete 🧹.\r\n\r\n---\r\n\r\n### 📝 Customization\r\n\r\nYou can customize the installation by modifying the following variables in the script:\r\n\r\n- `$LibreOfficeURL`: URL to the LibreOffice installer. Update this to change the version being installed.\r\n- `$installPathLibreOffice`: Path where LibreOffice will be installed. Modify this to change the installation directory.\r\n\r\n---\r\n\r\n### 📜 License\r\n\r\nThis script is released under the **MIT License**. See the [LICENSE](https://github.com/KernFerm/libre-office/blob/main/LICENSE) for more details 📄.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Flibre-office","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernferm%2Flibre-office","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Flibre-office/lists"}