Files
.dotfiles/dotfiles/software.md
lostecho d4a4ddf595 update
2023-08-24 14:46:14 +08:00

4.1 KiB

the Software of ArchLinux

install some necessary software

after arch install finish

  1. edit the pacman config file in /etc/pacman.conf
sudo nano /etc/pacman.conf

# add to the last of the file
---------------------------------------------------------------
[archlinuxcn]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
---------------------------------------------------------------

  1. import GPG key
sudo pacman -S archlinuxcn-keyring
  1. install yay & paru & other
sudo pacman -S yay paru base-devel neovim 
  1. clone config file repository
git clone https://github.com/IHHII/.dotfiles.git
git checkout -b altas origin/altas
  1. cancel the sudo password and change the environment variable
sudo su
nvim /etc/sudoers.d/10-installer

# change file to this #
--------------------------------
%wheel ALL=(ALL) ALL
%lostecho ALL=(ALL) NOPASSWD:ALL
--------------------------------

nvim /etc/environment

# change the environment in it #
--------------------------------
BROWSER=microsoft-edge-stable 
EDITOR=nvim
--------------------------------

  1. add the alhp source
  • check and install keyring & mirrorlist
/lib/ld-linux-x86-64.so.2 --help
yay -S alhp-keyring alhp-mirrorlist
  • add following source to /etc/pacman.conf
nvim /etc/pacman.conf

# add before [core] mirror #
----------------------------------------
[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

#[community-x86-64-v3]
#Include = /etc/pacman.d/alhp-mirrorlist
----------------------------------------
  • update software
sudo pacman -Syuu
  1. oh-my-zsh setup
  • use script to install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H
  • replace .zshrc file
yay -S dotdrop 
dotdrop --cfg=~/.dotfiles/config.yaml install
source ~/.zshrc

install desktop environment

  1. install hyprland
sudo pacman -S \
hyprland xdg-desktop-portal-hyprland wofi \
kitty mako swaylock-effects udiskie thunar htop \
polkit-kde-agent waybar-hyprland-git sddm

yay -S wlogout swww
  1. install fonts and fcitx5
  • fonts
sudo pacman -S \
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei \
wqy-microhei wqy-microhei-lite wqy-bitmapfont
  • fcitx5
sudo pacman -S \
fcitx5-im fcitx5-rime fcitx5-chinese-addons \
fcitx5-material-color fcitx5-configtool fcitx5-pinyin-zhwiki

yay -S fcitx5-input-support

  1. install some tools
sudo pacman -S \
blueman ufw network-manager-applet timeshift\
neofetch github-desktop-bin aria2 motrix \
zathura zathura-mu-pdf
  1. documents view and edit
sudo pacman -S kate okular jupyterlab obsidian

yay -S microsoft-edge-stable visual-studio-code-bin \
ttf-wps-fonts wps-office-cn
  1. develop tools
sudo pacman -S \
mariadb mariadb-libs \
clang go python-pip cargo npm jdk-openjdk

yay -S jetbrains-toolbox
  1. install sound

have some unknown problem

alsa-utils pulseaudio pulseaudio-alsa pamixer pavucontrol
  1. install note software
yay -S \
notion-app-enhanced typora-free \
logseq-desktop-wayland-bin anytype-bin

other software

  • pacman

plasma-desktop

  • yay

aliyunpan-odomu \

sddm-config-editor-git hyprland-autoname-workspace-git

git init

git config --global user.name lostecho git config --global user.email 752549025@qq.com git config --global credential.helper store

some git repositories

git clone https://github.com/selfteaching/the-craft-of-selfteaching.git
git clone https://github.com/xiaolai/regular-investing-in-box.git
git clone https://github.com/xiaolai/everyone-can-use-english.git
git clone https://github.com/xiaolai/time-as-a-friend.git

hyprload

curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash

ghp_0ykTi91rAkLtVnxhBcLssmIZaUxVvR2hWODQ