Skip to content

Basic Usage

ExistingPerson edited this page Jun 12, 2025 · 1 revision

Installing Packages

better-pkg install <package>

Example:

better-pkg install firefox

Removing Packages

better-pkg remove <package>

Example:

better-pkg remove vlc

And if you want to remove package with data (only in apt and flatpak) and dependencies, try:

better-pkg remove --purge <package>

Searching for Packages

better-pkg search <query>

Example:

better-pkg search obs-studio

Updating and Upgrading

Update will just update package manager db and upgrade will upgrade all packages and firmware.

better-pkg update
better-pkg upgrade

If you dont want to upgrade firmware:

better-pkg upgrade -f

And if you want to upgrade your distro to next release (supported only on Debian, Ubuntu, Pop-os, Manjaro and Fedora):

better-pkg upgrade -d
better-pkg upgrade -db # upgrade to beta/alpha release

Listing Installed Packages

better-pkg list
better-pkg list -u # list user-installed packages

Cleaning Up

This will remove unused dependencies.

better-pkg cleanup

Repair

This will try to repair broken dependencies.

better-pkg repair

Checking System Security

better-pkg check security

Clone this wiki locally