[Need-To-Know] About Manjaro and AUR

TL:DR

DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.

sudo pacman-mirrors -aS unstable
sudo pacman -Syu base-devel

When you sync your system any CUSTOM package may cease to function without warning OR your system may cease to function due to a CUSTOM package - therefore one must remove all CUSTOM packages before an issue can be validated as related to Manjaro.

custom packages - unsupported - you are on your own!

Examples

Spectacle: error while loading shared libraries: libvvenc.so.1.12:

Manjaro and AUR

This is a superficial review of elements of Linux history spiced with some personal memories and my experience with Arch Linux and Manjaro.

A followup on previous topics

History part I

GNU/Linux history - building from source code

The GNU/Linux history lesson is far more than this lesson. This document cannot possibly contain all aspects so only the points I think were necessary to describe the relationship between Manjaro and AUR.

To understand this relationship one need to understand the historical aspects on Linux, source code and distributing binary code.

Applications cannot interact with CPU, RAM and GPU on it own. They all depend on a layer and that layer is the kernel - in the context of this document the kernel initially created by Linus Torvalds - commonly known as Linux.

The kernel is a collection of services provided in a manner which makes it possible for an application to interaction with the hardware.

If you look at Linux From Scratch and Gentoo you will see they are not distributions of binaries but a collection of books describing how to create your operating system from source code.

On the get-started page of the Gentoo web it is expressed as

The Gentoo Handbook provides detailed documentation that guides you through the installation process.

There is no installation program—you’re the installer. That way, you can apply all the customizations you desire.

So - in the beginning there was only source code. You would need to have access to another computer system on which to build the kernel. Before you could do that you would have to, either acquire the source in some form or type it in manually, compile the source to binaries, transfer the binaries to a target system and run it.

If you had a bright idea - e.g. the curl utility - you would share source with the community. They would then acquire the code, compile it to binary form and run it on their system.

A very rough description of the process is something like this

curl -O <url/source.tar.gz>
tar -xcf source.tar.gz
cd sourcedir
./configure
make
sudo make install

To compile your Linux from source is a tedious, time consuming task - just try it - and this is where distributions are born.

History part II

Distribution of packages as a fully functional OS

Then what about distributions?

Distributions are groups of individuals or companies which have the power to build a large amount source code into binary form and distribute this as turnkey solutions.

There was Slackware and Red Hat - I specifically remember Red Hat because my younger brother was seriously into Linux before me. SUSE Linux, Slackware and Red Hat were among the first to distribute binary code with SUSE being one of the first commercial distributors of GNU/Linux binary packages. I have very fond memories of SUSE as this is the distribution where I entered the Linux world around 1998.

Four years later (not me) 2002 Arch Linux, then 2011 Manjaro.

Arch got an undeserved reputation of being inaccessible. I dare say - it is not inaccessible.

Imagine a Raspberry PI. It is open source - the schematics are available - you can buy all the components from some well assorted electronics supplier. If you are up to the challenge you buy all the components for the PI and begin putting it together.

At the same electronics supplier you can get a ready-to-run PI or one of the multiple variations.

Using an unjust comparison - Arch Linux the components making up the PI - you just have to put them together - but doing so requires knowledge and hard work. This is where you choose Orange Pi, Banana Pi or something else.

Where am I going you think - well - a single board computer is a single board computer - right?

Yes - and no - even originated in the same idea, being single boarded and working identically, sharing components - they are different.

What is it with AUR?

To put it short - AUR is

Recipes for adding CUSTOM packages

The name speaks for itself. A.U.R is Arch User Repository - the point being the emphasis on Arch.

Using AUR also implies Arch stable branch - which is only achievable by using Manjaro unstable or testing branch.

As Manjaro is based on Arch Linux one would think - they are the same - and that is where one would go wrong.

Manjaro and Arch do not share kernels, a subtle but very important difference.

Both Manjaro and Arch uses a branch structure (slightly different naming) and builds from the same source at kernel.org and this is where the similarity ends.

Manjaro maintains a larger number of kernels which uses a slightly different patch-set. You can enlighten yourself on the details on Manjaro gitlab. Because of this difference certain proprietary drivers which must match the released kernels are different than with Arch.

Some Manjaro applications have been back-ported and is available in AUR - most notably the Pamac Package manager - just search in AUR for pamac.

The AUR maintainer of pamac - is not the developer but a third party - so when the developer pushes new changes - bug fixes, new functionality - anything - the AUR maintainer has to work out if those changes will work on Arch or other Arch based systems.

