APX is a command-line interface (CLI) package manager based on apt
, specifically designed for Ubuntu-based distributions. It provides an intuitive alias system to simplify the process of managing packages.
- Simplifies APT commands with easy-to-remember aliases.
- Covers essential operations like installing, removing, updating, and managing packages.
- Built-in multilingual help system.
Copy this repository to $ZSH_CUSTOM/custom/plugins
, where $ZSH_CUSTOM
is the directory with custom plugins of oh-my-zsh
git clone https://github.com/pbarovsky/APX.git $ZSH_CUSTOM/plugins/apx
Then add this line to your .zshrc.
plugins=(apx)
To install APX, run the following commands in your terminal:
git clone https://github.com/pbarovsky/APX.git
cd APX
chmod +x install_apx.sh
./install_apx.sh
APX translates its commands into corresponding APT commands, making it easier to handle package management with shorter, user-friendly aliases.
APX Command | Description | Equivalent APT Command |
---|---|---|
apx i |
Install a package | sudo apt install <package> |
apx r |
Remove a package | sudo apt remove <package> |
apx rei |
Reinstall a package | sudo apt reinstall <package> |
apx d |
Download a package | sudo apt download <package> |
apx p |
Purge a package | sudo apt purge <package> |
apx upd |
Update package list | sudo apt update |
apx upg |
Upgrade installed packages | sudo apt upgrade |
apx fupg |
Full upgrade | sudo apt full-upgrade |
apx a |
Remove unused packages | sudo apt autoremove |
apx se |
Search for packages | apt search <search term> |
apx l |
List available or installed packages | apt list [<search term>] |
apx sh |
Show package information | apt show <package> |
apx c |
Clean the APT cache | sudo apt clean |
apx check |
Check the status of installed packages | sudo apt check |
apx hold |
Hold a package to prevent updates | sudo apt-mark hold <package> |
apx unhold |
Unhold a package | sudo apt-mark unhold <package> |
apx policy |
Display package version and priority | apt-cache policy <package> |
To view the help menu:
- English help
apx en
- Russian help
apx ru
The help menu provides detailed information about all available commands.
Feel free to contribute by submitting pull requests or reporting issues in the GitHub repository. Your feedback and contributions are appreciated!