Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sheepla/pactools

📦 Package management scripts for Arch Linux
https://github.com/sheepla/pactools

archlinux pacman paru yay

Last synced: 30 days ago
JSON representation

📦 Package management scripts for Arch Linux

Awesome Lists containing this project

README

        

# 📦 pactools

*pactools* are package management tools for Arch Linux.

## Commands

|Name|Description|
|--|--|
|`pacdu`|Get disk usage of installed packages|
|`pacurl`|Get the URL of package projects|
|`pacdeps`|Get a list of dependent packages|

## Usage

### pacdu

`pacdu` lists the disk usage of installed packages. You can narrow down the packages by giving keywords as arguments.

Help:

```
pacdu -- Get disk usage of installed packages

USAGE
pacdu [OPTIONS] KEYWORDS...
```

Example:

```bash
$ pacdu vim
504.35KiB vimiv
1863.81KiB ranger
3.53MiB neovim-qt
4.19MiB gvim
8.50MiB vimix-theme-kde-git
20.45MiB neovim
30.31MiB vim-runtime
44.17MiB vimix-gtk-themes
132.53MiB vimix-icon-theme
```

### pacurl

`pacdu` lists project URLs of packages. You can narrow down the packages by giving keywords as arguments.

Help:
```
pacurl -- Get project URLs of packages

USAGE
pacurl [OPTIONS] KEYWORDS...
```

Example:
```bash
$ pacurl vim
gvim https://www.vim.org
neovim https://neovim.io
neovim https://www.vim.org
neovim-qt https://github.com/equalsraf/neovim-qt
neovim-qt https://neovim.io
...
```

### pacdeps

`pacdeps` gets a list of packages that depend on the package with the name given in the argument

Help:
```
pacdeps -- Get a list of dependent packages

USAGE
pacdeps PKGNAMES...
```

Example:

```bash
$ pacdeps neovim git
neovim
libluv
libtermkey
libuv
libvterm
luajit
msgpack-c
unibilium
git
curl
expat
grep
openssl
pcre2
perl
perl-error
perl-mailtools
shadow
zlib
```

## Installation

```bash
git clone https://github.com/sheepla/pacutils.git
cd pacutils
make install
```