Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11
Interactive package manager and resource monitor designed for the GNU/Linux.
License
orhun/pkgtop
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

pkgtop is aninteractive package manager &resource monitor tool designed for the GNU/Linux.
Package management (install/upgrade/remove etc.) can be a problem if the user is not familiar with the operating system or the required command for that operation. So pkgtop tries to solve this problem with an easy-to-use terminal interface and shortcut keys. Briefly,pkgtop aims to provide a terminal dashboard for managing packages on GNU/Linux systems. Using the terminal dashboard, it's possible to list installed packages by size (or alphabetically with-a argument), show information about the package, install/upgrade/remove packages and search package. Also, there are other handy shortcuts for easing the package management process which mentioned in theusage information.
In addition to the package management features, there's a section at the top of the dashboard that shows disk usages and general system information. For example, this section can be used as a resource monitor and help decide whether the system should be cleaned or not.
Another useful section is the 'executed' or 'confirm to execute' command list which is placed below the installed packages. Thus, the user can see which command executed recently or confirm & execute the selected command. (The commands that need confirmation to execute exist in the list with a prefix like "[y]".)After scrolling the commands list with "c" key for selecting the command to execute, press "y" for executing it. pkgtop will execute the command and restart the terminal dashboard afterwards.
pkgtop uses the advantage of mainly used package managers being installed on most of the preferred GNU/Linux distributions. As an example, it works on aManjaro based system as it works onArch Linux systems since both distributions use thePacman package manager. You can use pkgtop if you have one of the package managers listed below.
- pacman
- apt
- zypp
- dnf
- xbps
- portage
- nix
- guix
If you are happy user of Arch-based distributive, you can use pkgtop with pacman wrappers and AUR supporters, such asparu. Seethis section for details.
If the distribution is not defined in the source but has the required package manager for running the pkgtop,-d argument can be used for specifying a distribution that has the same package manager. Current defined and supported distributions arearch, manjaro, debian, ubuntu, mint, suse, fedora, centos, redhat, void, gentoo, nixos, guix.
git clone https://aur.archlinux.org/pkgtop.git && cd pkgtop/makepkg --installgo build cmd/pkgtop.gosudo mv pkgtop /usr/local/bin/Preferably,go install command can be used.
-h, show help message-d, select linux distribution-c, main color of the dashboard (default: blue) [red, green, yellow, blue, magenta, cyan, white]-pacman, pacman backend for arch-based distributions (default: pacman)-a, sort packages alphabetically-r, reverse the package list-v, print versionYou can specify which pacman wrapper you should to use by launch pkgtop with-pacman option.For example, forparu support:
$ pkgtop -pacman paruIf you don't want to provide the-pacman option every time on app launch, you can create bash alias on~/.bashrc file.
~/.bashrcalias pkgtop='pkgtop -pacman paru'After that you can simply launchpkgtop command and get full AUR support, provided byparu wrapper.
| Key | Action |
|---|---|
? | help |
enter, space, tab | show package information |
i | install package |
u/ctrl-u | upgrade package/with input |
r/ctrl-r | remove package/with input |
s,/ | search package |
g | go to package (index) |
y | confirm and execute the selected command |
p | copy selected package |
e | copy selected command |
c | scroll executed commands list |
j/k, down/up | scroll down/up (packages) |
ctrl-j/ctrl-k | scroll to bottom/top (packages) |
l/h, right/left | scroll down/up (disk usage) |
backspace | go back |
q, esc, ctrl-c, ctrl-d | exit |
pressed keys: down, enter, backspacepressed keys: s, (type), enter, g, (type), enterpressed keys:i, (type), enter, y -> installctrl-u, (type), enter, y -> upgradectrl-r, (type), enter, y -> removepressed keys: right, leftpressed keys: c, ypressed key: ?docker build -f docker/Dockerfile -t pkgtop-docker .or if you don't want to clone the repository, you can run:
docker build -f docker/Dockerfile -t pkgtop-docker https://github.com/orhun/pkgtop.gitdocker run pkgtop-dockerdocker run -it pkgtop-docker /bin/bash- Add 'paste' feature
If you would like to support the development of pkgtop and my other open sourceprojects, consider supporting me onGitHub Sponsors or becoming apatron.
GNU General Public License (v3)
Copyright © 2019-2023,Orhun Parmaksız
About
Interactive package manager and resource monitor designed for the GNU/Linux.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.









