Install packages with `make install`

I’ve installed a package (vim) in my raspberry pi (debian 11) by cloning the GitHub repository and running the commands make and make install as it’s explained here How to Install Latest Vim Editor in Linux – TecAdmin

What I typed:

sudo apt install git make ncurses-dev build-essential
git clone https://github.com/vim/vim.git
cd vim/src
./configure
make
sudo make install

Then I read this: Vim from GitHub : vim online and I noticed that I only made the building part.

I was just following the steps and all right, I’ve done it. But after that I removed the downloaded folder and I have some questions about how this process works:

  1. I should have kept the installation folder?
  2. How can I remove/update the installed program? (I looked it up and it seems make uninstall is the command, but I’m not sure)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.