From a36eeaa3301e5da25415c77ab958a752b9efb5b4 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Tue, 4 Jan 2022 15:13:57 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index f9138561..dd3692d3 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,23 @@ Lapce is written in pure Rust, with UI in [Druid](https://github.com/linebender/ * Plugin can be written in programming languages that can compile to [WASI](https://wasi.dev/) (C, Rust, [AssemblyScript](https://www.assemblyscript.org/)) * Built in terminal +## Build from source + +### Install the Rust compiler with `rustup` + +1. Install [`rustup.rs`](https://rustup.rs/). + +### Dependencies +#### Ubuntu +```sh +sudo apt-get install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev +``` +### Building +```sh +cargo build --release +``` +The exectuable will be available at `target/release/lapce` + ## Feedback * Chat on [Zulip](https://lapce.zulipchat.com)