Files
o3de/scripts/build/build_node/Platform/Linux/install-ubuntu.sh
T
Mike Chang 2bf83ad9fb Ubuntu 20.04 package update for clang-12 (#3727)
* Updated CMake, added libxkbcommon-dev and clang-12

* Add Corretto JDK 11 to packages for Ubuntu 20 and 18

* Add mountpoint creation command

Signed-off-by: Mike Chang <changml@amazon.com>
2021-08-31 13:47:57 -07:00

53 lines
965 B
Bash
Executable File

#!/bin/bash
# Copyright (c) Contributors to the Open 3D Engine Project.
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# This script must be run as root
if [[ $EUID -ne 0 ]]
then
echo "This script must be run as root (sudo)"
exit 1
fi
echo Installing packages and tools for O3DE development
# Install awscli
./install-ubuntu-awscli.sh
if [ $? -ne 0 ]
then
echo Error installing AWSCLI
exit 1
fi
# Install git
./install-ubuntu-git.sh
if [ $? -ne 0 ]
then
echo Error installing Git
exit 1
fi
# Install the necessary build tools
./install-ubuntu-build-tools.sh
if [ $? -ne 0 ]
then
echo Error installing ubuntu tools
exit 1
fi
# Add mountpoint for Jenkins
if [ ! -d /data ]
then
echo Data folder does not exist. Creating it.
mkdir /data
chown $USER /data
fi
echo Packages and tools for O3DE setup complete
exit 0