How to easily manage chroot environments in Linux with Atoms

Jack Wallen shows you a GUI that takes the complication out of creating and using chroot environments on Linux.

Image: deagreez/Adobe Stock

Chroot environments, which have been a feature of Linux for some time, create isolation for testing purposes. With this isolation, you can be certain whatever application you’re testing won’t have access to the system environment, keeping you safe from any adverse effects from the app.

SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium)

Such an environment could be used for development purposes or even testing a third-party app before actually deploying it. After all, not every development project should be blindly trusted.

But working in chroot environments was a bit of a challenge: Until now. Atoms is a GUI application that makes creating and using chroot environments very easy, so you can spend less time creating the environments and more time developing and testing.

Let me show you how to install and use Atoms on Fedora Workstation.

Atoms includes features like:

  • File browning within the chroot environment
  • Ability to select mount points
  • Console access
  • Supports images for AlmaLinux, Alpine Linux, CentOS, Debian, Fedora, Gentoo, openSUSE and Rocky Linux
  • Easy to use GUI

What you’ll need to install and use Atoms

The only thing you’ll need is a running instance of Fedora Workstation or any Linux distribution that supports Flatpak.

How to install Atoms

Log into your desktop and open a terminal window. Install Atoms with the command:

flatpak install atoms

Make sure to answer y to the questions and allow the installation to complete.

How to use Atoms

After Atoms is installed, you’ll find the launcher in your desktop menu. Open the app to reveal a very clean and easy-to-use interface (Figure A).

Figure A

The Atoms app upon the first run.
The Atoms app upon the first run.

In the resulting window (Figure B), you must name the chroot environment, select a distribution for the chroot environment, and then select a release for the distribution.

Figure B

Creating a new chroot environment with Atoms.
Creating a new chroot environment with Atoms.

After configuring the chroot environment, click Create, and Atoms will very quickly create the new environment. Click Close when prompted, and you’ll see your new chroot listed (Figure C).

Figure C

A new Rocky Linux-based chroot is ready to use.
A new Rocky Linux-based chroot is ready to use.

Click the entry, and you’ll see how easy it is to browse files, choose mount points to expose, and access the console (Figure D).

Figure D

My new TR TEST Dashboard gives me access to all the features.
My new TR TEST Dashboard gives me access to all the features.

Click Console, and you’ll be immediately transported to the root console of the environment (Figure E).

Figure E

The console for the Rocky Linux chroot environment.
The console for the Rocky Linux chroot environment.

At this point, you can start working and testing the applications you’re developing. Congratulations — chroot was never easier.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

For all the latest Technology News Click Here 

 For the latest news and updates, follow us on Google News

Read original article here

Denial of responsibility! TechNewsBoy.com is an automatic aggregator around the global media. All the content are available free on Internet. We have just arranged it in one platform for educational purpose only. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials on our website, please contact us by email – [email protected]. The content will be deleted within 24 hours.