Skip to content

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.

pacman -Ss <package_name1> <package_name2> ...

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:

pacman -Q

Install/Update a Package

To install/Update a new package on KNEO Pi, run:

sudo pacman -S <package_name>

Uninstall a Package

To remove a package from your system while keeping its dependencies, use:

sudo pacman -R <package_name>

If you want to remove the package along with its unneeded dependencies, use:

sudo pacman -Rns <package_name>

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:

sudo pacman -Sc

Info

Refer to the full instructions on the official Pacman site.