Buildroot install package It is not a complete language validator, but it catches many common mistakes. Is there a way to install only what I need, similar to debian's *. Buildroot comes with a predefined set of Python packages that can me selected from its menu. === Config files I'm using buildroot to create a rootfs running on my ARM platform. And add your entry of patches in the series file in the order in which you want the patches to be applied keeping the Nov 16, 2017 · Buildroot tracks build progress with . The package must install its files to the directory given by +$(BINARIES_DIR)+. This script can be used for packages, filesystem makefiles, Config. Set Up Your Environment Ensure you have the Buildroot repository and the buildroot-external-TI tree set up as described here Setting Jun 20, 2024 · Introduction In this topic, you will download Buildroot so you can create binary image files ready to Flash onto an SD memory card using a default or custom configuration for the target: ATSAMA5D27 SOM1 EK1 Evaluation Kit. target install is actually the last stage for each package. I want to run a Python application on it which requires the PyDrive module. 1 of ShellCheck. If your package fits in one of these categories, then create your package directory in these. It's commonly used for building the Linux kernel and its supporting packages for various embedded systems and microcontrollers. Let's look at an example of a Linux tool. 232 buildroot adds python3-pip installation package. There is no need to be root to configure and use Buildroot. In general, any new package should be added directly in the +package+ directory and submitted to the Buildroot upstream project. Buildroot will then re-extract, re-configure, re-compile and re-install this package from scratch. Building Buildroot Packages This document provides a step-by-step guide to building a Buildroot package. The first step when using Buildroot is to create a configuration. New subdirectories are discouraged, however. I am getting a PYTHONPATH error which looks This infrastructure applies to Python packages that use the standard Python setuptools, pep517, flit or maturin mechanisms as their build system, generally recognizable by the usage of a setup. This helps to isolate the build from the host system and it ensures that any cross-compilation is properly handled. Since their source code is part of the kernel source code, a special package, +linux-tools+, exists and re-uses the sources of the Linux kernel that runs on the target. If re-creating the root filesystem in necessary, In this case, package sources are copied using rsync from the local location into the buildroot build directory. Execute make menuconfig in the buildroot/output/OK3568 directory to select python3 and python-pip. You can find detailed instructions in the buildroot documentation Feb 9, 2025 · By following these steps, you can add and build custom packages in Buildroot using the buildroot-external-TI tree. mk+ file already has full Oct 28, 2016 · I am currently building an Embedded Linux for my Zybo Board from Xilinx. After modification Download resources and tools for Buildroot, a tool to generate embedded Linux systems. Jul 11, 2025 · A step-by-step guide to creating your first custom Buildroot package for a binary package containing an installable GitHub CLI. Care should be taken when using buildroots that the install directory is owned by the correct package. In today's session, we'll automate the post-build fixups and extend Buildroot with two RPi-specific packages. include This guide explains how to add the python3 - pip package in OK3568 buildroot, including steps and solutions to possible compilation errors. mk` 文件 配置文件 `Config. mk` 文件 `. Sep 5, 2017 · Is there a way in buildroot to include gcc in as a target package? What i have understood the simple way to achieve this is to copy GCC used by buildroot into rootfs image manually. Jan 16, 2025 · This text contains instructions on how to get started with Buildroot and some first impressions from a long-time Yocto developer. in files, etc. This post intends to gather all the information you need to start a project based on Buildroot. This section will explain how you can keep such Sep 21, 2025 · 文章浏览阅读1. org/buildroot/. Follow the included guide for seamless integration into your projects. For example, a package For each selected package, after taking care of its dependencies: download, extract, patch, configure, build, install To for target apps and libs target/ To host/<tuple>/sysroot for target libs To host/ for native apps and libs Filesystem skeleton and toolchain are handled as regular packages Copy rootfs overlay Jan 14, 2020 · The dependencies tell Buildroot in what order to build packages, the build steps tell exactly what commands to run to build the package (including how to download its source code), and the configuration options control anything about the package. So removing the . 389 390 For further information: see OpenCV documentation. Buildroot is available in most Linux distributions' package managers, so you can simply install it using your distribution's package manager. In addition, Buildroot will then re-extract, re-configure, re-compile and re-install this package from scratch. Creating a Linux Distribution with Buildroot Before reading any more, i would advise to try this for yourself, if you do not have a Linux system, you can now use WSL - Windows Subsystem for Linux to safely make buildroot builds. The staging directory, located in output/staging/ is the directory where all the packages are installed, including their development files, etc. Apr 27, 2025 · The Package Infrastructure in Buildroot provides the core framework for defining, downloading, building, and installing packages. The official Git repository is at https://gitlab. mk file (describing how to build the package) and a Config. in+ file. Aug 28, 2024 · buildroot Setting up a Buildroot development environment # Buildroot is a tool for building embedded Linux systems. The main source of inspiration here. However, this directory is 'not' intended to be the root filesystem for the target: it contains a lot of development files, unstripped binaries and libraries that make it far too big for an embedded system. After building and installing the HelloWorld program, and eventually running it, I'd like to add to init. First, you can have "buildroot: <dir>" in your rpmrc. Wether you are building a Linux image from scratch or using a tool like Buildroot, you need to keep track of individual configuration options. For packages relying on the Buildroot infrastructure, there are numerous special make targets that can be called independently like this: DIY Linux with Buildroot [2/2] In the first part of this article, we built a minimal Linux system with Buildroot. Feb 12, 2021 · 0 I am currently building an autotools-based package for buildroot but I only need some parts of the actual build output (shared libraries and a handful of tools). d so it starts after booting, and replace the HelloWorld with a Qt Window that doesn't need a X server, like this thing here. Jun 1, 2020 · Buildroot includes more than 3000 packages which you can choose to include in your Linux image, the available packages are listed under “ package/ ” folder of buildroot . Removing a package is unsupported by Buildroot without rebuilding from scratch. This is because Buildroot doesn't keep track of which package installs what files in the +output/staging+ and +output/target+ directories, or which As explained in Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two files: a . stamp_target_installed file from each package build dir would cause it to reinstall to target Copy scanpypi3 into <buildroot>/support/scripts Use it to install packages === Infrastructure for packages building kernel modules Buildroot offers a helper infrastructure to make it easy to write packages that build and install Linux kernel modules. Only files that are binary images (aka images) that do not belong in the +TARGET_DIR+ but are necessary for booting the board should be placed here. For a new Linux tool named +foo+, create a new menu Building Tiny Raspberry Pi Linux Images With BuildrootA Linux system has many moving parts. These Buildroot will then re-extract, re-configure, re-compile and re-install this package from scratch. The build process will initiate a series of actions that will download and compile the software that you configured during the configuration process. configuration, compilation and installation of the package. Dec 13, 2023 · PKG_BUILD_CMDS结尾的变量会在 buildroot 框架编译的时候执行,用于给源码的 Makefile 传递编译选项和链接选项,调用源码的Makefile。 PKG_INSTALL_TARGET_CMDS结尾的变量是在编译完之后,自动安装执行,一般是让 buildroot 把编译出来的的 bin 或 lib 拷贝到指定目录。 Aug 14, 2025 · AlmaLinux Package Building Guide This guide contains step-by-step instructions on how to build for AlmaLinux packages for different architectures. Ive been searching a lot and mostly find tutorials explaining how to use the menuconfig to add packages, but what would be the next level. Buildroot will first create a small environment with the external toolchain, then download, extract, configure, compile, and install each component of the embedded system. — linux. To get started with Buildroot, we'll need to set up a development environment. Coming back to the initial question, Buildroot is capable of fetching source code from Git repositories. How to add packages to Buildroot in general is explained in full detail in xref:adding-packages[] and will not be repeated here. By default, the value is +DESTDIR=$(TARGET_DIR) install+. These options vary in purpose and specify important things like what type of hardware is available on the platform, which kernel modules should be included in Buildroot will then re-extract, re-configure, re-compile and re-install this package from scratch. Get Buildroot Just the kick-off to start the whole journey with the Buildroot latest stable release: Running +make + builds and installs that particular package and its dependencies. +LIBFOO_BUILD_CMDS+ tells what steps should be performed to build the package. 22 Buildroot already has a bluez package, which will be part of the upcoming 2011. RPi3, the “per platform” example used here, was formerly known internally as Jul 10, 2025 · The SDK is a stripped-down buildroot and a pre-compiled toolchain designed to cross compile packages for a specific target without compiling the whole system from scratch. It is meant to run in the actual files you created or modified, before creating the patch for submission. Add existing Buildroot Packages Add custom Packages 4. In general, any new package should be added directly in the package directory and submitted to the Buildroot upstream project. Set Up Your Environment Ensure you have the Buildroot repository and the buildroot-external-TI tree set up as described here Setting Buildroot is designed to run on Linux systems. This infrastructure provides standardized methods for building and installing Python packages with different build systems, including setuptools, PEP517, flit, hatch, maturin, and poetry. How to add packages to Buildroot in general is explained in full detail in [adding-packages] and will not be repeated here. When installing the mandatory packages, however, I have the problem that the package which cannot be found. // -*- mode:doc; -*- // vim: set syntax=asciidoc: [[hooks]] === Hooks available in the various build steps The generic infrastructure (and as a result also the derived autotools and cmake infrastructures) allow packages to specify hooks. Modify the defconfig file used by buildroot. in. This is the official repository of For each selected package, after taking care of its dependencies: download, extract, patch, configure, build, install To target/ for target apps and libs To host/<tuple>/sysroot for target libs To host/ for native apps and libs Filesystem skeleton and toolchain are handled as regular packages Copy rootfs overlay Call post build scripts Aug 2, 2025 · 380 381 comment "Install options" 382 383 config BR2_PACKAGE_OPENCV4_INSTALL_DATA 384 bool "install extra data" 385 help 386 Install various data that is used by cv libraries and/or 387 demo applications, specifically for haarcascades and 388 lbpcascades features. Nov 8, 2024 · 4. These details can be helpful for the building packages for the AlmaLinux project. config` file here. It consists of a set of makefiles and scripts that handle the complete lifecycle of packages, from fetching source code to installing compiled binaries in the target filesystem. Feb 24, 2022 · This is a quick tutorial on adding a custom package into buildroot for creating your own Linux distribution for embedded and emulation targets. === Config files Jan 14, 2020 · The dependencies tell Buildroot in what order to build packages, the build steps tell exactly what commands to run to build the package (including how to download its source code), and the configuration options control anything about the package. Step 1: Install Buildroot # *Important*: you can and should *build everything as a normal user*. 29, defines what should be done at the different steps of the package configuration, compilation and installation. Buildroot, making embedded Linux easy. This includes the cross-compilation toolchain when building the internal Buildroot toolchain. Oct 2, 2025 · We always build our Buildroot together with a second tree, named buildroot-external-microchip, available on github buildroot-external-microchip repository, which is a specific Buildroot External that provides our specific packages , libs, etc. 4. 11 release but applies to other versions. config: If you need a custom kernel configuration, place your `. 02 I want to use buildroot to build openssl, I want to use the command line openssl+aes to encrypt the compressed file, but I tried a May 2, 2020 · During the build stage, Buildroot generates a list of packages to build and install in alphabetical order. Buildroot's helper infrastructure supports either Aug 28, 2024 · To start using Buildroot, you first need to install it. Therefore, if you're installing everything from a distro anyways, just start with that distro and replace the kernel if that's something you're trying to do. 11 release. stamp_xxx in each package build dir. Mar 13, 2020 · buildroot:2019. Jun 14, 2021 · Is there apt-get install analog command in Buildroot? I want to install some applicatin but how? The Buildroot user manual is where you want to start reading if you wish to understand how Buildroot works, or wish to change/extend/fix things. On line 10, we tell Buildroot to install the package to the staging directory. - buildroot/package/gcc/gcc. Jun 25, 2025 · While we could install that on the host system, it’s often desirable to add these packages to the Buildroot toolchain. Some packages have been grouped by topic in a sub-directory: +x11r7+, +qt5+ and +gstreamer+. 7. Do not open issues or file pull requests here. All the compilation has taken place in the output/ subdirectory. Adding Existing Buildroot Packages 4. Dec 13, 2023 · PKG_BUILD_CMDS结尾的变量会在 buildroot 框架编译的时候执行,用于给源码的 Makefile 传递编译选项和链接选项,调用源码的Makefile。 PKG_INSTALL_TARGET_CMDS结尾的变量是在编译完之后,自动安装执行,一般是让 buildroot 把编译出来的的 bin 或 lib 拷贝到指定目录。 Jun 25, 2025 · While we could install that on the host system, it’s often desirable to add these packages to the Buildroot toolchain. While Buildroot itself will build most host packages it needs for the compilation, certain standard Linux utilities are expected to be already installed on the host system. How to install packages or natively compile package on a minimal Linux kernel compiled with Buildroot Asked 10 years, 1 month ago Modified 4 years, 11 months ago Viewed 8k times Jan 12, 2018 · You also need to manually add the package to the package/Config. The check-package script requires you install shellcheck and the Python PyPi packages flake8 and python-magic. Oct 12, 2007 · RPM will use the buildroot listed in the spec file as the default buildroot. Note that this is not the official repository, but only a mirror. Unfortunately, while buildroot can generate systems that integrate thousands of different software packages, it stopped supporting having a compiler on target about 10 years ago. About mock Mock is a tool for building RPM packages. Download python-pip and extract the compressed package to the buildroot/package directory. Because it exists as a package for buildroot it is a great choice for providing firmware updates when using a buildroot solution. Automating post-build actions This is easy: just create a script somewhere which contains the commands to execute after a successful build, then let Buildroot know about it Mar 16, 2025 · Buildroot processes this overlay after installing all packages, so you can even override files installed by packages. 23. It relies on the 2015. 3. make help suggests that the command make <options> toolchain should work; however, running that command simply returns Building buildroot Run make O= build-dir-path to build the toolchain and root file system, or make O= build-dir-path toolchain to build only the toolchain. I'd like to have a package manager on my platform to easily install packages, like apt-get in ubuntu. Buildroot will ensure that all these packages are built and installed 'before' the current package starts its configuration. Modify buildroot/package/Config. This section covers how new packages (userspace libraries or applications) can be integrated into Buildroot. It is available as: Jul 16, 2015 · In order to use buildroot on Ubuntu or Linux Mint the following packages need to be installed: sudo apt-get install build-essential ncurses-base ncurses-bin libncurses5-dev dialog Aug 28, 2024 · This command installs a package from the Buildroot repository. Such dependencies are then kept together with the package source code in the tarball cached in Buildroot's +DL_DIR+, and therefore the hash of the package's tarball includes such dependencies. The Buildroot code base is currently tested against version 0. While +<package>-rebuild+ implies +<package>-reinstall+ and +<package>-reconfigure+ implies +<package>-rebuild+, these targets as well as +<package>+ only act on the said package, and do not trigger re-creating the root filesystem image. As explained in Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two files: a . org) uses a virtual package to build the openssl library. You have to keep your patches in this directory. . How can I still install this package? sudo ap Feb 18, 2024 · It's my understanding that OpenWRT buildroot downloads packages and tools only when requested to actually install them into an image. files-list. mk at master · buildroot/buildroot need to manually add the package to the +package/Config. com/buildroot. Given that I'm doing some work on multiple devices and will usually be plugged into them (internet won't work) when I'd like to rebuild images to make changes, it's causing me some inconvenience. For this I use Buildroot. Once you've checked out a copy of the source tree, you can update your source tree at any time so it is in sync with the latest and greatest by entering your buildroot directory and running the command: Aug 1, 2025 · Adding new packages to Buildroot This section covers how new packages (userspace libraries or applications) can be integrated into Buildroot. py script or pyproject. 9. With the autotools infrastructure, all the steps required to build Apr 27, 2025 · Python Package Infrastructure Relevant source files This document explains Buildroot's Python package infrastructure, which enables the integration of Python packages into Buildroot. in file (describing the configuration options for this package). The rest of the Makefile, lines 16. It also shows how existing packages are integrated, which is needed for fixing issues or tuning their configuration. By following these best practices, you'll be able to update and maintain your Buildroot packages and dependencies efficiently and effectively. The default value is correct for most autotools packages, but it is still possible to override it if needed. There are two ways you can build a package in buildroot. it. before: No such file or directory 命令前不是4个空格,而是 TAB 键,博客输不了 TAB 键,所以拷贝出去后需要替换下,否则编译提示: I'm new to buildroot, and am working though some issues in inherited projects. Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. Below you will find an overview of the mandatory and optional packages (note that package names may vary between distributions). I need to add a package that isn't present in the menuconfig. +LIBFOO_INSTALL_STAGING_CMDS+ tells what steps should be performed to install the package in the staging space 一定要注意的是:平常我们使用CMake时不需要指定install,但是在buildroot中使用cmake来构建功臣一定要使用install来确认软件包一定要能被安装在buildroot编译文件对应的路径当中。 其具体的写法如下: 项目配置文件: Explore a tailored Buildroot environment with customized builds and optimized results. As explained in Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two files: a . in` 文件 `Config. Be aware that the build Apr 27, 2025 · This document describes how systemd is integrated into Buildroot as an init system, including configuration options, filesystem setup, service management, and specialized features like read-only root Sep 5, 2024 · OK3568 4. in` 文件 `. When you add a new package, be sure to test it in various conditions (see xref:testing-package[]) and also check it for coding style (see xref:check-package[]). These define further actions to perform after existing steps. This section will explain how you can keep such project One of the most common questions asked by Buildroot users is how to rebuild a given package or how to remove a package without rebuilding everything from scratch. Most hooks aren't really useful for generic packages, since the +. host` 文件 `. Steps discussing installation of WSL are in Step 1 of the tutorial below! Jan 6, 2022 · One of the best projects out there that enables building small Linux systems is Buildroot. This method provides a structured way to extend the functionality of Buildroot-based systems while keeping customizations organized and separate from the main Buildroot source. sudo apt-get install buildroot Configuring Buildroot # Once Buildroot is installed, you need to configure it for your target architecture. I am running an embedded system on Buildroot. The package must install its files to the directory given by $ (BINARIES_DIR). I read the manual I get a fair bit of it but I don't really care if my programs are on the menuconfig I just want to build them. And it may happen that, to build a package Apackage, you need a Bpackage package, which will be built, but too late. 1w次,点赞12次,收藏62次。本节介绍如何将新软件包(用户空间的库或应用程序)集成到Buildroot中。它还显示了如何集成现有的软件包,这是解决问题或调整其配置所必须的。添加新软件包时,请确保在各种条件下对其进行测试(请参阅第17. - buildroot/buildroot Jun 20, 2024 · Introduction In this topic you will build Buildroot so you can create binary image files ready to copy onto a SD Memory card using a default or custom configuration for the target: ATSAMA5D27-SOM1-EK1 Evaluation Kit. If your Buildroot package is not in the official Buildroot tree but in a br2-external tree, use the -o flag as follows: Copy scanpypi3 into <buildroot>/support/scripts Use it to install packages === Infrastructure for packages building kernel modules Buildroot offers a helper infrastructure to make it easy to write packages that build and install Linux kernel modules. For The Buildroot user manual is where you want to start reading if you wish to understand how Buildroot works, or wish to change/extend/fix things. 19. host is Oct 15, 2020 · When you use apt to install packages, you'll run into dependency problems if you're not installing all software from the same version of the same distro. stamp_configured 是因为防止重新编译提示:. Let's explore its content: build is the directory in which each component built by Buildroot is extracted, and where the build actually takes place. Here we will provide an example of building an SWUpdate Over-The-Air (OTA) update for buildroot with the following considerations: Jul 29, 2024 · I want to install Buildroot on a Debian 11. These options vary in purpose and specify important things like what type of hardware is available on the platform, which kernel modules should be included in The check-package script requires you install shellcheck and the Python PyPi packages flake8 and python-magic. +LIBFOO_INSTALL_STAGING_CMDS+ tells what steps should be performed to install the package in the staging space Feb 28, 2018 · Buildroot is a tool that can be used for building Linux images for embedded-system boards. The rsync command does not copy all files from the source directory, though. 1. install the package to the images directory, when the package is a target package. Mar 20, 2018 · I want to install my own programs on to my Buildroot image. install files when a package should be split up (like a libfoo and libfoo-dev package). Building buildroot Run make O= build-dir-path to build the toolchain and root file system, or make O= build-dir-path toolchain to build only the toolchain. This post is largely inspired from Free Electrons Buildroot training, with a focus towards our platforms and Freescale-specific packages. - IbrahimEsam27/Buildroot The official Git repository is at https://gitlab. 3节“如何测试您的软件包”),并检查其 Dec 19, 2017 · With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use. Apr 1, 2025 · Earlier this year, I got my hands on a Raspberry Pi 5 with the goal of expanding my knowledge of Tagged with buildroot, raspberrypi, linux, embedded. By running all commands as a regular user, you protect your system against packages behaving badly during compilation and installation. in to add python-pip/Config. This mechanism ensures that any change in the dependencies will be detected, and allows the build to be performed completely offline. * +LIBFOO_INSTALL_TARGET_OPTS+ contains the make options used to install the package to the target directory. You can ask buildroot to do this with the make <package>-dirclean command. Second, you can override the default, and any entry in an rpmrc by using "--buildroot <dir>" on the RPM command line. Mar 2, 2023 · Buildroot 如何添加新的包 包目录 编码风格 `Config. Overview The Python Buildroot offers a helper infrastructure to build some userspace tools for the target available within the Linux kernel sources. The process of getting the Buildroot source code involves copying (git clone) a remote repository onto a local directory on your computer. Compiling Individual Packages You may know me from former titles such as “Batocera Linux Buildroot Modifications” and “How to work on Batocera (and not recompile everything)”. Buildroot provides a script in +utils/check-package+ that checks new or changed files for coding style. It allows Jun 2, 2017 · After studying the buildroot architecture, I came to know that buildroot uses quilt tool for applying the patches. Re-configuring and re-building Buildroot The Buildroot does not support uninstalling packages from its build directories. It also includes some background information about the mock tool, setup instructions, and some examples. toml file. in file. Some packages only contain a kernel module, other packages contain programs and libraries in addition to kernel modules. I can't find a hint neither in the corresponding package directory nor in the corresponding build directory which version of the openssl library is used. and it also includes the latest configuration for our boards. However, your project may need some proprietary packages that cannot be upstreamed. Buildroot has a nice configuration tool similar to the one you Oct 17, 2025 · 本文详细介绍了如何在RockchipRK3568的Buildroot环境中,从创建C源码、Makefile到配置和编译自定义package的过程。 本文通过一个简单的例子介绍如何在 RK3568 的buildroot/package 目录下添加一个自己的 package(软件包 ) The easiest way to rebuild a single package from scratch is to remove its build directory in output/build. Now I want to add a driver, written in C, which can be used by a user program to write to some spe It contains the headers and libraries of all user-space packages that provide and install libraries used by other packages. First of all, create a directory under the +package+ directory for your software, for example +libfoo+. I found opkg, who can be s As explained in Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two files: a . quilt keeps track of all the patches in the a file named "series" which is present in the "patches" directory. It does not check the Jun 20, 2024 · CC 的值是 make 的时候传入 删除 . If your Buildroot package is not in the official Buildroot tree but in a br2-external tree, use the -o flag as follows: utils/scanpypi foo bar -o other_package_dir This will generate packages python-foo and python-bar in the other_package_directory instead of package. There are two ways to override this. It is available as: Jan 8, 2024 · The third line is the save location of the packages and files Buildroot will download, build, and run on the host. This is the official repository of The rest of the Makefile, lines 16. In the mean time, you can either use the latest Git version of Buildroot, or back-port the bluez package into an older version of Buildroot. // -*- mode:doc; -*- // vim: set syntax=asciidoc: [[adding-packages]] == Adding new packages to Buildroot This section covers how new packages (userspace libraries or Jun 13, 2017 · I want to install and build just the toolchain for my Buildroot project. 1. Jul 14, 2021 · Buildroot (https://buildroot. It also does not track dependencies between the built packages. LIBFOO_INSTALL_IMAGES_CMDS lists the actions to be performed to install the package to the images directory, when the package is a target package. hash` 文件 用于具有特定构建系统的软件包的基础设施 `generic-package` 通用包教程 `generic-package` 通用包引用介绍 可用开始变量 可用运行变量 可用钩子锚点 `autotools-package` 通用包教程 Dec 1, 2023 · Buildroot basics Some of the most useful takeaways from the Buildroot official manual. 2. Use buildroot remove to remove packages # $ buildroot remove <package_name> This command removes a package from the Buildroot repository.