Getting Started With openEuler

openEuler

Setting Up Basic Things After Installing openEuler

Let's get some of the very basics right after you have installed openEuler. With these things set, you'll be in a bit better position to enjoy this distro.

Now that you have installed openEuler, I recommend doing some basic setup to make it useful as a daily driver desktop.

1. Configure the DNF package manager

Since openEuler is based on CentOS, it used the DNF package manager. For many users, DNF package manager is pretty slow because of several reasons.

But luckily, you can configure the DNF package manager to make it better to use.

First, open the DNF config file for edting:

sudo nano /etc/dnf/dnf.conf

Here, at the bottom, enter the line:

max_parallel_downloads=10
πŸ“‹
If you have a very slow internet connection, no need to add this line. This is helpful if you have a better internet connection.

I'll discuss package management on openEuler in detail in another tutorial.

2. Update the system

Once you have the DNF configuration ready, it's time to update your system. Since the base install of openEuler does not come with any desktop installed, you need to update your system using the command line.

First, check for any updates available:

dnf check-update

This will list any available updates and details.

Check any available update in openEuler
Check Update

To update your system, use the command:

sudo dnf update
Update the system using dnf update command.
Download and Update

Enter y when prompted to start downloading the packages and updating the system.

Once update is done, reboot the system using:

sudo reboot

3. Install a desktop environment of your choice

πŸ“‹
I have already discussed this step in the openEuler installation guide. Still, if someone didn't bother to install a DE, this will help them.

Since the base installation has no installed desktop environment, let's install the recommended UKUI desktop. For Xfce setup, please refer to the openEuler installation article.

When your system is rebooted after applied the updates. enter the command below to install UKUI desktop:

sudo dnf install ukui

This will download and install the necessary packages.

To make UKUI start automatically on system startup, use the command:

sudo systemctl set-default graphical.target

Now, reboot the system:

sudo reboot

4. Check if Firewall is running

It is important to use a firewall service in Linux and any other system that is connected to internet. In openEuler, you will get Firewalld installed by default. Check if Firewall is enabled using:

systemctl status firewalld.service

If it is not enabled, enable it using the command:

sudo systemctl enable firewalld.service

5. Enable Flatpak Support

openEuler has the Flatpak package available in the repository. To install, use the command:

sudo dnf install flatpak

Once Flatpak is installed, add the Flathub repo t your system to install popular applications.

flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
πŸ“‹
Take a look at the --user flag in the above command. If this is not added, you may need an active root account to enable Flatpak.

Once the repo is added, reboot the system.

🚧
There is an error in Flatpak called Warning: Not exporting file com.raggesilver.BlackBox.metainfo.xml of unsupported type. This is a known bug in Flatpak version before 1.12.7. Since openEuler uses 1.10.2, the issue persists. You can ignore it and wait for openEuler team to update the flatpak version.

6. Enable root account (not necessary)

Enabling a root account is not necessary for ordinary system usage. But sometimes, you may need root to do some administrative works.

πŸ“‹
The openEuler installer ask the user to set a root password during the installation. f you set one there, no need to follow the steps.

First, change to the root account using the command:

sudo su -

Now, add a root password using the command:

passwd

Enter an reenter a password. Once done, use the exit command to log out of root.

exit
🚧
Never use ROOT account for daily usage and other administrative purpose. For all usual tasks, use sudo, which is much safer.

7. Install essential applications

In openEuler, you can use the DNF package manager to install essential applications from official repositories.

First, check for a package using the command:

dnf search <search_term>

Now, install the package using:

sudo dnf install <package_name>

If you have set up Flatpak/Flathub repository on your system, you can install Flatpak application as well.

First, go to the Flathub website and search for the package.

Search for an app by name in Flathub website.
Search Flathub

From the app page, copy the install code, which will be of the form:

flatpak install flathub <package_name>
Copy the code to install the Flatpak app.
Copy install code

Enter this command in the terminal to install the app.

🚧
After installing the Flatpak app, I was not able to find it anywhere in the UKUI app menu. But the app was able to run using the command: flatpak run <package_name>, that is flatpak run com.raggesilver.Blackbox in the above example.

8. Install Brave browser

It is essential to have a web browser. I prefer something Chrome/Chromium based as almost all applications and websites support it. I suggest going for Brave.

Let's see how you can install Brave browser on openEuler.

First, install the dnf-plugins-core

sudo dnf install dnf-plugins-core

Now, configure the Brave browser repo and add import the Brave key.

sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo

sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

Install Brave browser using the following command.

sudo dnf install brave-browser

9. Get dark mode in UKUI

Purely cosmetics but essentials for developers these datys.

If you have chosen the UKUI desktop for openEuler, you can enable a neat dark mode.

All you have to do is, click on the sun icon on the UKUI bottom panel

On the right side of the UKUI bottom panel, click on the sun icon to turn on the dark mode.
Toggle dark mode from panel

To do this in settings, go to the Themes tab in settings and select the Dark option.

Set the dark mode in UKUI settings window. You can find this setting in the Themes tab of system settigs app.
Change theme from settings

Conclusion

These were some very basic things to set up after you install openEuler. Next, we dig deeper into package management, system updates and desktop customization.