Running Linux Applications on Chromebook

Running Linux Applications on Chromebook

The arrival of the Chromebook was a significant moment for American educational systems, enabling them to purchase affordable laptops for students, teachers, and administrators. Although Chromebook has always operated on a Linux-based operating system (Chrome OS), until recently most Linux applications were unable to run on them. However, everything changed when Google released Crostini — a virtual machine that allows the running of Linux OS (beta) on Chromebook.

Most Chromebooks released after 2019, as well as some older models, can work with Crostini and Linux (beta). You can find out if your Chromebook is on the list of supported devices here. Luckily, my Acer Chromebook 15 with 2 GB of RAM and Intel Celeron processor is supported.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

If you plan to install many Linux applications, I recommend using a Chromebook with 4 GB of RAM and more disk space.

Setting Up Linux (beta)

Once logged into your Chromebook, move the mouse cursor to the bottom right corner of the screen where the clock is located and left-click. A panel will open with options listed at the top (from left to right): sign out, shut down, lock, and open settings. Select the settings icon (Settings).

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

On the left side of the panel Settings you will see in the list Linux (Beta).

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

Click on Linux (Beta), and an option to start it will appear on the main panel. Click the button Turn on.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

After that, the process of setting up the Linux environment on the Chromebook will begin.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

Then you will be prompted to enter Username and the desired size for the Linux installation.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

Installing Linux on a Chromebook will take a few minutes.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

Once the installation is complete, you can start using Linux on your Chromebook. In the menu bar at the bottom of the Chromebook display, there is a shortcut to the terminal — a text interface that can be used to interact with Linux.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

You can use standard Linux commands, for example, ls, lscpu and top, to get more information about the environment. Applications are installed with the command sudo apt install.

Installing the First Linux Application

The ability to install and run open-source software on Chromebook provides extensive possibilities.

First, I recommend installing the Mu editor for Python. Let's install it by entering the following in the terminal:

$ sudo apt install mu-editor

The installation will take a little over five minutes, but in the end, you'll have access to a great code editor for Python.

I have successfully used Mu and Python as a learning tool.For example, I taught my students to write code for the turtle module of Python and execute it to create graphics. I was disappointed that I couldn't use Mu with the open hardware board BBC:Microbit.Although the Microbit connects via USB and there is USB support in the Linux virtual environment on Chromebook, I couldn't get it to work.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

After installing the app, it will appear in the special menu Linux Apps, which is shown in the bottom right corner of the screenshot.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

You can install other applications.

You can install not only programming languages with code editors. In fact, you can install most of your favorite open-source applications.

For example, you can install the LibreOffice package with the following command:

$ sudo apt install libreoffice

The open-source audio editor Audacity — is one of my favorite educational applications. The microphone on my Chromebook works with Audacity, allowing me to easily create podcasts or edit free sounds from Wikimedia Commons.Installing Audacity on Chromebook is easy — once the Crostini virtual environment is running, open the terminal and enter the following:

$ sudo apt install audacity

Then launch Audacity from the command line or find it in the Linux Apps Chromebook menu.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

I also easily installed TuxMath and TuxType — a couple of wonderful educational programs. I even managed to install and run the image editor GIMP.All Linux applications are taken from Debian Linux repositories.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

File Transfer

In Linux (beta), there is a utility for backing up and restoring files. You can also transfer files between the Linux (beta) virtual machine and Chromebook by right-clicking on the folder you want to transfer on your Chromebook. You can transfer all files from the Chromebook or create a special folder for shared files. When in the Linux virtual machine, you can access the folder by navigating to Files Documentation for Linux (beta) is very detailed, so study it carefully to learn about the features. Here are some important aspects taken from the documentation: /mnt/chromeos.

Running Linux Applications on Chromebook
(Don Watkins, CC BY-SA 4.0)

Additional information

Documentation Cameras are not supported yet.

  • Cameras are not supported yet.
  • Android devices are supported via USB.
  • Hardware acceleration is not supported yet.
  • Microphone access is available.

Do you use Linux applications on your Chromebook? Share your experience in the comments!

Advertising

VDSina offers rent servers for any tasks, a vast selection of operating systems for automatic installation, with the option to install any OS from your own ISOwith a user-friendly control panel of our own development and pay-per-day.

Running Linux Applications on Chromebook

Source: habr.com

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster