Makefile

From 太極
Jump to navigation Jump to search

Resources

GNU Make

Examples

nano

It appears after running "sudo make install", we need to reboot to see the effect.

Tested on Ubuntu 18.04 and Linux Mint 18.3.

wget https://www.nano-editor.org/dist/v3/nano-3.2.tar.xz
tar xvf nano-3.2.tar.xz
./configure
make
sudo make install
nano --version # still the original version 2.9.3
which nano # /bin/nano

# Reboot
nano --version # 3.2
which nano # /usr/local/bin/nano