Difference between revisions of "Embedded Studio Package Manager"

From SEGGER Wiki
Jump to: navigation, search
(General Information)
Line 12: Line 12:
 
All available packages for the RISC-V architecture can be found at https://studio.segger.com/riscv/packages
 
All available packages for the RISC-V architecture can be found at https://studio.segger.com/riscv/packages
   
With the v6.40 update of Embedded Studio a new package manager was implemented which allows to install also older versions of the package.
+
With the V6.40 update of Embedded Studio a new package manager was implemented which allows to install also older versions of the package.
   
 
It can be activated as follows:
 
It can be activated as follows:

Revision as of 14:07, 21 November 2022

This article explains the functionalities and the usage of the Embedded Studio Package Manager.

The Package Manager is a feature in Embedded Studio to download and install CPU Support Packages / Board Support Packages / Library Packages in an easy and uncomplicated way. It also offers the possibility to install packages manually via command line or GUI.

General Information

Embedded Studio supports 2 versions of Package Manager.

All available packages for the ARM architecture can be found at https://studio.segger.com/packages

All available packages for the RISC-V architecture can be found at https://studio.segger.com/riscv/packages

With the V6.40 update of Embedded Studio a new package manager was implemented which allows to install also older versions of the package.

It can be activated as follows:

Tools -> Options -> Enviroment -> Package Manager -> Package System Version -> Version 2

Install Packages via commandline

  • Embedded Studio v6.40 or newer:
    1. Open your Embedded Studio installation Folder: File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)
    2. Navigate to the bin folder
    3. Open a Terminal in this folder
    4. Run pkg update
    5. Run pkg install PackageName:Version
  • Embedded Studio 6.34a or older:
    1. Open your Embedded Studio installation Folder: File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)
    2. Navigate to the bin folder
    3. Open a Terminal in this folder
    4. Run pkg update
    5. Run pkg install PackageName

Install Packages manually

There are different ways to install a package manually:

  • Install via GUI: Tools -> Manually Install Packages
  • Install via Commandline:
    1. Open your Embedded Studio installation Folder: File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)
    2. Navigate to the bin folder
    3. Open a Terminal in this folder
    4. Run: pkg install -manual [package_file]