Makefile: Difference between revisions

From 太極
Jump to navigation Jump to search
(Created page with "= Resources = [https://www.gnu.org/software/make/ GNU Make] = Examples = == nano == It appears after running "sudo make install", we need to reboot to see the effect. Tested...")
 
(No difference)

Latest revision as of 10:36, 14 March 2019

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