The way to use a post-installation script to simplify the Fedora desktop configuration

May 1, 2019 By Lisa

The way to use a post-installation script to simplify the Fedora desktop configuration

If it’s good to deploy a number of Fedora-based machines, this script tremendously simplifies the method.

A post-installation script that simplifies Fedora desktop configuration
If it’s good to deploy a number of Fedora-based machines, this script tremendously facilitates this course of.

As an administrator, you understand how exhausting it may be to arrange desktops and put together them for customers. Until you may have already automated the method, you should set up the working system, set up the mandatory purposes, and carry out some other post-installation setup. It could take numerous your time, a time that might be higher served by doing extra vital issues (like securing your community).

Should you deploy Fedora desktops, a Fedora administrator named Tobias has created a post-installation script that takes care of numerous the work. What does this script do?

Refreshes the obtainable packages from the repositories. Provides free and (presumably) non-free Fusion RPM repositories. Replace the system. Installs a lot of software program packages.

SEE: Selecting Your Home windows 7 Exit Technique: 4 Choices (Tech Professional Analysis)

Higher but, as it’s an open supply, you possibly can obtain and edit the script to suit your wants.

I’ll clarify the method of utilizing this script on Fedora 29.

Be aware: With slightly work, you possibly can run this identical script on Fedora Server.

What do you want

The one factor you want for this to work is an occasion operating Fedora 29 and a person account with sudo privileges.

Get the script

The factor to do is to obtain the mandatory script. To do that, you should first set up wget and nano. Open a terminal window and launch the command:

sudo dnf set up wget nano -y

As soon as wget is put in, obtain the script with the command:


As soon as the script is saved, open it for viewing / modifying with the assistance of the command:

nano set

Crucial part to verify is underneath sudo dnf set up line (Determine a).

Determine A: The set up part of the bundle.

Modify this part in response to your wants (including or eradicating purposes in response to your wants). On this part additionally, you will discover the Developer and Superior Dev sub-sections. If you don’t deploy for builders, you possibly can touch upon these complete sections.

To incorporate an utility to put in, merely add the title of the applying within the dnf set up part of the script. Suppose you wish to embrace Thunderbird within the combine. For this, add thunderbird underneath transmission (Determine B).

Determine B: Including an utility to the set up part.

Launch the script

After choosing the script (and modifying if needed), save the file and grant it the mandatory permissions to run with the command:

chmod u + x set

There are two methods to run the script:

Set up solely open supply and open supply software program. Together with non-free software program.

To put in solely free software program, the command is as follows:


To incorporate non-free software program choices, the command is:

./set –nonfree

As a result of this script will not be operating as root (utilizing sudo), the sudo person password will probably be requested for greater than as soon as. One resolution is to run a command with the assistance of sudo simply earlier than issuing one of many ./set instructions, which might cache the password for a time frame brief sufficient to finish the script. You’ll be able to merely enter the command sudo ls then, on the immediate, sort your sudo password. As quickly because the ls command is full, run the set up command. The sudo password of the person will not be requested in the course of the execution.

As soon as the script is full, you possibly can restart your desktop and it is able to work. If in case you have custom-made the script to fit your enterprise wants, this workstation is totally configured to permit the person to log in and begin working. You might also wish to configure the workstation to authenticate to an LDAP server (which isn’t coated on this script) in order that any person can connect with this machine. (See: The way to authenticate a Linux consumer with an LDAP server.)

Congratulations. Getting ready these Fedora desktops for customers is now significantly extra environment friendly.

Open Supply Weekly Information Letter

You’ll not wish to miss our suggestions, tutorials and feedback on the Linux working system and open supply purposes.
Delivered on Tuesday

Join right now

Join right now

Look additionally

Picture: Fedora


Leave a Reply

Your email address will not be published. Required fields are marked *