GithubHelp home page GithubHelp logo

doniwicaksono / artix-post-installation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

My take on Artix Linux post-installation featuring Chaotic-AUR, paru, and Zinit.

chaotic-aur paru zinit zsh artix-linux pure-prompt

artix-post-installation's Introduction

Artix Linux Post-Installation

  1. Upgrade system and reboot.
sudo pacman -Syyu
  1. Edit pacman.conf file, uncomment Color and set ParallelDownloads = 8.
sudo nano /etc/pacman.conf
  1. Edit makepkg.conf file, uncomment and set MAKEFLAGS="-j8". You can change -j8 to the number of CPU threads you have, in my case is 8.
sudo nano /etc/makepkg.conf
  1. Install base-devel from AUR for building AUR packages.
sudo pacman -S base-devel
  1. Setup the Universe repo for more precompiled AUR packages.
  2. Install artix-archlinux-support for Arch packages.
sudo pacman -S artix-archlinux-support
  1. Setup Chaotic-AUR for additional precompiled AUR packages.
  2. Install pacman-contrib for ranking pacman mirrors.
sudo pacman -S pacman-contrib
  1. Generate a fresh mirrorlist on the official Mirrorlist Generator.
  2. Rank Artix Linux mirrors. Edit the mirrorlist file and put the resulting lines on top.
# Backup the existing mirrorlist
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak

# Rank the mirrors
rankmirrors -v -n 10 /etc/pacman.d/mirrorlist
  1. Install paru (AUR helper).
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
  1. Install essential fonts from AUR: CJK fonts, Noto emoji.
  2. Install nerd fonts from AUR: JetBrains Mono, Fira Code, Hack, Cascadia Code, Mononoki, etc.
  3. Install and setup proprietary packages from AUR: Microsoft Edge, VS Code, Spotify, Discord, etc.
  4. Install zsh and set as default shell.
# Install zsh via pacman:
sudo pacman -S zsh

# Change the default shell:
chsh -s $(which zsh)
  1. Install Zinit (zsh framework).
# The easiest way to install Zinit is to execute:
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"

# After installing and reloading the shell, compile Zinit via .zshrc file:
zinit self-update
  1. Install pure prompt.
# Update your .zshrc file with the following two lines:
zinit ice compile'(pure|async).zsh' pick'async.zsh' src'pure.zsh'
zinit light sindresorhus/pure
  1. Install some essential zsh plugins. Add the following lines to .zshrc file.
# Plugin history-search-multi-word loaded with investigating
zinit load zdharma-continuum/history-search-multi-word

# Snippet
zinit snippet https://gist.githubusercontent.com/hightemp/5071909/raw/

# Turbo mode
zinit wait lucid for \
 atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
    zdharma-continuum/fast-syntax-highlighting \
 blockf \
    clarketm/zsh-completions \
 atload"!_zsh_autosuggest_start" \
    zsh-users/zsh-autosuggestions
  1. And that’s it, you’re done!

artix-post-installation's People

Contributors

supaboss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.