The same happens the other way around. When one look at the set of build instructions on AUR one need to consider

  • the build instructions are for Arch
  • the resulting package is for Arch
  • what files are the script downloading
  • is it source files or binary files
  • is the binary files safe
  • does the instructions work for Manjaro
  • does the build make assumptions only satisfied on Arch (e.g. glibc version)

Being able to find an answer one needs knowledge. Not only on the build process but also knowledge of bash scripting, environment variables, compiling source to binary but knowledge on what actually happens during execution of the build script - which files are replaced, placed where and why.

Because a CUSTOM package build using a script found on AUR has the potential to completely wreck a healthy and well running system AUR has always carried the warning

DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.

Why the need of responsibility?

Because CUSTOM packages has the potential to wreck your system - they are unsupported. It is not that some scripts are supported and others not.

They are unsupported because they add/alter/replace system files and as such they can generate issues which otherwise would not have occurred on a pristine Manjaro installation.

When you sync your system any CUSTOM package may cease to function without warning OR your system may cease to function due to a CUSTOM package - therefore one must remove all CUSTOM packages before an issue can be validated as related to Manjaro.

If apply system wide changes to your Manjaro system using an unsupported source build script and subsequently the system breaks after an update - you must assume that your changes caused it - you cannot imply it is an upstream problem.

Always bring your own house in order - then you seek help.

I have AUR packages in my system, but i don’t recall having installed them.

Once in a while, package maintainers, both at Arch and Manjaro, clean up the repositories from packages considered “deprecated”, “unused”, “outdated”, etc.

Such packages, when removed from Arch repositories – and then consequentially from Manjaro repositories – are usually moved to AUR. Meanwhile, such packages previously available in Manjaro repositories but not in Arch’s, are usually available in AUR to begin with.

If you find such packages in your system, you can check if they are either still used (directly), needed (as dependencies), or required (as dependencies of a used package). Depending on the output, you may or may not want to remove them.

pactree <package>

Applying CUSTOM packages

Like Orange PI is not Raspberry PI - Manjaro is not Arch. You should therefore carefully consider the impact on your system now and future.

  • Is this necessary for my workflow
  • Remove unused packages
  • How is it affecting my system

The native method to create packages is by means of PKGBUILD script.

This also goes for apps or services not available in the repositories. You write your own PKGBUILD script and learning to so is the best way to understand what AUR is.

To avoid duplicating each others work PKGBUILDs are stored in a central location - the AUR. This storage also make a PKGBUILD easier to keep updated when it is use by many people - therefore the vote system - which to the Arch Community serves as a pointer to a potential inclusion in the official community repository.

Any passing stranger can register an account and create a PKGBUILD which conforms to the guidelines which is why the following is the initial method to make use of such unverified script from a complete stranger.

Ensure the system is up-to-date and the necessary tools are available

$ sudo pacman -Syu
$ sudo pacman -S git base-devel --needed
$ git clone <aur/pkg.git>
$ cd pkg

Inspect the source files to verify dependencies, sources, build dependencies. When you are confident this is OK you can proceed to build the package.

$ makepkg

Resolve build error or missing dependencies if any and install the package

$ sudo pacman -U pkg-ver.pkg.tar.xz

For a deeper look into possible build issues - read [HowTo] Fix a failing AUR package build.

AUR helpers

Many CUSTOM scripts exist for various reasons e.g.

  • the content they provide are proprietary
  • the content is not widely use
  • drivers for devices commonly used by Windows systems
  • deprecated tools e.g. older versions of python

Some has a setup where they find themselves depending on several binary packages not readily available or because a build script has dependencies which is not readily available.

This creates a repetitive task of iterating over the packages - and if there is something a hardcore computer user hates - it is repetitive tasks. They must be scripted.

So a new kind of scripting or application was born - the AUR helpers.

AUR helpers is the kind of tool I would never expect to find in the Arch Linux repositories because an AUR helper automates CUSTOM packages.

A.U.R no longer reference Arch User Repository but

Automated User Response

  1. Consisting of a script/application
  2. Which executes a another set of scripts downloaded from a public source
  3. The downloaded material is defined by one or more complete strangers
  4. The helper abstracts verification
  5. The helper executes the script
  6. The script fetches sources from third party locations
  7. The script executes a series of actions on your personal computer system
  8. Which may alter critical system components like kernel or device drivers

Result

Worst case scenario

A completely random example:
On the next update various system components are updated such as xorg or wayland and because one of the your CUSTOM packages is now incompatible with the system - the system refuses to start - no display manager starts.

You have read about the error LightDM display manager failed to start or SDDM display manager failed to start.

Who are you blaming?

You are blaming the update - where in reality - you should blame your own lack of knowledge or perhaps you just forgot that CUSTOM package which is now dysfunctional and breaks your system.

