{"id":15294096,"url":"https://github.com/javinator9889/kernelupgrader","last_synced_at":"2025-04-13T14:12:06.951Z","repository":{"id":114247041,"uuid":"132050355","full_name":"Javinator9889/KernelUpgrader","owner":"Javinator9889","description":"A Python tool for upgrade your kernel safely from kernel.org","archived":false,"fork":false,"pushed_at":"2018-11-22T16:08:17.000Z","size":184,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T04:48:33.862Z","etag":null,"topics":["compiler","fast","free","kernel","linux","linux-kernel","python","python3","updater","upgrade-tool","user-friendly"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Javinator9889.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-05-03T21:15:33.000Z","updated_at":"2023-01-30T02:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb56350b-8dd0-4011-a4ff-3973209a5f39","html_url":"https://github.com/Javinator9889/KernelUpgrader","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FKernelUpgrader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FKernelUpgrader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FKernelUpgrader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Javinator9889%2FKernelUpgrader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Javinator9889","download_url":"https://codeload.github.com/Javinator9889/KernelUpgrader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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":["compiler","fast","free","kernel","linux","linux-kernel","python","python3","updater","upgrade-tool","user-friendly"],"created_at":"2024-09-30T16:57:32.021Z","updated_at":"2025-04-13T14:12:06.929Z","avatar_url":"https://github.com/Javinator9889.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KernelUpgrader\nA Python tool for upgrade your kernel safely from https://kernel.org\n\n\n[![PyPi](https://img.shields.io/badge/v1.19.1%20-PyPi-green.svg)](https://pypi.org/project/KernelUpgrader/)\n[![ZIP](https://img.shields.io/badge/Package%20-Zip-green.svg)](https://github.com/Javinator9889/KernelUpgrader/archive/master.zip)\n[![GIT](https://img.shields.io/badge/Package%20-Git-green.svg)](https://github.com/Javinator9889/KernelUpgrader.git)\n[![Downloads](https://pepy.tech/badge/kernelupgrader)](https://pepy.tech/project/kernelupgrader)\n\n## How it works?\nFirst of all, I designed this tool for *speed-up* kernel installation process, as the user has to perform a lot of commands and be careful (the process can crash your system if any step is not correctly completed).\n\nSo for this reason, I decided to **implement** a *[Python](https://www.python.org)* version of this process. The idea is simple: *download, compile and install a new kernel (if available) without user interaction, but showing warnings and errors*.\n\nBasically, this program has three blocks:\n\n1. **Kernel downloading and decompression**: the program will look for a newer stable version of the kernel at https://kernel.org. If there is a newer one, it will *download* and *decompress* it (if there is enough space available).\n2. **Kernel configuration and compilation**: once the kernel is decompressed, this application will look for the *actual boot config*, copy it to the new kernel location and *adapt it* to the new configuration available at the new version. Then, **this app will start compiling kernel**.\n3. **Kernel installation**: after all the compiling process, now it is the easiest part: *installing the new kernel*. For this, the application will use `dpkg` in order to adapt and install required dependencies for the new kernel.\n\nIf you want to know *what commands* is the program using, you can find them at `Constants.py` file.\n\n## How to install\nYou have some alternatives to install this application (*both requires admin access  - '#'' means admin access granted*):\n\n+ Using `pip`. For that purpose, just run in your terminal:\n```bash\npip install KernelUpgrader # It is important to use \"pip\" from Python 3\n```\nTo use *Python 3 PIP*, you must install `pip3`:\n```bash\napt-get install pip3 # Assuming that you have Python 3 installed\n### PYTHON 3 NOT INSTALLED ##\napt-get install python3\n```\nIf you find that `pip` installs dependencies in *Python 2*, in most cases the following syntax works:\n```bash\npython3 -m pip install KernelUpgrader\n```\n+ Using the `setup.py` file:\nFirst, you have to *obtain* the correspondent version. You can get it via `wget` or using `git` (as shown below):\n```bash\napt-get install wget unzip # If \"wget\" and \"unzip\" is not installed\nwget https://github.com/Javinator9889/KernelUpgrader/archive/master.zip\nunzip master.zip\ncd KernelUpgrader-master/\n```\n```bash\napt-get install git # If \"git\" is not installed\ngit clone https://github.com/Javinator9889/KernelUpgrader.git\ncd KernelUpgrader\n```\nNow, for *both processes*, we just need to run:\n```bash\npython3 setup.py install # We are using \"python3\" as \"python\" means \"Python 2\"\n```\n\n## How to update?\nIn order to update to a newer version of *KernelUpgrader*, we must do:\n```bash\n# If installed via \"pip\"\npip install -U KernelUpgrader\n# If the above one not works\npython3 -m pip install -U KernelUpgrader\n```\n```bash\n# If installed via \"wget\" or \"git\"\n# We must follow the steps in \"How to install\" until the \"cd\" command and then run:\npython3 setup.py install # This automatically updates the application\n```\n## How to use it?\nOnce the application *is installed* you now should be able to run it from command line, typing:\n```bash\nkernel_upgrader # or\nsudo kernel_upgrader\n```\n\nRead [GoodPractices](https://github.com/Javinator9889/KernelUpgrader/blob/master/GoodPractices.md) in order to make the \nusage of this application even easier. \n\n## I found an error or I want to contribute\nI would *love* to see how my application grows up, so feel free to create your **own version** of this app. Just *fork it* and make all the changes you want 😄\n\nAlso if you want to *add a new functionality* or *solve a bug*, you are free to open a **pull request** so I can merge the changes you have done.\n\n## How can I help?\n+ Feel free to *follow me at GitHub* 👥: I create a lot of projects and maybe you find someone interesting.\n+ *Start* ⭐ this project if you find it helpful 😄\n+ *Share it* with the people you think they will find interesting my job 🗣\n\n## License\nThis project is under *GNU General Public License v3.0*. You can read all **permissions**, **limitations** and **conditions** by [clicking here](https://github.com/Javinator9889/KernelUpgrader/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavinator9889%2Fkernelupgrader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavinator9889%2Fkernelupgrader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavinator9889%2Fkernelupgrader/lists"}