You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Elementary OS 0.3.2下LiberoSoC_V11_8_SP2_Lin安装报错求助

解决Microsemi LiberoSoC V11.8 SP2在Elementary OS 0.3.2上的安装目录问题

Hey there, let's work through this LiberoSoC installation snag together. I’ve debugged quite a few FPGA tool installation issues on older Ubuntu-based distros (Elementary OS 0.3.2 is built on Ubuntu 14.04, after all), so let’s break this down step by step.

First, clarify the core installation requirement

The README mentions running the installer from a directory at the same level as adm, bin, data, etc—this doesn’t mean system directories like /usr/local or /opt. Instead, it refers to the directory structure created when you extract the LiberoSoC tarball:

  • When you unpack LiberoSoC_V11_8_SP2_Lin.tar.gz, you’ll get a top-level folder (usually named the same as the tarball) that directly contains those adm, bin, data, etc subfolders. That top-level folder is the correct directory to run the installer from.

Step 1: Properly extract and navigate to the correct directory

  1. Open a terminal and navigate to where you saved the tarball (e.g., ~/Downloads):
    cd ~/Downloads
    
  2. Extract the tarball without modifying its structure:
    tar -xvf LiberoSoC_V11_8_SP2_Lin.tar.gz
    
  3. Enter the extracted top-level directory—verify you see the required subfolders:
    cd LiberoSoC_V11_8_SP2_Lin
    ls
    
    You should see adm, bin, data, etc listed here. If not, you might have extracted the files incorrectly (e.g., using a GUI tool that flattened the structure).

Step 2: Fix common permission and dependency issues

Older FPGA tools often require specific system libraries and root privileges to install correctly:

  1. First, install critical dependencies for Ubuntu 14.04/Elementary OS 0.3.2:
    sudo apt-get update && sudo apt-get install libpng12-0 libncurses5 libstdc++6 libx11-dev
    
    These libraries are frequently missing on newer (or stripped-down) distros and cause silent or cryptic installation errors.
  2. Run the installer with root privileges (most FPGA tools need this to write to system directories or set up environment links):
    sudo ./setup.sh
    
    (If your installer script has a different name, check the README—common alternatives are install.sh or libero_install.sh.)

Why your previous attempts failed

When you moved the installer files to /usr/local, /opt, or your home directory, you likely broke the relative path references built into Libero’s installation script. The script expects to find adm, bin, etc., in the same directory it’s run from—not in some system folder. Flattening the directory structure or moving files away from their original extracted location will almost always trigger errors.

Post-installation tip

Once installed, add Libero’s binary directory to your PATH so you can launch it from any terminal:

  1. Open your ~/.bashrc file in a text editor:
    nano ~/.bashrc
    
  2. Add this line at the end (replace /opt/microsemi/libero with your actual installation path):
    export PATH=/opt/microsemi/libero/bin:$PATH
    
  3. Save and exit, then reload the bashrc:
    source ~/.bashrc
    

内容的提问来源于stack exchange,提问作者cps

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 06:33:34