# KDE Plasma fresh other distro reinstall: 'Appstore' and non-aur repo doesnt work

**URL:** <https://forum.endeavouros.com/t/kde-plasma-fresh-other-distro-reinstall-appstore-and-non-aur-repo-doesnt-work/19577>\
**Category:** Newbie\
**Created:** [November 6, 2021, 10:07am UTC](https://forum.endeavouros.com/t/kde-plasma-fresh-other-distro-reinstall-appstore-and-non-aur-repo-doesnt-work/19577 "2021-11-06T10:07:39Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [November 6, 2021, 9:42pm UTC](https://forum.endeavouros.com/t/kde-plasma-fresh-other-distro-reinstall-appstore-and-non-aur-repo-doesnt-work/19577/10 "2021-11-06T21:42:07Z")

</div>

If you are going to use an Arch-based distro, it will be very helpful to get familiar with package management on Arch Linux.

Here is the list of wiki articles worth reading:

> **[Category:Package management - ArchWiki](https://wiki.archlinux.org/title/Category:Package_management)**

The package manager (the program used to download, install, update and remove software) on Arch Linux is [`pacman`](https://wiki.archlinux.org/title/Pacman). It can install any package that is in the ALPM format. Arch Linux (Stable) comes with four official repositories of packages: `core`, `extra`, `community`, and `multilib`. The packages in these repositories are packaged and maintained by Arch Linux developers and a group of volunteers known as Trusted Users.

In addition to the packages from official Arch Linux repositories, anyone can host their own repository. An example of this is the `endeavouros` repository which is maintained by the EndeavourOS team.

Here is a short list of some of the more useful `pacman` options:

> [@Default command line way to install,remove,list packages](https://forum.endeavouros.com/t/default-command-line-way-to-install-remove-list-packages/6935/8):
>
> Some pacman options worth remembering Options What it does -Syu perform a full update (you should use this when updating). -Syyu force download of package database and then update. This is typically only necessary after changing your mirror list. -Syuu will perform a full update, allowing downgrade of packages (use only when the update announcement tells you to, or when you’re trying to fix some problem and know what you’re doing). There is also -Syyuu -Syuw download the packages…

Pacman can also install packages that are packaged locally, that is, not downloaded from any repository. To make a package yourself, you use a build script in the format of a PKGBUILD file, and the `makepkg` utility. Then you can install such a package using `pacman`. Such packages are called “foreign” since they do not come from any repository.

People can share PKGBUILD files among themselves, and the most popular place to find them is the Arch User Repository (AUR). This is not a repository in the sense above, as it does not contain any packages, only build instructions on how to make packages.

More info on how to build packages yourself:

> [@How to Install Apps from AUR](https://forum.endeavouros.com/t/how-to-install-apps-from-aur/16233/6):
>
> makepkg is a script that creates a foreign (i.e. non-repo) package, which can be installed using pacman -U. Before we can make a package, we need to have both base-devel and git packages installed: sudo pacman -S base-devel git --needed On EndeavourOS, these should already be preinstalled. Depending on the specific package, we may also need other programs, like compilers and build systems. These are called “make dependencies”. Typically, making a package from the AUR involves the following …

An AUR helper is a program that automates the process of downloading, packaging and installing packages from the AUR. One such program is `yay`, which provides a `pacman`-like interface to the AUR. The main advantage of using an AUR helper is automatic updates of the AUR packages. In addition, `yay` also acts as a `pacman` wrapper so it can be used in place of `pacman` to install packages from the repos. The main disadvantage of using an AUR helper is that automation often creates carelessness.

Here is a short list of what to pay attention to when using the AUR:

> [@AUR PKGBUILDs](https://forum.endeavouros.com/t/aur-pkgbuilds/6669/18):
>
> The AUR is one of the safest ways to install software, just because it is so transparent. But it does not tolerate just looking up the package in Pamac and clicking on the Build button, or doing yay package\_name blindly. It requires that the user knows what’s going on. That’s why I recommend trying to build at least one package manually, to understand what’s going on, before using an AUR helper like pamac or yay. yay has a nice feature that allows you to inspect a PKGBUILD file before installin…

These are the basic of what one should know about package management. I know this is a lot to read, but I think it is worth the effort if one is using this OS.

---

_[View the full topic](https://forum.endeavouros.com/t/kde-plasma-fresh-other-distro-reinstall-appstore-and-non-aur-repo-doesnt-work/19577)._
