Article Directory
- Make U Disk Boot Disk
- Ready to work
- U disk boot to start installation
- wifi_menu is unavailable after chrooted into the system
- Install grub boot
- Install Chinese input method
- WPS installation
- Automatically mount NTFS partitions under Windows 10
- Install python3 and pip3
- Install cpplint
- Install vscode
- Change i3wm desktop color theme
- Install oh-my-zsh
Arch Linux official installation tutorial
mirror download China Tsinghua University source
This article refers to the official tutorial or the blog of Comrade Xingxi
Make U Disk Boot Disk
Use rufus software
- Select mirror
- Select gpt mode
- Choose fat32
- Write select dd mode
- Start production and wait for completion
Ready to work
- Turn off the bios secure mode
- Turn off Windows Quick Start, etc. For these tasks, please refer to other blog posts or official documents
U disk boot to start installation
- Use wifi-menu to connect to wireless network
- Partition (key to the dual system)
- Use the cfdisk partition tool to divide the partition where you want to install ArchLinux into two partitions, one as swap and the other as the mount point of /.
- format
mk.ext4 /dev/sdb3 // 设备名写自己的 mkswap /dev/sdb4
- Mount
mount /dev/sdb3 /mnt swapon /dev/sdb4 mkdir -p /mnt/boot/efi mount /dev/sda1 /mnt/boot/efi // 注意 /dev/sda1 为 Windows efi 引导所在分区(重点)
wifi_menu is unavailable after chrooted into the system
This part is taken out separately because the new version of the ArchLinux installation package does not pack netctl into the installation package, which causes the wifi-menu to be unavailable after arch-chroot /mnt enters the installed system, so remember to do it before chroot Install netctl toolkit
pacman -S netctl
// 其他需要的联网工具
pacman -S rp-pppoe dialog iw wpa_supplicant networkmanager dhcp
systemctl enable NetworkManager
Install grub boot
pacman -S grub efibootmgr os-prober ntfs-3g
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ArchLinux --recheck
grub-mkconfig -o /boot/grub/grub.cfg
Install Chinese input method
sudo pacman -S fcitx-im fcitx-configtool fcitx-googlepinyin
In the ~/.xprofile file, add the following content (if not, create a new one)
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx
Then run fcitx-configtool on the command line to add googlepinyin input method, if it doesn't work, remember to restart.
ficitx-sougoupinyin is not recommended to be unstable
WPS installation
sudo pacman -S wps-office
sudo pacman -S ttf-wps-fonts
Automatically mount NTFS partitions under Windows 10
Remember to turn off the quick start of Windows 10
- Install ntfs-3g
// 支持 读写 ntfs 分区
sudo pacman -S ntfs-3g
- Create mount point
mkdir -p /windows/c
mkdir -p /windows/d
mkdir -p /windows/e
- Edit /etc/fstab
/dev/sda3 /windows/c ntfs defaults 0 0
/dev/sdb1 /windows/d ntfs defaults 0 0
/dev/sdb2 /windows/e ntfs defaults 0 0
Note: You can use fdisk -l or df or lsblk to view the device name of your windows partition
Install python3 and pip3
sudo pacman -S python3
sudo pacman -S python-pip
Install cpplint
sudo pip install cpplint
The cpplint installed by default in Arch Linux is in
/usr/bin/cpplint
In the catalog
Install vscode
sudo pacman -S visual-studio-code-bin
The startup command is code
Change i3wm desktop color theme
Install npm
sudo pacman -S npm
Install i3-style
sudo npm install -g i3-style
i3-style usage
Apply default theme
i3-style solarized -o ~/.config/i3/config --reload
Apply other themes under themes
Copy the theme file under themes to your designated directory and modify it to .yaml extension, then execute
i3-style ~/.config/i3/solarized.yaml -o ~/.config/i3/config
The default i3-style themes directory installed by npm is under /usr/lib/node_modules/i3-style/themes
Install oh-my-zsh
View the current shell
echo $SHELL
Install zsh
sudo pacman -S zsh
Configure zsh
zsh
Install oh-my-zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Restart the installation is complete
Refer to oh-my-zsh to configure
topics that you feel good to use:
xiong-chiamiov
frontcube