Skip to content

Instantly share code, notes, and snippets.

@putWorkDev
Last active October 3, 2016 19:39
Show Gist options
  • Select an option

  • Save putWorkDev/d7b3044a41bb096ae3ae1650b536132d to your computer and use it in GitHub Desktop.

Select an option

Save putWorkDev/d7b3044a41bb096ae3ae1650b536132d to your computer and use it in GitHub Desktop.
Arch Linux (helpers)
Install lamp server in arch linux:
- https://www.linode.com/docs/websites/lamp/lamp-server-on-arch-linux
- https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-arch-linux
Installing packages:
- Acquire the tarball which contains the PKGBUILD and possibly other required files, like systemd units and patches (but often not the actual code).
- Extract the tarball (preferably in a directory set aside just for builds from the AUR) with tar -xvf pkgname.tar.gz.
- Verify that the PKGBUILD and accompanying files are not malicious or untrustworthy.
- Run makepkg -sri in the directory where the files are saved. This will download the code, resolve the dependencies with pacman, compile it, package it, install the package, and finally remove the build-time dependencies, which are no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment