If the installer runs without any options, the PetaLinux tool is installed into the current working directory by default.
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. |
-y | Using '-y' means yes for all the prompts while installing the tool. Which will also skips the License acceptance. |
-D | Enable verbose prints on console. |
-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/license/petalinux_EULA.txt
- EULA specifies the rights and restrictions that apply to PetaLinux.
- $PETALINUX/license/Third_Party_Software_EULA.txt
- This third-party license agreement details the licenses of the distributable and non-distributable components in PetaLinux tools.