Installing ArchLinux#
For those who can't understand English#
Then it seems that you can only follow the official tutorial and start typing directly...
For those who can understand English#
There is a brainless installation method:
arch-install
Then just follow the prompts and input accordingly.
If you want to manually type the code, you can refer to the above.
Installing required packages#
Following the official tutorial#
It is recommended to refer to this tutorial to change the source first. Of course, you can also choose to trust the speed of the default Arch source (it's not that good in Guangdong anyway).
Then install nano for the new system (you can also use vim, but I don't know how to use it, so I'll use nano as an example later).
pacstrap -S nano
Using arch-install#
It is also recommended to change the source, but arch-install will prompt you whether to change the source and has prepared a complete set of sources for the China region (very thoughtful).
arch-install will provide prompts during the installation, where you can input nano.
A few small points to note:#
-
When installing with arch-install, it is recommended to directly select the minimal version (without installing any desktop environment, because I have tried before and plasma caused the entire DDE to crash)
-
When installing the kernel with arch-install, it is recommended to select the default option, otherwise there is a high chance that the desktop environment will crash and ping will show "Temporary Failure" during startup (reason unknown, seems to be because DDE directly depends on the latest version of the kernel)
-
Be sure to create a new user! Otherwise, DDE will refuse to log in. It is also recommended to add this user to the wheel group (for sudo access) (arch-install will provide prompts as well)
-
If you follow the official tutorial, it is recommended to check the link at the end of the tutorial, otherwise you won't be able to connect to the internet (personal experience) (assume you have a wired network connection throughout the process)
Installing DDE#
Assuming that you are logged in as a non-root user, please execute the following commands in order.
sudo pacman -Syu # Synchronize the software source list first (also updated it)
sudo pacman -S deepin deepin-extra # Install DDE
sudo systemctl enable lightdm # Enable DDE login interface on startup
(Note) Fixing the infinite loop login issue in DDE#
After referring to many tutorials, I finally found that it is because DDE and lightdm are separate, and the main DDE environment does not know that the user has already logged in (although I didn't encounter this issue on Manjaro).
The solution is to automatically start DDE after login using .xinitrc (assuming you are using the X11 desktop environment and executing the following commands as a non-root user).
nano ~/.xinitrc
Then enter the following content (it's actually very simple):
exec startdde
Then press Ctrl+X and follow the prompts to exit and save.
Enjoy!#
sudo su # Switch to the root user
reboot # Restart
The installation is complete after the restart! (At least that's how it worked for me)
(Remember to remove the installation media)