Skip to content

Instantly share code, notes, and snippets.

@Aryangh1379
Aryangh1379 / README.md
Created January 12, 2025 18:41
build up aur built repository

Local AUR Built Repository

I didn't want to use aurutils and actually I didn't know how to use it either, So I made makepkg to output the built packages to my repository and wrote a script to update the sync-db whenever I build with makepk.

1 craete a directory for your local repository:

mkdir /srv/http/aur

2. set pkgdest in makepkg config

PKGDEST="/srv/http/aur"

Archlinux Packages Cache Server Implementation

1. Squid Cache Server

2. Pacman CacheServer feature

2.1 - Using NFS (Failure, not supported by pacman)


sudo pacman -S nfs-utils

Arch backup-install-restore

so having space issues, decided to reinstall Arch with right partitioning. It consists of three sections:

  1. backup needed files
  2. install Arch
  3. restore backup

Backup needed files

I aim for the new Arch to mirror the old one, including the bash prompt, HISTFILESIZE, and more. I require my IRC client chat logs and samba configurations, among others.

1. /etc: I used the traditional tar way.