Last edit: 24 August 2022

Linux on FydeOS, sometimes called Crostini, allows you to run Linux apps for development alongside your usual FydeOS desktop & apps. Linux on FydeOS offers developers the best of both worlds. Built and designed with FydeOS’ principles of simplicity and security, Linux on FydeOS gives devs the freedom to safely run their favorite editors, IDEs, and thousands of world-class dev tools in one container.

#Enable Linux from FydeOS settings

It’s easy to set up Linux, aka Crostini, on FydeOS.

  • First, go to Settings, expand the “Advanced” menu and go to “Developers”. Then “Turn on” Linux:

  • Click "Next" on the prompt box that pops up:

  • FydeOS will automatically install the necessary files and set up your Linux container, depending on your hardware configuration, it takes a few minutes to install and enable the Linux subsystem for the first time, please be paient.

  • When it finishes, you’ll see a new Terminal app and an open terminal window. We recommend pinning the application to your shelf as a handy way to access your Linux container in the future. Right-click on the Terminal app icon and choose “Pin”.

  • Now your Debian Linux installation is ready to go! A good first thing to do is update the APT⁠ repository index and install. APT is a command-line package manager for Debian, and keeping it up to date will ensure you’re always installing the latest versions of tools in its repository:

    sudo apt update
  • FydeOS has mapped the user folder in the Linux subsystem to the system's file manager. Through the "File" app in the apps launcher, we can see that FydeOS has added the new option of "Linux files", And is the same as the home folder in Terminal:

alt text

You’re now set up and ready to use the Linux container!

#Sharing files to Linux

  • A simple way to access files in the Linux container is to make a copy.

To do so, open the Files app, drag whatever directory or file you want to access, and drop it in “Linux files”.

  • If you don’t want to make a copy, you can share directories, such as a project folder, from outside the Linux container with the Linux container. To do so:
  1. Ensure that Linux is set up.

  2. Open the Files app and find the directory you want to share.

  3. Right-click on the folder you want to share and select the “Share with Linux” option.

  4. Within the Linux container, these shared folders will be located at /mnt/chromeos. From the Terminal app run cd /mnt/chromeos.

#Restarting the Linux container

If you are troubleshooting an issue with Linux, it may be helpful to restart the container without restarting your whole FydeOS. To do so, right-click on the Terminal app in your shelf and click “Shut down Linux”.

Once shut down, the applications should show up in the launcher, and choosing one will start up your Linux container again.

#Backing up and restoring

Because Linux on FydeOS runs inside a container, you can back up your environment and restore it; files, apps, and all. This allows you to set up your Linux environment once, then take it with you without needing to reconfigure it again!

  • Go to the “Settings“ > “Developers“ > “Linux devolop environment“ > “Backup & restore“