How to install Unity 2022.1.21 on a Chromebook


Today we are looking at how to install Unity 2022.1.21 on a Chromebook.

If you have any questions, please contact us via a Rumble comment and we would be happy to assist you!

This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

Please use the video as a visual guide, and the commands and links below to install it on your Chromebook.

We are on social media! For announcements, content release updates (across all our projects), and much more, please join our Reddit community!
https://www.reddit.com/r/linuxmadesimple/


1) 00:05 (time stamp in the video)
We start the process by enabling two Chrome Flags in our Chromebook.  It is to increase the performance of the game, it is optional and you can always revert it back.  To do this you open the two links below in Google Chrome.

The first Chrome Flag will enable GPU acceleration for Linux Applications.  The second enables Hyper Threading for your CPU (for the whole Chrome OS).

chrome://flags/#crostini-gpu-support
chrome://flags/#scheduler-configuration

2) 00:50 Now we will enable the Linux Container on our Chromebook.  You can always remove it again in the future as well if needed.

To enable it, we go to the settings of our Chromebook, inside of it, we click on the "Advance" option in the left panel, and then the "Developers" section. Then enable Linux from there as seen in the video.

Please make your Linux container atleast 16GB big, as Unity take a lot of space.

3) 01:33
Now we continue to the next phase in the tutorial and that is to run several commands in our Linux terminal, which will install Unity Hub.

Some general facts about the terminal.  To paste a command into the Linux terminal, press "Ctrl Shift v" together.  After you paste a command into the Linux terminal, please press "enter" to run it.  At some commands you will see a question to press Y or n to continue.  If you see it press "enter" to continue.

3.1)  This command will add the Unity repository to your Linux container.

sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'

3.2) 02:12 This command will download and add the Unity security key to your Linux container.

wget -qO - https://hub.unity3d.com/linux/keys/public | sudo apt-key add -

3.3) 02:51 This command will update the repositories of our Linux container.

sudo apt update

3.4) 03:09 This command will install Unity Hub and other software which Unity requires.  Please take note that you will see some errors in the output, as the installer needs some additional packages which we will install with the next command.

sudo apt install unityhub libgconf-2-4 libarchive13 mono-devel libnss3

3.5) 03:36 This command will download the installer for Unity Editor 2022.1.21.

wget https://download.unity3d.com/download_unity/9ac1ff5ca45b/UnitySetup-2022.1.21f1

3.6) 03:47 Now we will launch Unity, and login to our Unity account.
*At the end when we get to the point where we can install an editor we will close Unity and install an editor manually.  It runs better and takes less space.  That is on Chromebooks atleast.

3.7)
05:11 Now we will run a few more command in the Linux terminal to install a Unity editor.  The next command will make the editor installer, which we downloaded, executable as a program.

chmod 755 UnitySetup-2022.1.21f1

3.8) 05:32 This command will launch the Unity Editor installer, please use it to install a Unity editor, as seen in the video.

./UnitySetup-2022.1.21f1

4)
07:01  Lastly, we will launch Unity, add the Unity editor to it, and create and launch a project.

4.1) Now we will launch Unity again.

4.2) 07:29 Now we will add the Unity editor which we just downloaded manually.

4.3)
07:53 Now we will create a project and launch it.

Enjoy!

Link:
Official Site:

Comments