Table of Content
This is a four-parts article. There are few sections here.Part One
- Preface: Test Bed, Must Read
- Getting Started With Docker
- Package Management: ALPM Frontend, ASP and AUR Helper, Get Help
- Updating System: OS Release, The Riddle, Refresh Update, List Upgradable, Download Upgrade, Upgrade, Common Form
- Package IRSIF: Install, Removal, Query Search, Show Info, Change Log, List Files, Verify, Package as File
- What's Next
- Dependency: Using pacman, Test, Using pactree
- Repository: Configuration, Mirror
- Group: Blackarch Example, List Group
- Lock Package: IgnorePkg, HoldPkg
- System Wide: List Packages, Search Files
- History: The Log File
- Clean Up: Cache, Autoremove
- Case: When chroot fail
- What's Next
- Automatic Build: User Privilege, PKGBUILD, makepkg, Example, Dependency, Download, Install, Namcap
- ABS: Deprecation, ASP, SVN
- What's Next
- Introducing AUR: Package Query, cower, Foreign Package
- AUR Helper: yaourt, pacaur, packer, aura
- Screenshot: Query AUR
makepkg is some kind of automatic build process,
utilizing information from
Don’t be scared, this process is easy, and won’t hurt you.
No need to do
make install separately.
Since they are already in
It is a good idea to compile as a non-root user. Consider prepare a user if not exist yet.
Build require regular user, non root one. Consider make one first.
You should also setup sudoers, otherwise this message.
ALPM handle source code only in one text file named
Indeed a smart design, only one text file.
Consider check this
package query package from AUR.
You can read
Consider download the PKGBUILD snapshot.
As you can see, it needs
yajl Yet Another JSON Library,
therefore we should install
This time using
There is this
makepkg at the heart of automatic build.
This will compile package, and create the
.tar.xz ALPM package.
In order to do this we need to change our working directory first.
This is a long verbose output.
Although we can have AUR Frontend as described later,
sometimes we need to go to lower level, use this sweet good
If build goes well, the package should be ready to served.
And install using
asp-git package form AUR.
We can solve this using
You can download package using
This is useful if you want to alter the configuration,
or even the source code.
Now you can continue, without cloning.
You can also use
--install to automatically install.
Check for possible issue, similar to lintian. The namcap name is the reverse pacman character.
AUR is not the only ALPM’s strength, You can also build official package. Sometimes we need to build instead of binary to add build configuration to enable feature that was disabled, or disable feature we do not want, or any change in the build for an official package.
ABS stand for The Arch Build System.
ASP is an alternative for ABS that has been deprecated.
asp is as simple as below:
Now we can continue with
This is a lower level method than ASP for curious reader. But first you have to install SVN.
I was a little bit confused, about this SVN thing.
But then I got helpful answer from community.
Dean Wallace has pointed me to the right direction.
And suggest to stick with
Now you can continue with newly downloaded PKGBUILD.
There are still, some
AUR topic to go.
Consider finish reading [ Part Four ].
Thank you for reading
- December 2017
- Docker - Package Management Summary
- Docker - LFS Build
- Docker - Arch ALPM - Part Four
- Docker - Arch ALPM - Part Two
- Docker - Arch ALPM - Part One
- Docker - Debian APT - Part Four
- Docker - Debian APT - Part Three
- Docker - Debian APT - Part Two
- Docker - Debian APT - Part One
- Docker - Slackware Package - Part Three
- Docker - Slackware Package - Part Two
- Docker - Slackware Package - Part One
- Docker - Fedora DNF - Part Four
- Docker - Fedora DNF - Part Three
- Docker - Fedora DNF - Part Two
- Docker - Fedora DNF - Part One
- Docker - openSUSE Zypper - Part Four
- Docker - openSUSE Zypper - Part Three
- Docker - openSUSE Zypper - Part Two
- Docker - openSUSE Zypper - Part One
- Docker - Void XBPS - Part Two
- Docker - Void XBPS - Part One
- Docker - Gentoo Portage - Part Three
- Docker - Gentoo Portage - Part Two
- Docker - Gentoo Portage - Part One
- Docker - Crux Ports
- Distribution - Debian to Devuan Migration
- Distribution - Manjaro OpenRC to Artix Migration
- Distribution - Mageia 6 Upgrade
- File System - GRUB2 support for BTRFS
- Distribution - openSUSE Tumbleweed First Time Install
- Distribution - Fedora First Time Install
- Distribution - Manjaro OpenRC Issues
- July 2017
- June 2017
- May 2017
- April 2017