Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nudin/getrid
Simple terminal user interface to decide which packages to keep and which to get rid of
https://github.com/nudin/getrid
archlinux cleanup pacman tui
Last synced: about 2 months ago
JSON representation
Simple terminal user interface to decide which packages to keep and which to get rid of
- Host: GitHub
- URL: https://github.com/nudin/getrid
- Owner: Nudin
- License: other
- Created: 2020-05-10T23:25:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-30T12:10:31.000Z (about 1 year ago)
- Last Synced: 2024-12-03T05:41:10.902Z (2 months ago)
- Topics: archlinux, cleanup, pacman, tui
- Language: Python
- Homepage:
- Size: 676 KB
- Stars: 11
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `getrid` of arch packages you don't need anymore
Having a rolling release distribution if one of the big advantages of Arch
compared to other distributions: no outdated software nor being forced to do
lengthy and risky upgrades or fresh installs every X months/years. The
downside of this is that there are never any "clear cuts" and the amounts of
packages once installed but not needed anymore constantly grows.Removing old packages is annoying, so I wrote `getrid` a tool that makes it
easier to find packages that unnecessary fill up your disk. It's a simple
terminal user interface allows you to decide which packages to keep and which
to remove.Dependencies: python, pacgraph, python-urwid
## How to use?
It list you all packages that can be removed (are not a dependency of other
packages), sorted by the disk space that would be freed if removed – this
includes dependencies that aren't needed of other packages and where not
installed explicit.Go though the list and decide:
- If you definitely want to keep a package -> key `e`
- Want to keep them "for now" -> key `t`
- Want to get rid of it -> key `d`, `Space` or `Enter`The first list is saved to disk, so you won't have to deal with them the next
time you start getrid. If you want to see the hidden entries press `s`.![Screenshot](./getrid.png)