Skip to content

Arch Linux Development Environment

Mattscreative edited this page Dec 5, 2025 · 2 revisions

Arch Linux Development Environment Guide

Complete beginner-friendly guide to setting up development environments on Arch Linux, including programming languages, IDEs, build tools, and development workflows.


Table of Contents

  1. Programming Languages
  2. IDEs and Editors
  3. Build Tools
  4. Version Control
  5. Development Tools
  6. Container Development

Programming Languages

Python

Install Python:

# Install Python
sudo pacman -S python python-pip

# Install virtualenv
sudo pacman -S python-virtualenv

# Create virtual environment
python -m venv myenv

# Activate
source myenv/bin/activate

Node.js

Install Node.js:

# Install Node.js
sudo pacman -S nodejs npm

# Install yarn
sudo pacman -S yarn

# Use nvm (optional)
yay -S nvm

Java

Install Java:

# OpenJDK
sudo pacman -S jdk-openjdk

# Or specific version
sudo pacman -S jdk11-openjdk

# Set JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk

Go

Install Go:

# Install Go
sudo pacman -S go

# Setup workspace
mkdir -p ~/go/{bin,pkg,src}
export GOPATH=$HOME/go

Rust

Install Rust:

# Install Rust
sudo pacman -S rust

# Or use rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

IDEs and Editors

Visual Studio Code

Install VS Code:

# Install VS Code
yay -S visual-studio-code-bin

# Or open-source version
sudo pacman -S code

JetBrains IDEs

Install JetBrains:

# IntelliJ IDEA
yay -S intellij-idea-ultimate-edition

# PyCharm
yay -S pycharm-professional

# WebStorm
yay -S webstorm

Vim/Neovim

Install Vim:

# Vim
sudo pacman -S vim

# Neovim
sudo pacman -S neovim

# Configure
vim ~/.vimrc
# or
nvim ~/.config/nvim/init.vim

Emacs

Install Emacs:

# Install Emacs
sudo pacman -S emacs

# Configure
emacs ~/.emacs.d/init.el

Build Tools

CMake

Install CMake:

# Install CMake
sudo pacman -S cmake

# Use CMake
mkdir build && cd build
cmake ..
make

Make

Install Make:

# Install build tools
sudo pacman -S base-devel

# Includes: make, gcc, etc.

Meson

Install Meson:

# Install Meson
sudo pacman -S meson

# Use Meson
meson setup builddir
cd builddir
ninja

Gradle

Install Gradle:

# Install Gradle
sudo pacman -S gradle

# Use Gradle
gradle build

Version Control

Git

Install Git:

# Install Git
sudo pacman -S git

# Configure
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

GitHub CLI

Install gh:

# Install GitHub CLI
sudo pacman -S github-cli

# Login
gh auth login

GitLab

GitLab tools:

# Install GitLab CLI
yay -S glab

Development Tools

Docker

Install Docker:

# Install Docker
sudo pacman -S docker docker-compose

# Add to group
sudo usermod -aG docker username

# Enable service
sudo systemctl enable docker
sudo systemctl start docker

Kubernetes

Install kubectl:

# Install kubectl
sudo pacman -S kubectl

# Install minikube
yay -S minikube

Database Tools

Database clients:

# PostgreSQL
sudo pacman -S postgresql

# MySQL
sudo pacman -S mysql

# MongoDB
yay -S mongodb-bin

# SQLite
sudo pacman -S sqlite

Container Development

Podman

Install Podman:

# Install Podman
sudo pacman -S podman podman-compose

# Use Podman
podman run -it ubuntu

Buildah

Install Buildah:

# Install Buildah
sudo pacman -S buildah

# Build images
buildah bud -t myimage .

Summary

This guide covered:

  1. Programming languages - Python, Node.js, Java, Go, Rust
  2. IDEs - VS Code, JetBrains, Vim, Emacs
  3. Build tools - CMake, Make, Meson, Gradle
  4. Version control - Git, GitHub CLI
  5. Development tools - Docker, Kubernetes, databases
  6. Containers - Podman, Buildah

Key Takeaways:

  • Install base-devel for build tools
  • Use package managers for languages
  • Choose IDE based on preference
  • Git is essential for version control
  • Docker for containerized development

Next Steps


This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.

Clone this wiki locally