mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 08:01:13 +08:00

Some checks failed
Build / Bazel, ${{ matrix.cxx }}, ${{ matrix.os }} (cl, cl, windows-latest) (push) Has been cancelled
Build / Bazel, ${{ matrix.cxx }}, ${{ matrix.os }} (clang, clang++, macos-latest) (push) Has been cancelled
Build / Bazel, ${{ matrix.cxx }}, ${{ matrix.os }} (clang, clang++, ubuntu-latest) (push) Has been cancelled
Build / Bazel, ${{ matrix.cxx }}, ${{ matrix.os }} (gcc, g++, macos-latest) (push) Has been cancelled
Build / Bazel, ${{ matrix.cxx }}, ${{ matrix.os }} (gcc, g++, ubuntu-latest) (push) Has been cancelled
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (cl, Windows MSVC, windows-latest) (push) Has been cancelled
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (gcc, Linux GCC, ubuntu-latest) (push) Has been cancelled
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, llvm-cov gcov, Linux Clang, ubuntu-latest) (push) Has been cancelled
Build / CMake, ${{ matrix.compiler }}, ${{ matrix.os }} (llvm, llvm-cov gcov, MacOS clang, macos-latest) (push) Has been cancelled
Build / Test modules (llvm, ubuntu-latest) (push) Has been cancelled
Documentation / documentation (push) Has been cancelled
43 lines
903 B
Markdown
43 lines
903 B
Markdown
@page installation_debian Debian/Ubuntu
|
|
|
|
## Debian and Ubuntu Packages (Unofficial)
|
|
|
|
Pre-built packages are provided by the distributions. Install with:
|
|
|
|
```bash
|
|
sudo apt install libftxui-dev
|
|
```
|
|
|
|
The following packages are available:
|
|
- `ftxui-doc`
|
|
- `ftxui-examples`
|
|
- `libftxui-component<version>`
|
|
- `libftxui-dev`
|
|
- `libftxui-dom<version>`
|
|
- `libftxui-screen<version>`
|
|
|
|
Once installed, you can use it in your CMake projects by adding the following to
|
|
your `CMakeLists.txt`:
|
|
|
|
```cmake
|
|
find_package(ftxui REQUIRED)
|
|
add_executable(main main.cpp)
|
|
target_link_libraries(main
|
|
PRIVATE ftxui::screen
|
|
PRIVATE ftxui::dom
|
|
PRIVATE ftxui::component
|
|
)
|
|
```
|
|
|
|
> [!note]
|
|
> This is an **unofficial** package. That means it is not maintained by the FTXUI
|
|
> team, but by the community.
|
|
|
|
<div class="section_buttons">
|
|
|
|
| Previous |
|
|
|:------------------|
|
|
| [Getting Started](getting-started.html) |
|
|
|
|
</div>
|