Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

hardyweb
hardyweb

Posted on

     

Compile Neovim in Debian/Ubuntu Linux

*Fresh Debian Install *

Sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip doxygen -ygit clone https://github.com/neovim/neovimcd neovim && makemake installsudo make installcd ..rm -rf neovim
Enter fullscreen modeExit fullscreen mode

existing neovim source

$cd neovim$rm -rf .deps/$rm -rf builds/$git pull$make$sudo make install
Enter fullscreen modeExit fullscreen mode

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
gokayburuc profile image
gokayburuc.dev
Industrial Engineer turned Full-Stack Developer. Fluent in Turkish, English, and Russian. Passionate about Go, Rust, Python, Linux, Neovim, and productivity tools like Obsidian.
  • Email
  • Location
    Kırklareli, Turkey
  • Education
    ННГУ - Университет Лобачевского / University of Lobachevsky (Nizhny Novgorod, Russia
  • Pronouns
    he/him
  • Work
    Freelance Developer
  • Joined

And you can also add a bash script to establish a Neovim distro (Neovide, NVChad, Astro, Lazy, Kickstart, etc.).

astro-setup.sh

Create a bash script file namedastro-setup.sh that has content given below:

mv ~/.config/nvim ~/.config/nvim.bakmv ~/.local/share/nvim ~/.local/share/nvim.bakmv ~/.local/state/nvim ~/.local/state/nvim.bakmv ~/.cache/nvim ~/.cache/nvim.bakgit clone--depth 1 https://github.com/AstroNvim/template ~/.config/nvim# remove template's git connection to set up your own laterrm-rf ~/.config/nvim/.git
Enter fullscreen modeExit fullscreen mode

Then just run the command:

$sh astro-setup.sh
Enter fullscreen modeExit fullscreen mode

lazy-setup.sh

# requiredmv ~/.config/nvim{,.bak}# optional but recommendedmv ~/.local/share/nvim{,.bak}mv ~/.local/state/nvim{,.bak}mv ~/.cache/nvim{,.bak}# clone projectgit clone https://github.com/LazyVim/starter ~/.config/nvim# git removerm-rf ~/.config/nvim/.git
Enter fullscreen modeExit fullscreen mode

Use the same method in section astro-setup.sh.**

CollapseExpand
 
hardyweb profile image
hardyweb
Highly motivated and self-directed IT professional with a strong foundation in web development (particularly Laravel) and a passion for continuous learning.
  • Location
    Terengganu, Malaysia
  • Joined

nice, thank you ..

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Highly motivated and self-directed IT professional with a strong foundation in web development (particularly Laravel) and a passion for continuous learning.
  • Location
    Terengganu, Malaysia
  • Joined

More fromhardyweb

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp