Difference between revisions of "Embedded Studio Package Manager"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "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 C...")
 
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
This article explains the functionalities and the usage of the Embedded Studio Package Manager.
 
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 commandline or gui.
+
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.
   
 
__TOC__
 
__TOC__
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:
Line 18: Line 18:
 
''Tools -> Options -> Enviroment -> Package Manager -> Package System Version -> Version 2''
 
''Tools -> Options -> Enviroment -> Package Manager -> Package System Version -> Version 2''
   
==Install Packages via commandline==
+
==Install Packages via command line==
*Embedded Studio v6.40 or newer:
+
*Embedded Studio V6.40 or newer:
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Navigate to the ''bin'' folder
 
*# Navigate to the ''bin'' folder
 
*# Open a Terminal in this folder
 
*# Open a Terminal in this folder
*# Run ''pkg update''
+
*# Run ''./pkg update'' on linux, or ''./pkg.exe update'' on windows.
*# Run ''pkg install PackageName:Version''
+
*# Run ''./pkg install PackageName:Version'' on linux, or ''./pkg.exe install PackageName:Version'' on windows.
*Embedded Studio 6.34a or older:
+
*Embedded Studio V6.34a or older:
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Navigate to the ''bin'' folder
 
*# Navigate to the ''bin'' folder
 
*# Open a Terminal in this folder
 
*# Open a Terminal in this folder
*# Run ''pkg update''
+
*# Run ''./pkg update'' on linux, or ''./pkg.exe update'' on windows.
*# Run ''pkg install PackageName''
+
*# Run ''./pkg install PackageName'' on linux, or ''./pkg.exe install PackageName'' on windows.
   
 
==Install Packages manually==
 
==Install Packages manually==
 
There are different ways to install a package manually:
 
There are different ways to install a package manually:
 
* Install via GUI: ''Tools -> Manually Install Packages''
 
* Install via GUI: ''Tools -> Manually Install Packages''
* Install via Commandline:
+
* Install via command line:
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Open your Embedded Studio installation Folder: ''File -> Open Studio Folder -> Studio Folder (Ctrl+Q, F, U)''
 
*# Navigate to the ''bin'' folder
 
*# Navigate to the ''bin'' folder
 
*# Open a Terminal in this folder
 
*# Open a Terminal in this folder
*# Run: ''pkg install -manual [package_file]''
+
*# Run: ''./pkg install -manual [package_file]'' on linux, or ''./pkg.exe install -manual [package_file]'' on windows.

Latest revision as of 15:49, 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 command line

  • 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 on linux, or ./pkg.exe update on windows.
    5. Run ./pkg install PackageName:Version on linux, or ./pkg.exe install PackageName:Version on windows.
  • Embedded Studio V6.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 on linux, or ./pkg.exe update on windows.
    5. Run ./pkg install PackageName on linux, or ./pkg.exe install PackageName on windows.

Install Packages manually

There are different ways to install a package manually:

  • Install via GUI: Tools -> Manually Install Packages
  • Install via command line:
    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] on linux, or ./pkg.exe install -manual [package_file] on windows.