If you are an Arch Linux user you can install it from AUR (Arch User Repository)
$ sudo pacman -S base-devel git
Then you need to install ACE package from AUR:
git clone https://aur.archlinux.org/ace.git cd ace makepkg -si
After that you can install azerothcore package:
git clone https://aur.archlinux.org/azerothcore.git cd azerothcore makepkg -si
Moreover, if you want you can use yay as AUR package manager to install AUR packages.