What should be learned?

  • Exercise due diligence
  • Know your system
  • Know possible weaknesses
  • Remember your CUSTOM packages

Manjaro provides and excellent package helper which is capable of handling various methods of distributing an application - and it can build from CUSTOM scripts.

Although this is indeed a Manjaro feature CUSTOM packages and the Manjaro package manager Pamac makes it possible build from CUSTOM scripts - it is still your system - thus CUSTOM packages your responsibility.

License

Manjaro is a GNU/Linux which is based on GNU Public License or GPL

  1. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  1. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

  1. Interpretation of Sections 15 and 16.

If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.

Free Software Foundation - GNU Public License (GPL)

Disclaimer

Disclaimer

No warranties, either express or implied, are hereby given for anything provided by Manjaro Linux (“Software”). All Software is supplied without any accompanying guarantee, whether expressly mentioned, implied or tacitly assumed. This information does not include any guarantees regarding quality, does not describe any fair marketable quality, and does not make any claims as to quality guarantees or guarantees regarding the suitability for a special purpose. The user assumes all responsibility for damages resulting from the use of the software.

Manjaro Web - Terms of Use

31 Likes
Good "all in one" package manager wanted
Pacman, pamac, yay, paru, etc. are not able to output search result in syntax highlighting
[root tip] [How To] Kernel - Headers - DKMS
Updates pending in pamac
[How to] Help a new forum member solve problems
[HowTo] Use the AUR
[root tip] [How To] Manually maintain your custom dotnet core 6 packages
How long do you use Arch based/Manjaro distro without crashes after update?
Some questions from an Ubuntu user
如何安装Adobe Reader?
Custom Kernels not booting (TKG, Zen)
Issues running Google Earth
Trouble updating from AUR
Entire Manjaro system hosed with qt5ct upgrade
Gnome "Entfernter Bildschirm" dialog pops up
Install two versions of gcc gfortran compiler
Problems installing moc-pulse AUR package
Can't open rstudio on manjaro
What are the advantages or disadvantages to using Manjaro instead of Ubuntu-based distros?
What are the advantages or disadvantages to using Manjaro instead of Ubuntu-based distros?
Differences between AUR, Snap and Flatpak?
Btrfs snapshot issue with timeshift-autosnap-manjaro
RealVNC "administrative privileges needed"
RE: About Manjaro and AUR
==> ERROR: Missing 5.17.9-1-MANJARO kernel headers for module v4l2loopback/0.12.5
Failed to read AUR data from
Failed to read AUR data from
Terminalbefehl gcal installieren
Support for R8125 Realtek 2.5 gbe Ethernet Adapter
Package Manager seems to be stalled
Python QT6 programs not working, not in Thonny, not from terminal
Question about uninstall VLC under Plasma 6
Should I enable auto update?
RTX4070Ti SUPER with current driver
Add/Remove Software: Remote peer disconnected
pCloud Drive does not work on Manjaro KDE
Can't there be some sort of global binary cache server?
Where to report malware?
Macbook Broadcom4322 wifi
How to install package not to /opt
No extension named Copilot on VSCode installed from community repository
AUR isnt connecting
/usr/lib/libc.so.6: version `GLIBC_2.34'
Error when trying to install xampp
AUR Support not showing up in pamac preferences
System permanently sluggish after scraping YouTube
Betterbird 91.6.1 im AUR - wieso kann ich es nicht installieren?
How do I add these dependencies?
Dumped Core problem
Web3.py installation problem
Teams-For-Linux Build Fails
I do not understand yay output
Lampp - March update not usable - library problem
Amarok 2.9.71-1 error when start. org.freedesktop.dbus.error.serviceunknown
[ARM Stable Update] 2022-02-27 - Plasma 5.24, GCC Toolchain, Firefox 97, Gnome 41.4, PlaMo Gear 22.02 and Kernels
Pomodoro-logger not starting
[Stable Update] 2022-02-27 - Kernels, Mesa 21.3.7, Plasma 5.24.2, Frameworks 5.91, Pipewire 0.3.47, Toolchain, Gstreamer 1.20, Nvidia 510.54
Failure on build() when installing packages from the AUR
"Remote Peer Disconnected" error when trying to open Add/Remove Software
Creating video tutorials, can I use the Manjaro logo?
Xanmod kernel Failed to boot
I cannot upgrade libkipi
Unable to install mongoDB
How To add new Repository?
Mysql is not working
VisualBoyAdvance-M no longer opening roms after last stable update
VirtualBox error in the last update
Pamac problem with AUR
Having a problem in installing codelite
Yaourt update & upgrade it's not working
[Stable Update] 2022-05-13 - Kernels, Mesa, Nvidia, Gnome 42, PipeWire, LIbreOffice, KDE Gear & Frameworks, Virtualbox, Qemu 7.0
Fix/set file manager mimetype in Manjaro distro
Sshguard errors
Spotify not found error
Firefox-appmenu
Is Manjaro MATE Dying?
IPE widgets are displayed incorrectly
Vmware-workstation15 stopped working
While Upgrading, encountered errors from AUR python2 packages
Unable to open Matlab after latest Manjaro update
AUR lib32-gd-2.3.3 fails to build
RE: About Manjaro and AUR
[HowTo] Install Minecraft Java (PolyMC/MultiMC) on Manjaro Raspberry Pi 2022
Embrige not working in Manjaro
Failed to load ashmem driver
Screen locker is broken
Configure openvpn and setup my cyberghost account
Can't open anbox
Some applications take more than half a minute to open
Onboard keyboard crashing after update
Mongo command is not working after update
Gazebo Installation Help through AUR or Paru
Pamac gives error `cp: cannot create regular file '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied`
My newest update lots of missing Manjaro packages
Error in libc.so.6 when updating packages (solved by updating binutils)
Installing software through "add/remove"
Status Of Unreal Engine 5 On Manjaro?
I installed Davinci Resolve, not working
Tho old https://aur.manjaro.org/packages-meta-ext-v1.json.gz certificate error
Installing mod_fcgid terminate with error
Failed to launch linuxqq
Question regarding updates
Librewolf Browser Update does not connect to the internet
CheckAURVCSUpdates
Migrating services from Windows and need recommendations
Does pamac delay updates from the AUR?
(not) installing Epson ET-2850 printer
Will my Pc work without issues with Manjaro?
Creating a script for key automation
Manjaro vs Mint
How to update to Nvidia beta drivers?
Genymotion fail to run - virtualbox 7
How should I "be careful" when using the AUR?
[root tip] [How To] Avoid common pitfalls as developer
How to install virtualbox-ext-oracle?
Does Chaotic AUR work on Manjaro with no problems?
[root tip] [How To] Update Manjaro the smart way
New to Manjaro first impressions!
Problem with reading AUR data after fresh install
Install Tuxguitar?
Can't install zed-editor
Pamac checkupdates does not refresh databases properly
Why does pacman -Syu remove packages installed with yay?
Software from AUR are not all open source?
The installer is lagging
Kann den Brother Scannertreiber nicht Installieren. DCP-L3550DCP
Stuck on boot after installing manjaro OS
Zvbi "stable" package is broken
Unable to build scangearmp2
Conflict Warning
SbK LXQt 24.2.1
Strange error while updating
SbK Mate-Compiz 24.2.0
SbK Gnome 24.2.0
CODE-OSS profile templates
Specific AUR for Manjaro
SbK Xfce-Compiz 24.2.0
Cannot Build AUR packages
Virtualbox-bin-guest-iso 7.1.6-1 - Shows Update, After Being Updated?
SbK Cinnamon 24.2.0
AUR builds are failing
How to fix 'failure occurred in build ()' error when running makepkg -si?
Qt packages update: could you integrate the "yay -S qt5-styleplugins" command to your scripts?
Not able to update using: sudo pacman -Syu
Can't build nxproxy from the AUR
Aktualisierung wird vom System nicht erkannt
Encryptpad not installing because a missing package - botan2
Failed to build libglibutil
Getting "unable to satisfy dependency 'gcc-libs>=13.1.1' required by megacmd"
Motorcomm YT6801 installieren
Bleeding Edge Mesa Drivers for Intel ARC 770
INSTALAÇÃO DO STREMIO COM AUR / installation of tremio with AUR
Manjaro maintenance
Gfpgan error install
Software außerhalb des "Software Manager"
Druckerinstallation Brother MFC-J880DW
GCAP RFB (Capital Gains for Brazilians)
Prepros cannot be started
[Stable Update] 2024-03-13 - Plasma 5.27.11, Firefox, Thunderbird, AMDVLK, Qemu
How to install Firefox-ESR v.115?
I can't install Waydroid
Enable Brother HL-L2350DW Printer
Fix GTK4 dark theming on XFCE?
Git clone RcloneBrowser error
I can't update AUR and other packages in Pamac
Chrome forgets digital signature certificate
Manjaro Nvidia and Nvidia - LTS
[root tip] Topic Collection List View
Errors when updating conflict between kio and kio5
Apple SWIFT Development KIT and Android Software Development KIT on Manjaro-Linux
Failed to upgrade python-caldav
Questions about Manjaro
Plasma 6 update violates dependency for nixnote
Trying to setting up hotspot, unable to activate WPA3 Personal
Trouble Installing Etcher and Ape on Manjaro
How can I install tradingview? not found in Repositories
Lack of packages that I need
I cannot open the Manjaro "store"
Gnome-Terminal-Transparency Fails To Build
Pamac AUR update error
I want to install python-pyqt4 4.12.3-5 from arch user repository
How could I add more repos like Debian / Ubuntu?
Cannot find working driver for Archer T3U Nano Usb adapter (could not solve)
Need to rebuild megasync after recent testing update
Photoprint doesn't install
What to do after installing Manjaro?
GCC12 preventing update
Are these well supported apps in Manjaro?
Onboard keyboard crashing after update
How can I install Yandex disk app in Manjaro?
Mega app problem
Installing drivers on a Pantum printer
Can only install outdated xpra
Issue with RTL8125 Ethernet driver on Manjaro Linux
Cannot update, everything fails to satisfy dependencies
File conflict errors related to Python 3.12
Bubblejail Installation (GUI for Bubblewrap, AUR) fails
AURs broken with updates?
Unable to restart Davinci Resolve Studio
Python 3.11/3.12
Xorg can't find screens after update
Fakeroot version 1.35 hangs even directly from bash, cant upgrade packages
Apache Zeppelin Installer Failure
Issues with neo4j
Trouble with updating the system (clang version 17 required)
Using Steadyflow download manager
SAMSUNG ML-2160 Series / Modell SAMSUNG ML-2165
AUR not working on new install since 2024-10-10 update
Webdav Verbindung nach Update verschwunden
Can not running unity game by any proton
SbK LXQt 24.2.0
Cant find or install kernel-devel
I can't connect to wifi because of a problem in the Network driver
Ich suche eine Virtuelle Maschine die unter einen neueren Lts Kernel läuft
Fixing "Failed to install the following packages. Manual intervention is required:"
Epson ET-3850 scanner
Dropbox missing from package manager
PyTorch - NCCL error
Menu de gns3 no aparece
Installing / Running AUR Apps and dependencies
Unable to search and install packages from AUR using pamac
Optimus UI - prime-select is missing
Asunder installation error from aur
Dysfunctional Pamac
Wi-Fi not working on my Acer laptop (MediaTek)
How can we combine two audio recording inputs (mics) into one audio input source?
Problemas con la instalación de vmware workstation
Install VISIT software in Manjaro Linux
Unable to install python2 - PGP keys aren't being trusted
Hewlett-Packard Smart Array Gen8 Controllers driver: hpsa on Manjaro
Ungoogled-chromium goes down after system update
BISQ freezes at shutdown
Need Help with running Blender on Old Thinkpad
Fate of Manjaro Sway
Не запускается manjaro kde / doesn't run manjaro kde
Electron. Do I need it?
Failed update; help needed
Cannot build OpenShot
Keychron Launcher does not work
TP-Link T3U Plus USB WiFi failing frequently
Installing Rustdesk on Manjaro kde
Optimus-manager stopped working after latest update. Replacing with envycontrol gives me a black screen
Major Update....More Dependency Errors
Major Update....More Dependency Errors
Gtk2 apps not following system dark theme
Openrc update problem
Espanso not working under Wayland
Grey screen after update
Software Problems after Update
Packages are not downloading from AUR
[INFO] Stable branch - BIG update BEST practice
Can't get openlinkhub to show my corsair ICUE Link fans
Browsers and spectacle crashes, graphical glitches, and general weirdness after stable update 25.1
GpuTest/FurMark causes ring timeouts, black window, GPU reset
LocalWP on manjaro / Arch
Xilinx ISE software installation issue
Tor Browser file picker crashes
Wayland: Questions and Screen Sharing Issues with Zoom and Slack
Network drivers MHWDCONFIG is invalid and empty
Authentication Failed 1/21
Yt-dlp not up to date in pacman
Booktab ebook reader
Can't install PHP56 on Manjaro 21.2.4
Remmina crashes after one of the 2025-12 updates
How do I install customtkinter
Brother DCP 7020 install problem
Check for base-devel before trying to build any AUR package
Can't access the Texlive packages documentation
Kasts-Git won't install
Issue installing Howdy
Yappi not up updating
Difference between pamac install and pamac build
Sync is not working on microsoft edge
Virtscreen error
Using AUR with kde manjaro
Noisetorch dependencies
Manjaro breaks after failed system update
Help with pamac problem
Is it possible to flash an Android phone on Manjaro?
Failed to read AUR data
How do i install Brother DCPT220?