-
Notifications
You must be signed in to change notification settings - Fork 361
Install latest GMT on ArchLinux
holishing edited this page Jun 23, 2021
·
4 revisions
It's easier to manage installed content and dependencies than directly
building and manually make install
in ArchLinux.
# Full update system packages to latest status
sudo pacman -Syu
# Install GMT packages in ArchLinux [community] repo
sudo pacman -S gmt
# Install tools for building AUR packages
sudo pacman -S base-devel
# Install AUR helper: yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -sc
sudo pacman -U yay*.pkg.tar.zst
# Use yay to install gmt
yay -S gmt-coast gmt-dcw gmt-cpt-city
Note:
- It's suggest to make package (even use
yay
) in a clean user account without any special environment variable or custom package (e.g. Anaconda Python 3) installed, if you want to make sure this thing, you may consider Building in a clean chroot.