You can setup new arch linux laptop or desktop easily with Socialst
- Clone this repo at your home directory (check :
echo $HOME
)
git clone https://github.com/Axect/Socialst
- Go to Script directory
cd Socialst/Script
- Go to
00_Arch
directory
cd 00_Arch
- Install
paru
and prerequisites (base-devel
)
sh paru.sh
- Install packages
sh package.sh
- Go back to Script directory
cd ..
-
Execute shell script files sequentially
01_env.sh
: Setup for zsh, vim, eisvogel, zathura, input method, zellij- Recommend : Custom zsh, Astronvim, Kime
02_git.sh
: Configure git with an option:credential.helper store
- Recommend action:
gh auth login
- Recommend action:
03_proj.sh
: Clone whole projects forhttps://github.com/Axect
(It is just for my convenience - You don't need to execute this file)04_rust.sh
: Setup rust viarustup
05_rust_analyzer.sh
: Install rust analyzer as a component of rustup06_cargo.sh
: Install useful applications viacargo
07_coc.sh
: If you chose 'Neovim' in01_env.sh
, then this script provided setup forCoc
08_nim.sh
: Install nim viachoosenim
09_rprofile.sh
: Change R repo to Seoul (If you are not korean, this script file may be harmful)10_R.sh
: Install useful R packages11_npm.sh
: Create.npm-global
directory and prefix12_extra_python.sh
: Install extra useful python packages viapip
13_file.sh
: Make nautilus default file manager (If you don't use nautilus, it may be harmful)14_openblas.sh
: Download & MakeOpenBLAS
to/opt
directory (You should have$HOME/zbin
directory before executing this)15_root_jupyter.sh
: Install ROOT jupyter kernel16_julia_docker.sh
: Julia docker setup (Deprecated)17_julia_package.jl
: Install julia packages (Execute byjulia 17_julia_package.jl
)18_haskell.sh
: Install haskell viaghcup
19_xkcd.sh
: Setup xkcd font for matplotlib20_npm_package.sh
: Install useful npm packages
-
After hook
- If you set UIM in
sh 01_env.sh
, then you should configure UIM viauim-pref-gtk
. If you are korean, then refer Arch UIM Setup. If you finish setup, then should logout or reboot. - Broot may bother you after start new zsh session. In terminal, type
broot
and install. And it may modify zshrc so, remove new lines including broot in.zshrc
- If you set UIM in
-
Useful commands (alias & zsh functions)
- Git
gitu
:git add . && git commit && git push
- Latex
latexinit
: Generate initial latex files fromSocialst/Templates/Latex_Template/
- Remark
remarkinit
: Generate remark files fromSocialst/Templates/Remark_Template/
remark2pdf
: Generate PDF file from remark slide show
- Eisvogel (Pandoc)
eisvogelinit
: Generate pandoc files fromSocialst/Templates/Eisvogel_Template/
md2pdf FILENAME
: Generate PDF file from markdown file
- Typst
typstinit
: Generate typst template files fromSocialst/Templates/Typst_Template/
- Python
ncplotinit
: Template for matplotlib + netCDF4
- C++
cppdebug FILENAME
: Compile & Debug via-fstack-usage
cpprun FILENAME
: Compile & Run with-O3
cppbuild FILENAME
: Compile with-O3
cppasm FILENAME
: Compile & Generate.asm
- Tools
countdown TIME
: Countdown in terminal viatermdown
zell FILENAME
:zellij --layout $HOME/Socialst/Zellij/$FILENAME.yaml
- Git
Although you are not Arch user, you can setup with Socialst.
-
Zsh
- Pre-requisites
zsh
zsh-history-substring-search
zsh-autosuggestions
zsh-syntax-highlighting
zsh-completions
fzf
- Setup
# Backup .zshrc file (if exists) mv $HOME/.zshrc $HOME/.zshrc.old # Create link to Socialst ln -s $HOME/Socialst/Zsh/.zshrc $HOME/.zshrc # Make zsh default chsh -s `which zsh`
- Pre-requisites
-
Neovim
- Pre-requisites
neovim
python-neovim
xclip
powerline
powerline-fonts
- Setup
# Download vim-plug curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # Create .config/nvim directory if not exists if [ ! -d "$HOME/.config/nvim" ]; then mkdir $HOME/.config/nvim fi # Create symbolic link to Socialst ln -s $SOCIALST/NeoVim/init.vim $HOME/.config/nvim/init.vim
- Pre-requisites
-
Eisvogel
- Pre-requisites
texlive
pandoc
- Setup
mkdir -p $HOME/.pandoc/templates ln -s $SOCIALST/Pandoc/eisvogel.latex $HOME/.pandoc/templates/eisvogel.latex
- Pre-requisites
-
Zellij
- Pre-requisites
rust
cargo
- Above Zsh setup
- Setup
# Install Zellij cargo install zellij # For key binding if [ ! -d "$HOME/.config/zellij" ]; then mkdir -p "$HOME/.config/zellij" fi ln -s $SOCIALST/Zellij/config.yaml $HOME/.config/zellij/config.yaml
- Pre-requisites
-
Other available shell scripts (For almost all of linux distros)
02_git.sh
: Configure git with an option:credential.helper store
04_rust.sh
: Setup rust viarustup
06_cargo.sh
: Install useful applications viacargo
07_coc.sh
: If you chose 'Neovim' in01_env.sh
, then this script provided setup forCoc
08_nim.sh
: Install nim viachoosenim
11_npm.sh
: Create.npm-global
directory and prefix12_extra_python.sh
: Install extra useful python packages viapip
14_openblas.sh
: Download & MakeOpenBLAS
to/opt
directory (You should have$HOME/zbin
directory before executing this)15_root_jupyter.sh
: Install ROOT jupyter kernel20_npm_package.sh
: Install useful npm packages