Skip to content

jyhi/QuartusPrime-Flatpak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quartus Prime Lite Edition Design Software for Linux (Flatpak)

This folder contains necessary files to re-pack Quartus Prime Lite Edition and its components into Flatpak containers/packages.

The current supported version is 24.1 (24.1std.0.1077), released on 17 March 2025. Supports for past versions are placed under different branches of the Git repository:

  • v23.x: 23.1 (23.1std.0.991), 23.1.1 (23.1std.1.993)

Note

You must obtain the software installer programs and build the Flatpak(s) by yourself.

Under Intel.com Website Terms of Use, the building scripts are unable to automatically download the software installers required to build the packages. The built packages are not hosted in any repository either.

See https://www.intel.com/content/www/us/en/software-kit/849769 for all download options available.

Known Issues

Some packages are known to be broken at this moment:

  • Questa won't start.
    • Cause: unknown. Running vsim gives the following error: ** Error: mountTrofs script: Invalid TCL archive content.
    • Mitigation: none.
  • Help topics won't appear if installed.
    • Cause: unknown.
    • Mitigation: do not install com.intel.quartusprime.lite.help. Help topics will be redirected to online contents and opened in the browser instead.

List of Packages

Standalone Applications

These packages have their own desktop icons and can be found in the launcher of desktop after installation.

Extensions to Quartus Prime Lite

These packages are automatically loaded if they're installed when Quartus Prime is starting. They can't be launched individually as they don't have their own desktop icon.

Quartus Prime Lite Device Support Packages

These are also extensions to Quartus Prime and are automatically loaded by Flatpak if they're installed when Quartus Prime is starting.

Build & Install

Flatpak must be installed on the computer first. Then, install the Flatpak development toolkit from Flathub:

flatpak --user install org.flatpak.Builder

Package definitions (manifests, metadata, etc.) are placed under paths with hierarchies following their package IDs. For example, com.intel.quartusprime.lite is at com/intel/quartusprime/lite. Place the corresponding installer / extension pack file under the folder. Enter the folder and run:

make install

This builds and installs the package to the current user.

Run

To launch Quartus Prime Lite Edition, Quartus Prime Programmer or RiscFree, find and choose their corresponding icons in the application menu under category "Development".

To launch from a terminal emulator instead, run:

flatpak run com.intel.quartusprime.lite

To run a shell inside the container, Quartus Prime Shell (quartus_sh) or any other program that comes with it, change the entry point to /bin/sh, then source (.) /app/enable.sh to populate PATH and set up the environment. As an example, to run Quartus Prime Shell in one line:

flatpak run --command=/bin/sh com.intel.quartusprime.lite -c '. /app/enable.sh; quartus_sh'

Permission

All applications have the following permissions preset:

  • --allow=multiarch: allow 32-bit programs to run
  • --device=all: access to all devices on the computer (enable device programming)
  • --share=ipc: share IPC namespaces with host (improve X.org performance)
  • --socket=x11: enable display on X.org (or XWayland)

Quartus Prime Lite Edition has the following additional permissions preset:

  • --filesystem=home: read-write access to all files under the home directory
  • --persist=.altera.quartus: persist ~/.altera.quartus across application startups

Quartus Prime Programmer (standalone) has the following additional permissions preset:

  • --filesystem=host:ro: read-only access to all files on the computer

RiscFree has the following additional permissions preset:

  • --socket=wayland: enable display on Wayland
  • --socket=fallback-x11: expose X.org display only when Wayland isn't available
  • --filesystem=home: read-write access to all files under the home directory

Users are encouraged to review the permissions before launching the applications. To manage application permissions, use command flatpak-override(1). For example, to grant Quartus Prime read-write access to all files and devices on the computer, run:

flatpak override --filesystem=host --device=all com.intel.quartusprime.lite

Alternatively, install Flatseal, which has a GUI.

Software License

Note

Before licensing the software, grant networking permission to Quartus Prime. This is required for Quartus Prime to:

  • Obtain the license file automatically (for method 1 below).
  • Read the host machine's MAC address.
  • Register the current computer with the license online.

By default, networking permission is not granted. If the software displays 000000000000 in the "License Setup" dialog, networking permission is not granted. Do not use this all-zero MAC address; it won't work. Although you can still obtain a .dat file (with either method below), the actual signature will be absent from the file and be replaced with 300 Disallowed hostid and/or server hostid.

The RTL simulator (Questa - Intel FPGA Starter Edition) that comes with Quartus Prime Lite Edition requires a license, despite that it's free. There are two ways to obtain a license:

  1. Click the "Get no-cost licenses" button under menu [Tools] > [License Setup...]: follow steps in this document (Method 2).
  2. Obtain a license on Self-Service Licensing Center (SSLC): follow steps in this document (Generating the License).

With method 1, the license file is automatically placed at ~/.altera.quartus/license.dat. With method 2, the file needs to be made visible to the software. To make the license file visible inside container, expose the file (can be at any location), then set environment variable LM_LICENSE_FILE with the path to the license file:

flatpak override --filesystem=/path/to/license.dat:ro \
    --env=LM_LICENSE_FILE=/path/to/license.dat com.intel.quartusprime.lite

If the license is automatically obtained with method 1 above, just set the environment variable:

flatpak override --env=LM_LICENSE_FILE=~/.altera.quartus/license.dat com.intel.quartusprime.lite

Quartus Prime should be able to pick up the license automatically and pass it to Questa.

License

All files included in this folder are public domain work under the CC0 1.0 license. See LICENSE for a copy of the license text.

Intel Quartus Prime is a proprietary software licensed under the Quartus Prime and Intel FPGA IP License Agreement, along with a number of licenses that come with 3rd-party software used by Quartus Prime. These files can be retrieved from here or from the installer by running:

./QuartusLiteSetup-24.1std.0.1077-linux.run --install_lic ./altera_lite/24.1std

This will place all license documents under ./altera_lite/24.1std/licenses.

The same copy of license documents can also be found under /app/opt/altera_lite/24.1std/licenses in package com.intel.quartusprime.lite.

About

Quartus Prime Lite Edition in Flatpak.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published