Package Details: stm32cubeclt 1.22.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubeclt.git (read-only, click to copy)
Package Base: stm32cubeclt
Description: A toolset for third-party integrated development environment (IDE) providers, allowing the use of STMicroelectronics proprietary tools within their own IDE frameworks. - CLT for STM32
Upstream URL: https://www.st.com/en/development-tools/stm32cubeclt.html
Keywords: stm32 stm32cubeclt
Licenses: custom:SLA0048
Submitter: yjun
Maintainer: Akira-Amatsume
Last Packager: Akira-Amatsume
Votes: 5
Popularity: 0.117873
First Submitted: 2024-05-12 08:59 (UTC)
Last Updated: 2026-07-17 15:16 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Pinned Comments

tomaz-suller commented on 2025-08-03 04:35 (UTC)

The SHA is correct but it doesn't match the ZIP file downloaded by the build script. Downloading it manually from ST's website (https://www.st.com/en/development-tools/stm32cubeclt.html) and putting it inside the package folder, I got it to work

Latest Comments

1 2 Next › Last »

AscendLiu commented on 2026-05-06 16:04 (UTC)


==> Package file not found: st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
==> Browser opened: https://www.st.com/en/development-tools/stm32cubeclt.html
==> Log in, download st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip (The Part Number is STM32CubeCLT-Lnx), save it to: /home/ascendliu/Downloads/AUR/stm32cubeclt
==> Press Enter once the file is saved...

==> 正在创建软件包:stm32cubeclt 1.21.0-1 (2026年05月06日 星期三 23时51分48秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
  -> 找到 st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
  -> 找到 http_headers
  -> 正在下载 SLA0048_STM32CubeCLT.pdf...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100 99.00k   0 99.00k   0      0 307.2k      0                              0
==> 正在验证 source 文件,使用sha256sums...
    st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip ... 通过
    http_headers ... 通过
    SLA0048_STM32CubeCLT.pdf ... 通过
==> 正在释放源码...
  -> 正在解压缩 st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip,使用 bsdtar
==> 正在开始 prepare()...
Creating directory stm32cubeclt_1.21.0
Verifying archive integrity...  100%   All good.
Uncompressing STM32CubeCLT 1.21.0 installer  100%  
Creating directory stm32cubeclt_1.21.0/stlink-server.2.1.1-1
Verifying archive integrity...  100%   All good.
Uncompressing STM STLink-Server installer  100%  
Creating directory stm32cubeclt_1.21.0/stlink-udev-rules-1.0.3-3
Verifying archive integrity...  100%   All good.
Uncompressing STLink udev rules  100%  
==> 正在进入 fakeroot 环境...
==> 正在开始 package_stm32cubeclt()...
Installing STM32CubeCLT 1.21.0...
Installing shell profile cubeclt-bin-path_1.21.0.sh...
Installing license SLA0048_STM32CubeCLT.pdf...
==> 正在清理安装...
  -> 正在删除 libtool 文件...
  -> 正在移除静态库文件...
  -> 正在清除不打算要的文件...
  -> 正在复制调试符号所需的源文件...
  -> 正在压缩 man 及 info 文档...
==> 正在检查打包问题...
==> 正在构建软件包"stm32cubeclt"...
  -> 正在生成 .PKGINFO 文件...
  -> 正在生成 .BUILDINFO 文件...
  -> 正在添加 install 文件...
  -> 正在生成 .MTREE 文件...
  -> 正在压缩软件包...
==> 正在离开 fakeroot 环境。
==> 完成创建:stm32cubeclt 1.21.0-1 (2026年05月06日 星期三 23时53分12秒)
==> 正在安装 stm32cubeclt 软件包组,使用 pacman -U...
[sudo] ascendliu 的密码:
正在加载软件包...
正在解析依赖关系...
警告:无法解决 "stlink-server","stm32cubeclt" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
      stm32cubeclt

:: 您想在本次更新中跳过上述软件包吗? [y/N] n
错误:无法准备事务处理 (无法满足依赖关系)
:: 无法满足依赖 'stlink-server' (stm32cubeclt 需要)
==> 警告: 安装创建的软件包失败。
~/Downloads/AUR/stm32cubeclt on master !1 ❯ makepkg -si                                                                  took 17m 2s
==> 警告: 已有一个构建好的软件包组,正在安装现有的软件包...
==> 正在安装 stm32cubeclt 软件包组,使用 pacman -U...
[sudo] ascendliu 的密码:
正在加载软件包...
正在解析依赖关系...
警告:无法解决 "stlink-server","stm32cubeclt" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
      stm32cubeclt

:: 您想在本次更新中跳过上述软件包吗? [y/N] n
错误:无法准备事务处理 (无法满足依赖关系)
:: 无法满足依赖 'stlink-server' (stm32cubeclt 需要)
==> 警告: 安装创建的软件包失败。

depends=('stlink' # "stlink-udev-rules" 'libusb' #'stlink-server' # 'ncurses' # 'python2' )

Akira-Amatsume commented on 2026-03-17 12:36 (UTC)

@abody Could you please try installing it again now?

abody commented on 2026-03-17 07:15 (UTC)

==> Package file not found: st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
==> Browser opened: https://www.st.com/en/development-tools/stm32cubeclt.html
==> Log in, download st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip (The Part Number is STM32CubeCLT-Lnx), save it to: /home/abody/.cache/yay/stm32cubeclt
==> Press Enter once the file is saved...

==> Making package: stm32cubeclt 1.21.0-1 (Tue 17 Mar 2026 08:13:10 AM CET)
==> Retrieving sources...
  -> Found st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
  -> Found http_headers
  -> Downloading SLA0048_STM32CubeCLT.pdf...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (92) HTTP/2 stream 1 reset by server (error 0x2 INTERNAL_ERROR)
==> ERROR: Failure while downloading https://www.st.com/resource/en/license/SLA0048_STM32CubeCLT.pdf
    Aborting...

Yichun822 commented on 2026-03-13 14:27 (UTC)

it's ok to use it by adding sources yourself please put the "st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.deb_bundle.sh.zip" in the build folder and then edit the PKGBUILD

...
_prefix="27995"
_date="20260219"
_suffix="1804"
_pkg_name=${pkgbase}_${pkgver}
_pkg_license_name="SLA0048_${_pkgname}.pdf"
_pkg_sh_name="st-${_pkg_name}_${_prefix}_${_date}_${_suffix}_amd64.sh"
_pkg_tar_name="st-${_pkg_name}_${_prefix}_${_date}_${_suffix}_amd64.tar.gz"
_pkg_zip_name="${_pkg_sh_name}.zip"


# sync from stm32cubeide, thanks to @kumencz!
# Download file with list of URLs to files
_curl_req_url="https://www.st.com/content/st_com_cx/en/products/development-tools/software-development-to\
ols/stm32-software-development-tools/stm32-ides/stm32cubeclt/_jcr_content/get-software/getsw-table-nli.no\
cache.html/st-site-cx/components/containers/product/get-software-table-body.html"
_curl_req="$(curl -s --compressed --cookie-jar "${srcdir}http_cookies" -H "@${srcdir}http_headers" "$_curl_req_url")"

# Extract actual download link to the desired file
_pkg_url="$(grep -m 1 "${_pkg_zip_name}" <<< "$_curl_req")"
_pkg_url="$(awk -F'"' '{print $4}' <<< "$_pkg_url")"
_download_path="https://www.st.com""$_pkg_url"
# echo $_download_path

DLAGENTS=("https::/usr/bin/curl \
              -gqb '' --retry 3 --retry-delay 3 \
              --cookie "${srcdir}http_cookies" \
              -H "@${srcdir}http_headers" \
              -o %o --compressed %u")
source=("${_pkg_zip_name}"::"$_download_path"
        'http_headers'
        "https://www.st.com/resource/en/license/${_pkg_license_name}")
sha256sums=('c9aa0d3c366278685217437675120904b2f9f58f53f79214424031efc3951358'
            '12e85339c74dc80c054062432dfc6f0eb1be3214fcb4f1fab427193f4e6f0d22'
            'SKIP')
...

气死我了,没想到stm32开发套件在archlinux上的生态如此糟糕,到头来还几把要自己改,stm32cubemx也有点小问题

tomaz-suller commented on 2025-08-03 04:35 (UTC)

The SHA is correct but it doesn't match the ZIP file downloaded by the build script. Downloading it manually from ST's website (https://www.st.com/en/development-tools/stm32cubeclt.html) and putting it inside the package folder, I got it to work

yjun commented on 2024-12-20 14:49 (UTC)

@xneutralx already fixed :)

xneutralx commented on 2024-11-27 12:33 (UTC)

I keep getting following error:

curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
==> ERROR: Failure while downloading https://www.st.com
    Aborting...

yjun commented on 2024-09-22 04:06 (UTC)

@samdorey thx,fixed. :)

samdorey commented on 2024-09-08 08:47 (UTC)

The SHA sum for the licence is now incorrect, should be 57745fa8c1961b282d63510fde79cf0757b8fa3feb3b89338abc8b58b2526c7e