Installing Packages with KPM
This tutorial will guide you through the process of finding and installing packages using KPM.
Popular Packages Available
KPM offers a variety of useful packages for your Kindle, including:
- blockamazon: Block Amazon services on your Kindle
- gnomegames: Classic GNOME games for Kindle
- kindlefetch: System information display
- kwordle: Wordle game for Kindle
- kanki: Flashcard app for language learning
For a complete list of available packages and detailed descriptions, see the Available Packages page.
Finding Available Packages
Before installing a package, you might want to see what's available in the repositories:
To list all available packages:
kpm -Qr
This will display all packages available from configured mirrors.
Checking if a Package is Available
To check if a specific package is available:
kpm -Qr package-name
For example:
kpm -Qr kindlefetch
This will check all configured mirrors for the package.
Installing a Package
To install a package:
kpm -S package-name
For example:
kpm -S kindlefetch
During the installation process:
- KPM will download the package from the mirror
- Extract the files to the appropriate locations (usually in
/mnt/us/kpm/packages/
) - Run the package's install.sh script
- Update the installed package list
What Happens During Installation
When you install a package with KPM, the following steps occur:
- KPM checks if the package is already installed
- It looks for the package in the configured mirrors
- If found, it downloads the package archive (usually a ZIP file)
- The archive is extracted to
/mnt/us/kpm/packages/package-name/
- The
install.sh
script from the package is executed - The package name is added to the installed package list
Verifying Installation
To verify that a package is installed:
kpm -Ql package-name
For example:
kpm -Ql kindlefetch
Running Installed Applications
Most packages will install executables to /mnt/us/kpm/packages/bin/
, which should be in your PATH. This means you can simply run the commands directly from KTerm.
For example, after installing kindlefetch:
kindlefetch
If you get a "command not found" error, you may need to restart KTerm or add /mnt/us/kpm/packages/bin
to your PATH manually.
Removing Packages
To remove an installed package:
kpm -R package-name
For example:
kpm -R kindlefetch
This will run the package's uninstall.sh script and remove it from the installed package list.
Troubleshooting Common Installation Issues
If you encounter problems during installation:
- Package not found: Check that you spelled the package name correctly and that the package is available in the configured mirrors
- Download failures: Ensure your Kindle is connected to the internet
- Installation script errors: Check if the package's install.sh script has any specific requirements
- Permission issues: Make sure you have sufficient permissions to write to the installation directories
- Insufficient space: Free up space on your device
- Network problems: Check your Kindle's network connection
For additional help with specific packages, refer to our Package Reference section.