Getting Started With openEuler

openEuler

Installing openEuler on a Desktop

There is no desktop version of openEuler but you can still install it on desktop.

So, you are willing to try the openEuler Linux distribution, an open source project backed by some of the biggest names in China with the aim to create a unified operating system, specially for developers. It should not be too unfamiliar to you if you have used Fedora, CentOS or any other distribution on the Red Hat side.

Let's see how you can install it in this tutorial.

Download openEuler

First, you need to download the ISO of openEuler from the official website. On the official website, hover over Downloads and select a version of openEuler.

Note that it has ISOs for various types as well; Server, Edge Cloud, Cloud Computing and Embedded.

On the official website of openEuler, hover over the Downloads button to select a version to download.
Click on openEuler version

There is no dedicated desktop version. If you are looking to install openEuler on a regular desktop, you install the server version and then install a desktop environment.

And that's what we are going to do in this tutorial.

Download the standard ISO file using the download button. You can also click on View All and then select another Mirror Site column as shown below.

There is also an offline version that includes all the software packages but downloading a 21 GB ISO is not what I advise.

Click on the View All button to get a list of mirrors near your area.
View all button to view mirrors

Here, openEuler 24.03 LTS is used.

πŸ’‘
It is recommended to download the respective "Integrity Check" SHASUM file as well for checking the integrity of the downloaded ISO file.

Install OpenEuler

Once you have downloaded and verified the ISO file, flash it to a USB drive.

πŸ“‹
openEuler requires decent system resources. You can set it up with 4 GB and above, but 8 GB or higher is recommended for a better desktop experience.

When booted, select "Test this media & install openEuler" option.

Test the media and boot into the system
Test Media and Boot

openEuler uses the Anaconda installer, the one used in Fedora. In the first step, select your language and click on continue.

Select the language and click on continue.
Select Language (Click to enlarge)

Set the keyboard layout, timezone, and language to your requirements.

Keyboard layout, timezone and language settings.
Keyboard layout, timezone and language settings.

Next, you can see that the Software Selection is Minimal Install. Click on the Software Selection button to get more options.

Click on software selection to select more installation choices.
Click on Software Selection

Here, I have selected the Minimal Installation along with the Standard option.

Select Minimal install and select the standard option.
Minimal Install (Click to enlarge)

As the next step, click on the Installation Destination button.

Click on installtion destination button.
Click on Installation Destination

Since it is automatic partitioning, just press the Done button, unless you have some manual partition needed.

Installation destination, click on Done button.
Click on Done button (Click to enlarge)

Click on the Network & Hostname button.

Click on network and hostname button.
Network and Hostname button

Inside the settings, set a hostname.

Set a hostname. No need to enable the Network button in the right side, if you are using the installation media.
Set a hostname
🚧
If you are installing using the downloaded ISO file, then there is no need to turn on the network here. On the other hand, if you are using network installation, don't forget to enable the network.

In the user create settings, create a local system user account. Click on the User Creation button.

Click on user creation button in User Settings section.
Click on the User creation button

In the user creation window, enter all the credentials and click on Done.

Enter all the user credentials like username, full name, password, etc.
Enter Credentials (Click to enlarge)
πŸ’‘
Here, the Root account is disabled. You can enable it inside the Root Account settings and enter a password. But for local system usages, it is better to keep it disabled.

Once all the settings are completed in this stage, click on Begin Installation.

Click on "Begin Installation" button to start the installation process.
Click on "Begin Installation" (Click to enlarge)

This will start the installation. When the installation is finished, reboot the system.

Click on Reboot System to finish the installation.
Click on Reboot System

Don't forget to remove the USB device. If you don't remove the USB device and booted into the live environment again, shut down the system, remove the USB and then reboot.

Once you rebooted, you will end up in a command line interface, asking to log in. Enter the username and password you created during the installation step.

Command prompt login. Log in using the user name and password created during the installation.
Command prompt login

Update the system

Since you are installing the system using the installation media, chances are there that, you have numerous package updates.

Since openEuler is based on CentOS, you can use the dnf command to manage packages, just like you do in Fedora.

sudo dnf update

It will take some time to finish the updates. Once updates are applied, reboot the system.

sudo reboot
πŸ“‹
You will be asked to confirm both downloading the packages and importing the GPG key. Provide yes (y) to both questions.

Install a desktop environment

As said above, the default installation brings you to a command prompt set up. So, you need to install a graphical desktop to make it usable for personal purposes.

In this article, we will take a look at setting the UKUI and Xfce desktop.

🚧
GNOME desktop is available with openEuler, but it requires a lot of typing. That presents trouble since you cannot copy and paste to the command prompt from the website.

Install UKUI desktop

UKUI is a neat desktop, that can be easily set up in openEuler. To install the desktop, use the command given below.

sudo dnf install ukui
🚧
Installing UKUI will install ~700 packages, 1.5+ GB download, and 4.5+ GB disk space.

To log in to the graphical session in the login time, use the command:

sudo systemctl set-default graphical.target

Once done, reboot the system using:

sudo reboot

You will be greeted with the UKUI login screen.

UKUI login screen in openEuler. Enter the password to log in to the system.
UKUI login screen
🚧
When I installed UKUI on GNOME Boxes virtual machine, it detected the display size as 5120x2160. I had to manually reduce it to 1920x1080 in UKUI Settings -> System -> Display.
UKUI Desktop with About system information window is opened.
UKUI Desktop (Click to enlarge)

Install Xfce Desktop

If you need something a bit more light on resource usage, go for the Xfce desktop. It is relatively easy to install Xfce in openEuler.

After updating the system, install all the necessary font libraries.

sudo dnf install dejavu-fonts liberation-fonts gnu-*-fonts google-*-fonts

Now, install the xorg group of packages.

sudo dnf install xorg-*

Install the Xfce desktop, window manager.

sudo dnf install xfwm4 xfdesktop xfce4-* xfce4-*-plugin *fonts

With Xfce, you can use the LightDM display manager.

sudo dnf install lightdm lightdm-gtk

Now, enable the LightDM display manager to start at login time.

sudo systemctl enable lightdm

To get a GUI login at login time, use the command:

sudo systemctl set-default graphical.target

Now, reboot the system.

sudo reboot

That's it. You will be greeted to the LightDM login screen.

LightDM login screen in openEuler. Enter the credentials to log in to the system.
LightDM login screen

Enter the credentials to log in to the Xfce session.

Active Xfce session with about system window opened.
Xfce Desktop

Now you are ready to enjoy the openEuler system.

Conclusion

So, you just learned to install the openEuler distribution with a graphical desktop environment. Now you are ready to test the CentOS-istic distribution and explore it further. Next, we shall see a few tricks on setting things up post installation.