Install linux and Set the configuration
#1.open gparted partition free disk
#2.open installer
#3.add each partition flag
#4.after instalation done reboot
#5.change mirror
#6.install sougoupinyin
#7.install screenshot: flameshot -gui =>>start
#8.install microsoft-ede-browser
#9.install rust
#10.install miniconda and add mirror
#11.yay -S xfce4-clipman-plugin to install clipboard maneger
#12.install eye protection: yay -S safeeyes || yay -S redshift
#13.open eye protection: redshift -P -O 3000
#get install list
krep "pacman -S" -F /var/log/pacman.log > data.txt
yay -S archlinux-keyring
yay -S archlinuxcn-keyring
yay -S arch4edu-keyring
yay -S blackarch-keyring
yay -S extra/qt5-declarative
yay -S extra/qt5-location
yay -S extra/qt5-sensors
yay -S extra/qt5-webchannel
yay -S archlinuxcn/qt5-webkit
yay -S extra/qt5-x11extras
yay -S extra/rhash
yay -S extra/cmake
yay -S extra/ninja
yay -S extra/extra-cmake-modules
yay -S rustup
yay -S google-chrome
yay -S feishu-bin
yay -S extra/foremost
yay -S blackarch/wireshark-qt
yay -S extra/fcrackzip
yay -S blackarch/zsteg
yay -S archlinuxcn/imhex
yay -S blackarch/bkcrack
yay -S blackarch/ctf-party
yay -S extra/john
yay -S blackarch/outguess
yay -S extra/binwalk
yay -S archlinuxcn/miniconda
yay -S extra/sqlmap
yay -S blackarch/python-chepy
yay -S archlinuxcn/miniconda
yay -S archlinuxcn/rust-analyzer-nightly
yay -S extra/rust-analyzer
yay -S archlinuxcn/jre
yay -S extra/python-html2text
yay -S extra/java-environment-common
yay -S extra/python-pip
yay -S extra/obs-studio
yay -S extra/mpv
yay -S extra/ruby
yay -S extra/fakechroot
yay -S extra/electron19
yay -S archlinuxcn/miniconda
yay -S extra/clang
yay -S extra/fakechroot
yay -S blackarch/gdb
yay -S extra/nikto
yay -S blackarch/dirsearch
yay -S extra/radare2
yay -S arch4edu/visual-studio-code-bin
yay -S extra/flameshot
yay -S extra/deno
yay -S extra/sagemath
yay -S blackarch/pngcheck
yay -S extra/helix
yay -S extra/xarchiver-gtk2
yay -S extra/nodejs
yay -S extra/docker
yay -S extra/php
yay -S extra/boost
yay -S extra/djvulibre
yay -S blackarch/factordb-pycli
yay -S blackarch/silenteye
yay -S pylsp
yay -S ghidra
yay -S httpx
yay -S deepin-compressor
yay -S blackarch/ida-free
yay -S blackarch/whatweb
yay -S zin
yay -S extra/tectonic
#install pinyin input
yay -S extra/fcitx-qt5
yay -S extra/fcitx-configtool
yay -S extra/fcitx-im
yay -S extra/fcitx-googlepinyin
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
git config --global user.email "dnrops@aliyun.com"
git config --global user.name "dnrops"
set pacman.conf
code /etc/pacman.conf
XferCommand = /home/andrew/.cargo/bin/duma -U Chrome/105.0.0.0 -c -T 50000 -O %o %u
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[endeavouros]
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
[archlinuxcn]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
[arch4edu]
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
[blackarch]
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/blackarch/$repo/os/$arch
update and install key
sudo pacman -S archlinuxcn-keyring
sudo pacman -S arch4edu-keyring
sudo pacman -S blackarch-keyring
sudo pacman -Syy
install miniconda
yay -S miniconda
printf "source /opt/miniconda/etc/profile.d/conda.sh" >> ~/.bashrc
sudo ln -s /opt/miniconda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
reinstall python in archlinux
sudo pacman -Rns python python2
yay -S python python2
install rust
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
cargo install --force --version 0.1.1 cargo-config
~/.bashrc
alias yay_cache="thunar ~/.cache/yay/"
alias open_mirror="code /etc/pacman.d/mirrorlist"
alias copy_to_clipboard="xclip -selection clipboard"
alias tar_gz="tar zcvf update.tar.gz"
alias ida_remove_cache="rm -rf *.id0 *.id1 *.id2 *.nam *.til *.i64"
alias ac_py27="source /opt/miniconda/bin/activate py27"
alias ac_py39="source /opt/miniconda/bin/activate py39"
#rustup
export RUSTUP_UPDATE_ROOT="https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup"
export RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup"
#deno path
export PATH="/home/andrew/code/gitcode/deno_bin:$PATH"
#rust
export PATH="/home/andrew/.cargo/bin:$PATH"
#local
export PATH="/home/andrew/.local/bin:$PATH"
# ruby
export PATH="/home/andrew/.local/share/gem/ruby/3.0.0/bin:$PATH"
#python -m venv py311
#python3.11
export PATH="/home/andrew/code/python/py311/bin:$PATH"