PKCON(1)
๐ NAME ๐
okay so bestie, the command is pkcon, and it's the PackageKit console client ๐
basically your command line buddy for PackageKit ๐ฆ
โจ SYNOPSIS โจ
pkcon [OPTION...] [COMMAND]
๐ธ DESCRIPTION ๐ธ
ngl this manual page is just a quick intro to the pkcon command ๐
pkcon is the command line client for PackageKit, so if you want to install, remove, update, or search for packages from your terminal, this is literally your girl ๐
๐ง COMMANDS ๐ง
okay so pkcon knows a bunch of commands โจ heads up though, not all of them may show up depending on the backend you're using ๐
backend-detailsโ peek at info about the PackageKit backend that's currently in use ๐get-rolesโ see the list of roles a transaction can have ๐ญget-groupsโ list the available package groups ๐get-filtersโ list the available filters ๐ซงget-transactionsโ list the transactions it knows about ๐get-timeROLE โ see how much time has passed since the last transaction with the given role โฐsearch[name|details|group|file] DATA โ search for a package matching your data ๐ the search happens in whatever package info is picked by the first argument:name,details,grouporfiles๐installPACKAGES โ install the given packages from repositories ๐ฆinstall-localFILES โ install the given packages from the local filesystem ๐พdownloadDIRECTORY PACKAGES โ download the given packages from repositories and stash them in the directory you give ๐ฅinstall-sigTYPE KEY_ID PACKAGE โ install a package signature ๐ only GPG signatures are supported right now, so that's the vibe ๐removePACKAGE โ remove the given package ๐๏ธupdate[PACKAGES] โ update your system by installing the available updates ๐ if you give it a list of packages, it'll only install updates for those ones ๐ฏrefresh[force] โ refresh the cached info about available updates ๐resolvePACKAGE โ resolve the given package name and print info about installed or available packages and updates ๐งฉupgrade-systemDISTRIBUTION [minimal|default|complete] โ upgrade your system to the given distribution ๐get-updatesโ list the available updates โญget-distro-upgradesโ list the available distribution upgrades ๐depends-onPACKAGE โ list the dependencies for the given package ๐ธ๏ธrequired-byPACKAGE โ list the packages that need the given package ๐คget-detailsPACKAGE โ print details about the available or installed package with the given name ๐get-details-localFILE โ print details about the local package ๐get-filesPACKAGE โ list the files inside the given package ๐๏ธget-files-localFILE โ list the files inside the local package ๐๏ธget-update-detailPACKAGE โ print the package changelog for the given package ๐get-packagesโ list every available and installed package ๐repo-listโ list all the configured package repositories ๐repo-enableREPOSITORY โ enable the given repository โrepo-disableREPOSITORY โ disable the given repository โrepo-set-dataREPOSITORY PARAMETER DATA โ set the given parameter to the given value for the repository ๐ ๏ธrepo-removeREPOSITORY PARAMETER โ removes the repository and, optionally, any packages installed from it ๐งนwhat-providesSTRING โ list the packages that provide the given string ๐ฎaccept-eulaEULA_ID โ accept the EULA with the given id ๐โ๏ธget-categoriesโ list the available categories ๐ท๏ธrepairโ attempt to repair the system package database ๐ฉนoffline-get-preparedโ print info about the prepared offline update ๐ if no offline update is prepared, it exits with an exit code of1๐offline-triggerโ trigger an offline update โกoffline-statusโ print info about the result of the last offline update ๐
๐ OPTIONS ๐
okay so these options can be used to tweak how pkcon behaves ๐
--versionโ print the program version and exit ๐ท๏ธ-h,--helpโ show the help options ๐--help-allโ show all the help options ๐--filterFILTER โ set the filter you want to use ๐ซง-y,--noninteractiveโ install packages without asking you for confirmation ๐คโจ--only-downloadโ prepare the transaction by only downloading packages ๐ฅ-n,--backgroundโ run the command using idle network bandwidth, and also using less power ๐๐ฟ-p,--plainโ print a machine-readable output to the screen instead of animated widgets ๐ค-v,--verboseโ show debugging info ๐ต๏ธโโ๏ธ-c,--cache-ageAGE โ set the maximum acceptable age for cached metadata, in seconds โณ use-1for'never'๐--allow-untrustedโ allow untrusted packages to be installed โ ๏ธ--allow-downgradeโ allow packages to be downgraded during a transaction โฌ๏ธ--allow-reinstallโ allow packages to be reinstalled during a transaction ๐
๐ฆ RETURN VALUES ๐ฆ
here's what the exit codes mean, bestie ๐
0โ Success ๐1โ failed with a miscellaneous internal error ๐ฅ3โ failed with a syntax error, or failed to parse the command ๐4โ failed because a file or directory wasn't found ๐5โ nothing useful was done ๐ซ6โ the initial setup failed, e.g. setting the network proxy ๐7โ the transaction failed, check the detailed error for more info ๐งพ
๐ SEE ALSO ๐
check out pkmon (1) too ๐
the programs are fully documented on https://www.freedesktop.org/software/PackageKit ๐
๐ซถ AUTHOR ๐ซถ
this manual page was written by Richard Hughes <richard@hughsie.com> ๐
๐ AUTHOR ๐
Richard Hughes, the author ๐
๐ COPYRIGHT ๐
Copyright ยฉ 2007 - 2013 Richard Hughes ๐
bestie, this page is from PKCON(1) (User Commands) for PackageKit, dated July 29, 2013 ๐ stay iconic and keep those packages updated ๐ฆโจ
๐ฆ where this page comes from
- centos-stream 10: PackageKit 1.2.8-9.el10 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- debian bookworm: packagekit-tools 1.2.6-5+deb12u1 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- debian trixie: packagekit-tools 1.3.1-1+deb13u1 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: PackageKit 1.3.1-6.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later AND FSFAP
- fedora 43: PackageKit 1.3.6-1.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later AND FSFAP
- fedora 44: PackageKit 1.3.4-3.fc44 ยท GPL-2.0-or-later AND LGPL-2.1-or-later AND FSFAP
- fedora 44: PackageKit 1.4.0-1.fc44
- fedora 44: PackageKit 1.4.0-2.fc44 ยท GPL-2.0-or-later AND LGPL-2.1-or-later AND FSFAP
- opensuse-leap 16.0: PackageKit 1.2.8-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: PackageKit 1.2.8-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: PackageKit 1.2.8-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: PackageKit 1.2.8-160000.5.1 ยท GPL-2.0-or-later
- ubuntu noble: packagekit-tools 1.2.8-2build3 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu noble: packagekit-tools 1.2.8-2ubuntu1.5 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu questing: packagekit-tools 1.3.1-1
- ubuntu questing: packagekit-tools 1.3.1-1ubuntu1.1 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms