A saviour who manages your package.
PacSaviour automates your command line operations which aims to make system maintenance on Arch Linux hassle-free by:
- Optimizing Mirrors: Automatically selects the best 10 fastest mirrors, based on the user's choice with their desired country. Your previous mirrorlist is backed up and stored, so you can revert back into it.
- Cleaning Up Packages: Removes unused cache files and orphaned packages.
- Updating the System: Ensures your system is always up-to-date.
With PacSaviour, you can focus more on using your system and less on maintaining it.
Before installing and using PacSaviour, ensure you have the following:
- Arch Linux or Arch-based Distribution: The tool is specifically built for Arch-based systems.
- Root Privileges: The script requires
sudo
to perform system-level operations. - Reflector: Make sure reflector is installed which is used for optimizing the mirros. If it's not there it will be installed as a dependency along with the pacsaviour.
PacSaviour is available on the Arch User Repository (AUR). You can install it using an AUR helper such as yay
or paru
.
Install PacSaviour:
yay -S pacsaviour
Running the command 'pacsaviour' will open the help menu.
Clone this repository
git clone https://github.com/Luxxgit2k4/pacsaviour
And make all the .sh files executable using chmod +x. Then run the main.sh, you will see the help menu and using the commands from the help you can run the project.
./main.sh
You can run the default pacSaviour command to see the help menu. The commands are also mentioned below:
--help
: Display help menu.-i
: Launch the interactive menu.-mi
: Optimize mirrors.-pc
: Clean package cache and remove orphans.-up
: Update the system.
PacSaviour is built using:
- Bash Scripting: The entire tool is implemented as a Bash script for simplicity and efficiency on Arch-based systems.
- Pacman: The core package manager for Arch Linux, used for managing system packages.
- Shell Utilities: Leveraging standard Linux utilities for file operations, logging, and process handling.
We welcome contributions to improve PacSaviour!
- Fork the repository on GitHub.
- Clone your forked repository:
git clone https://github.com/Luxxgit2k4/pacsaviour.git
- Create a new branch for your feature:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add the message"
- Push the changes to your fork:
git push origin feature-name
- Open a pull request in the main repository.
PacSaviour is licensed under the MIT License.
You can find the full license text in the LICENSE file.