Hi, I’d like to make Discover work with CachyOS to have it more centralized. If it’s not possible, that’s okay—I’ll keep using Octopi, but I wanted to ask to see if it could be done.
Those are not really meant to be used on Arch. It can be made to work but can also fail on updates and render your machine unbootable. But Arch wiki has a page how to make it work.
Better to learn to use pacman from the terminal
I know how to use the terminal, I just thought using the graphical interface would be better. One question: to update the packages, is it with “sudo pacman -Syu”?
In my experience Octopi is fine. It works like terminal and you don’t have to remember commands.
is it with “sudo pacman -Syu”?
Yes, it is
Yep that will do it.
Or you can just use paru
and it update also AUR packages if you have any installed
is short for pacman --sync --refresh --sysupgrade
$ man pacman
...
-S, --sync
Synchronize packages. Packages are installed directly from the remote repositories, including all dependencies required to run the packages. For
example, pacman -S qt will download and install qt and all the packages it depends on. If a package name exists in more than one repository, the
repository can be explicitly specified to clarify the package to install: pacman -S testing/qt. You can also specify version requirements: pacman
-S "bash>=3.2". Quotes are needed, otherwise the shell interprets ">" as redirection to a file.
...
-y, --refresh
Download a fresh copy of the master package databases (repo.db) from the server(s) defined in pacman.conf(5). This should typically be used each
time you use --sysupgrade or -u. Passing two --refresh or -y flags will force a refresh of all package databases, even if they appear to be
up-to-date.
...
-u, --sysupgrade
Upgrades all packages that are out-of-date. Each currently-installed package will be examined and upgraded if a newer package exists. A report of
all packages to upgrade will be presented, and the operation will not proceed without user confirmation. Dependencies are automatically resolved at
this level and will be installed/upgraded if necessary.
Pass this option twice to enable package downgrades; in this case, pacman will select sync packages whose versions do not match with the local
versions. This can be useful when the user switches from a testing repository to a stable one.
Additional targets can also be specified manually, so that -Su foo will do a system upgrade and install/upgrade the "foo" package in the same
operation.
so, yes
(but “update the packages” is a much too vague question as you can see. Does it include syncing the mirrors? which packages? all of them? to which version?)
You can do it with packagekit-qt6
, then you should have an ability to manage packages in Discover, but discover’s main screen will tell you that while it can work it’s better to use Discover only for flatpaks/snaps