The PetaLinux tool is installed into the current working directory without any options tool is installed into the current working directory.
chmod 755 ./petalinux-v<petalinux-version>-final-installer.run
./petalinux-v<petalinux-version>-final-installer.run
Alternatively, you can specify an installation path.
./petalinux-v<petalinux-version>-final-installer.run [--log <LOGFILE>] [-d|--dir <INSTALL_DIR>] [options]
Options | Description |
---|---|
--log <LOGFILE> | Specifies where the log file should be created. By default, it is petalinux_installation_log in your working directory. |
-d|--dir [INSTALL_DIR] | Specifies the directory where you want to install the tool kit. If not specified, the tool kit is installed in your working directory. |
-p|--platform <arch_name> | Specifies the architecture:
|
For example: To install PetaLinux tools at /home/<user>/petalinux/<petalinux-version>:
mkdir -p /home/<user>/petalinux/<petalinux-version>
./petalinux-v<petalinux-version>-final-installer.run --dir /home/<user>/petalinux/<petalinux-version>
This installs the PetaLinux tool into the /home/<user>/petalinux/<petalinux-version> directory. By default, it installs all three eSDKs compressed script files. To install a specific eSDK as part of the PetaLinux tool, see Installing a Preferred eSDK as part of the PetaLinux Tool.
Reading and agreeing to the PetaLinux End User License Agreement (EULA) is integral to the PetaLinux tools installation process. You can read the license agreement before running the installation by reading the following files. If you wish to keep the license for your records, the licenses are available in plain ASCII text in the following files:
- $PETALINUX/etc/license/petalinux_EULA.txt
- EULA specifies in detail the rights and restrictions that apply to PetaLinux.
- $PETALINUX/etc/license/Third_Party_Software_End_User_License_Agree ment.txt
- This third-party license agreement details the licenses of the distributable and non-distributable components in PetaLinux tools.