[Debian Linux] LunarVim Install


🎼Songs I listened to whilst writing🎼

  • Mermaid Melody Pichi Pichi Pitch OST
  • Genshin Impact OST For Mondstadt
  • Bullet Heaven 2 OST : Powerful and Bright

[Debian]LunarVim Install

Kali Linux is used for ethical hacking activities,

but this Debian Linux is for Baekjoon

Baekjoon algorithms and various programming activities



I’ve added another virtual OS for this purpose.

Of course, the most critical drawback is that it consumes quite a bit of memory ;ㅅ;


Among NeoVim editors, one that could be installed instantly

existed, but its support has ended,

so I ended up using LunarVim.

Step 1. Upgrade and Refresh

1
2
3
4
5
6
# Upgrade and Refresh
$ sudo apt update && sudo apt upgrade

# This updates all packages on the system
$ sudo apt upgrade -y


Step 2. Debian Linux Nerd Font Install

1
2
3
4
5
6
7
8
9
10
11
12

# Nerd Font Install
$ mkdir -p ~/.local/share/fonts

$ cd ~/.local/share/fonts && curl -fLO https://raw.githubusercontent.com/choikangjae/.dotfiles/main/font/JetBrainsMonoNerdFont-Regular.ttf

$ ~/.local/share/fonts

# Font Setting

$ fc-cache -f -v


Step 3. NeoVim 0.9.5 Install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# NeoVim 0.9.5 Install

$ wget https://github.com/neovim/neovim/releases/download/v0.9.5/nvim-linux64.tar.gz

$ chmod u+x nvim-linux64.tar.gz

$ tar -zxvf nvim-linux64.tar.gz

$ sudo cp -r nvim-linux64/* /usr/local/

$ make CMAKE_BUILD_TYPE=Release

$ sudo make install

$ nvim --version


Step 4. Ruby Install

1
2
3
4
5
6
7
8
9
10
11

# Ruby Install

$ sudo apt upgrade -y

$ sudo apt install ruby-full

$ ruby --version

$ gem --version


Step 5. LunarVim Install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

# LunarVim Install
$ sudo apt install make git python3 python3-pip npm nodejs # Install necessary dependencies

# Install rustup
$ sudo apt update # Initialise and refresh

$ sudo apt install curl build-essential

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

$ rustup --version

# Install necessary dependencies 2
$ sudo apt install cargo

$ LV_BRANCH='release-1.4/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.4/neovim-0.9/utils/installer/install.sh)

# Semi-permanent usage
$ alias lvim='~/.local/bin/lvim'

# Permanent usage
$ sudo ~/.bashrc

# Add to the very bottom, then save
$ alias lvim='~/.local/bin/lvim'