Software Management on KNEO Pi¶
KNEO Pi OS, being based on ArchLinux 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 ArchLinux 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.
Info
You can also visit Archlinux ARM-packages to search for packages compatible with the aarch64
architecture..
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:
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:
Info
Refer to the full instructions on the official Pacman site.