-
-
Notifications
You must be signed in to change notification settings - Fork 1
Arch Linux Development Environment
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to setting up development environments on Arch Linux, including programming languages, IDEs, build tools, and development workflows.
- Programming Languages
- IDEs and Editors
- Build Tools
- Version Control
- Development Tools
- Container Development
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/activateInstall Node.js:
# Install Node.js
sudo pacman -S nodejs npm
# Install yarn
sudo pacman -S yarn
# Use nvm (optional)
yay -S nvmInstall 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-openjdkInstall Go:
# Install Go
sudo pacman -S go
# Setup workspace
mkdir -p ~/go/{bin,pkg,src}
export GOPATH=$HOME/goInstall Rust:
# Install Rust
sudo pacman -S rust
# Or use rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstall VS Code:
# Install VS Code
yay -S visual-studio-code-bin
# Or open-source version
sudo pacman -S codeInstall JetBrains:
# IntelliJ IDEA
yay -S intellij-idea-ultimate-edition
# PyCharm
yay -S pycharm-professional
# WebStorm
yay -S webstormInstall Vim:
# Vim
sudo pacman -S vim
# Neovim
sudo pacman -S neovim
# Configure
vim ~/.vimrc
# or
nvim ~/.config/nvim/init.vimInstall Emacs:
# Install Emacs
sudo pacman -S emacs
# Configure
emacs ~/.emacs.d/init.elInstall CMake:
# Install CMake
sudo pacman -S cmake
# Use CMake
mkdir build && cd build
cmake ..
makeInstall Make:
# Install build tools
sudo pacman -S base-devel
# Includes: make, gcc, etc.Install Meson:
# Install Meson
sudo pacman -S meson
# Use Meson
meson setup builddir
cd builddir
ninjaInstall Gradle:
# Install Gradle
sudo pacman -S gradle
# Use Gradle
gradle buildInstall Git:
# Install Git
sudo pacman -S git
# Configure
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"Install gh:
# Install GitHub CLI
sudo pacman -S github-cli
# Login
gh auth loginGitLab tools:
# Install GitLab CLI
yay -S glabInstall 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 dockerInstall kubectl:
# Install kubectl
sudo pacman -S kubectl
# Install minikube
yay -S minikubeDatabase clients:
# PostgreSQL
sudo pacman -S postgresql
# MySQL
sudo pacman -S mysql
# MongoDB
yay -S mongodb-bin
# SQLite
sudo pacman -S sqliteInstall Podman:
# Install Podman
sudo pacman -S podman podman-compose
# Use Podman
podman run -it ubuntuInstall Buildah:
# Install Buildah
sudo pacman -S buildah
# Build images
buildah bud -t myimage .This guide covered:
- Programming languages - Python, Node.js, Java, Go, Rust
- IDEs - VS Code, JetBrains, Vim, Emacs
- Build tools - CMake, Make, Meson, Gradle
- Version control - Git, GitHub CLI
- Development tools - Docker, Kubernetes, databases
- 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
- Arch Linux Package Management - Package management
- Arch Linux Virtualization - Virtualization
- ArchWiki Development: https://wiki.archlinux.org/title/Development
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.