]> git.lizzy.rs Git - micro.git/blobdiff - README.md
Update installation instruction on Debian systems
[micro.git] / README.md
index a50d98be5b506be5569a13e138c2636dda5e95d8..9f6cd16c2dac290c569f0fc06e7883068fdb3d86 100644 (file)
--- a/README.md
+++ b/README.md
@@ -106,13 +106,13 @@ You can install micro using Homebrew on Mac:
 brew install micro
 ```
 
-On Debian Linux, you can install micro through [snap](https://snapcraft.io/docs/core/install)
+On Debian systems, you can install micro via apt:
 
 ```
-snap install micro --classic
+apt install micro
 ```
 
-Homebrew and snap are the two "officially" maintained package manager distributions of micro.
+Homebrew and apt are the two "officially" maintained package manager distributions of micro.
 
 Micro is also available through other package managers on Linux such as AUR, Nix, and package managers
 for other operating systems:
@@ -145,6 +145,16 @@ You can install directly with `go get` (`go get github.com/zyedidia/micro/cmd/mi
 recommended because it doesn't build micro with version information (necessary for the plugin manager),
 and doesn't disable debug mode.
 
+### Fully static binary
+
+By default, the micro binary will dynamically link with core system libraries (this is generally
+recommended for security and portability). However, there is a fully static prebuilt binary that
+is provided for amd64 as `linux-static.tar.gz`, and to build a fully static binary from source, run
+
+```
+CGO_ENABLED=0 make build
+```
+
 ### macOS terminal
 
 If you are using macOS, you should consider using [iTerm2](http://iterm2.com/) instead of the default terminal (Terminal.app). The iTerm2 terminal has much better mouse support as well as better handling of key events. For best keybinding behavior, choose `xterm defaults` under `Preferences->Profiles->Keys->Load Preset`. The newest versions also support true color.