Skip to content

Toolkit for pacman, the package manager for Arch Linux-based distributions.

License

Notifications You must be signed in to change notification settings

Angel-Karasu/pactools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PacTools

This is a simple toolkit project for pacman, the package manager for Arch Linux-based distributions. It can clean pacman cache, remove unused packages, fix pacman keys, reinstall all packages and update pacman mirrors.

Installation

Clone this repository and run the install script

git clone https://codeberg.org/Angel-Karasu/pactools.git;
cd pactools; chmod +x ./install.sh;
./install.sh;

How to use

  • To get help, run :
pactools -h #pactools --help
  • To clean pacman, run :
pactools -c #pactools --clean
  • To fix pacman keys, run :
pactools -f #pactools --fix-keys
  • To reinstall all packages, run :
pactools -r #pactools --reinstall
  • To update pacman mirrors, run :
pactools -u #pactools --update-mirrors
  • To update pactools, run :
pactools --update
  • To uninstall pactools, run :
pactools --uninstall

Compatible mirror list

  • Arch Linux

    • Package, file : pacman-mirrorlist, mirrorlist
    • Package, file : archlinux-mirrorlist
  • ArcoLinux

    • Package, file : arcolinux-mirrorlist-git, arcolinux-mirrorlist
  • Artix Linux

    • Package, file : artix-mirrorlist | pacman-mirrorlist, mirrorlist
  • BlackArch

    • Package, file : blackarch-mirrorlist
  • CachyOS

    • Package, file : cachyos-mirrorlist
  • CachyOS-v3

    • Package, file : cachyos-v3-mirrorlist
  • CachyOS-v4

    • Package, file : cachyos-v4-mirrorlist
  • EndeavourOS

    • Package, file : endeavouros-mirrorlist
  • Hyperbola

    • Package, file : pacman-mirrorlist, mirrorlist
  • KaOS

    • Package, file : pacman-mirrorlist, mirrorlist
  • Manjaro

    • Package, file : pacman-mirrors | pacman-mirrors-dev | pacman-mirrorlist, mirrorlist
  • Parabola

    • Package, file : pacman-mirrorlist, mirrorlist
  • RebornOS

    • Package, file : rebornos-mirrorlist, reborn-mirrorlist

Files are located in : /etc/pacman.d/

List of Arch Linux-based tested distributions

To do

  • Publish on AUR (Arch User Repository)

License

This project is licensed under the GNU GPLv3.

See the LICENSE file for details.

Contributing

Contributions are welcome. Please open an issue or a pull request if you want to help improve the project.