Installing Origen
How to Install (Windows)
Origen can be installed on Linux or Windows, this guide refers to the Windows installation.
All @powershell commands should be run from a commandshell other than powershell.
If you want to run on Linux then please see this guide instead: How to Install Origen on Linux
The vast majority of Origen use in production is on Linux, and over time this Windows guide can become out of date and no one realizes. If you do experience any issues when following this guide, then please do let us know via the comments below and we will update it as required.
Download Console by following this link.
Move the .zip file to C:/Program Files
, then right click it and select Extract All...
.
Open the unzipped folder and right click on Console.exe
and select Send to > Desktop (create shortcut)
.
Open the console from your desktop and execute the following command, we recommend that you create all of
your Origen application workspaces in C:\origen
:
mkdir C:\origen
Select Edit > Settings
from the console menu and enable the checkbox at the bottom
of the settings called Save settings to user directory
.
Execute the following command to get a sensible set settings to start off with:
@powershell New-Item -ItemType directory -Force -Path %appdata%\Console; (new-object System.Net.WebClient).DownloadFile('https://origen-sdk.org/files/console.xml','%appdata%\Console\console.xml')
Install unxutils by going to this link https://sourceforge.net/projects/unxutils/.
Install git from the official Git website https://git-scm.com/downloads
We are currently recommending installing Ruby version 2.6.
Follow the instructions at https://www.ruby-lang.org/en/ to install Ruby with the devkit.
Finally, run this command to install Origen:
gem install origen --no-document
This can take several minutes to finish without updating the screen, so please be patient.
You can then verify Origen availability by running origen -v
at which point you should see something like this:
Origen: 0.60.17
This step is required to ensure that Origen boots correctly inside of a workspace. Add .\lbin
as the first entry in your PATH
variable by following this 3rd party tutorial on How to Create an Environment Variable in Windows.
The SYSTEM VARIABLES PATH entry will need to be udpated.
You can check that the path was updated correctly by opening a new powershell console (after the variable update) and typing:
$env:path
.\lbin
should appear as the first entry in your path. If it is not, be sure that you added it to the system variables (not user variables) PATH entry.
This step is not required. But, you may quickly encounter a scenario where a newer bundler version is required. In this case before Origen boots it will display a message with instructions for what is needed.
Run this command to install a newer version of bundler:
gem install bundler -v 2.1.4
Congratulations, Origen is now installed!
Some users have reported an error at this point which complains about the HOME
environment variable not being set.
If you see that, set it to something like this by following this 3rd party tutorial on How to Create an Environment Variable in Windows:
HOME = C:\Users\my_user_id
Note that the version of Origen that is installed to your Ruby installation does not need to be kept up to date with the latest version of Origen. You can now consider your Ruby environment to be frozen for the foreseeable future.
See the section on Understanding Gems for details on why that is.