Software Management on KNEO Pi¶
KNEO Pi OS, being based on Arch Linux ARM, uses the powerful and versatile Pacman package manager to handle software management. Pacman simplifies the process of installing, updating, and removing software packages, while also providing features to manage system resources, such as clearing the package cache to save disk space.
Important
You must switch to the root account for Pacman commands.
Below are some basic pacman commands to help you manage software on your KNEO Pi:
Search for a Package¶
To search for a package in the Arch Linux ARM repository, you can use the following command by replacing <package_name> with the name of the software you are looking for. Pacman will return a list of all matching packages.
Unable to Find the Required Package?
pacman -Sy
to refresh package database
List Installed Packages¶
To view all the packages along with their versions currently installed on your system, use:
Install/Update a Package¶
To install/Update a new package on KNEO Pi, run:
Error handle for 'The requested URL returned error: 404'
pacman -Sy
to refresh package database
Uninstall a Package¶
To remove a package from your system while keeping its dependencies, use:
If you want to remove the package along with its unneeded dependencies, use:
Manage Disk Usage by Removing Package Cache¶
Pacman stores cached packages in /var/cache/pacman/pkg/, which can accumulate over time and consume disk space. To remove old cached packages, you can use the following command:
Additional Notes
- You can also visit Arch Linux ARM-packages to search for packages compatible with the
aarch64
architecture. - Refer to the full instructions on the official Pacman site.