Compile and install nemo file manager on nemo in Ubuntu Xenial.

Edit:
Just run this (As advised by JosephMcc, a nemo contributor):

mkdir nemosrc
cd nemosrc
git clone https://github.com/linuxmint/nemo.git
sudo apt build-dep nemo
sudo apt install gnome-pkg-tools libxt-dev python3-polib
dpkg-buildpackage
sudo dpkg -i ../*deb
git clone https://github.com/linuxmint/nemo-extensions
cd nemo-extensions
./buildall
sudo dpkg -i *deb

Create /etc/apt/sources.list.d/mint.list:

deb http://packages.linuxmint.com/ rosa main

To install python-nemo:

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 3EE67F3D0FF405B2
sudo apt update
sudo apt-get -f install
sudo dpkg -i *deb

Closely watch for output. Correct output looks like this:

(Reading database ... 194677 files and directories currently installed.)
Preparing to unpack nemo-audio-tab_3.2.1_all.deb ...
Unpacking nemo-audio-tab (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-compare_3.2.1_all.deb ...
Unpacking nemo-compare (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-emblems_3.2.3_all.deb ...
Unpacking nemo-emblems (3.2.3) over (3.2.3) ...
Preparing to unpack nemo-fileroller_3.2.1_amd64.deb ...
Unpacking nemo-fileroller (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-image-converter_3.2.0_amd64.deb ...
Unpacking nemo-image-converter (3.2.0) over (3.2.0) ...
Preparing to unpack nemo-media-columns_3.2.1_all.deb ...
Unpacking nemo-media-columns (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-pastebin_3.2.1_all.deb ...
Unpacking nemo-pastebin (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-rabbitvcs_3.2.1_all.deb ...
Unpacking nemo-rabbitvcs (3.2.1) over (3.2.1) ...
Preparing to unpack nemo-share_3.2.0_amd64.deb ...
Unpacking nemo-share (3.2.0) over (3.2.0) ...
Preparing to unpack nemo-terminal_3.2.1_amd64.deb ...
Unpacking nemo-terminal (3.2.1) over (3.2.1) ...
Setting up nemo-audio-tab (3.2.1) ...
Setting up nemo-compare (3.2.1) ...
Setting up nemo-emblems (3.2.3) ...
Setting up nemo-fileroller (3.2.1) ...
Setting up nemo-image-converter (3.2.0) ...
Setting up nemo-media-columns (3.2.1) ...
Setting up nemo-pastebin (3.2.1) ...
Setting up nemo-rabbitvcs (3.2.1) ...
Setting up nemo-share (3.2.0) ...
Setting up nemo-terminal (3.2.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...

To set nemo as default file manager:

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

You can check the default with:

xdg-mime query default inode/directory

It will say failed to sign:

dpkg-buildpackage: error: failed to sign .dsc and .changes file

but that’s not an issue.
The .deb packages will be built to ../

Older instructions:

git clone https://github.com/linuxmint/nemo
cd nemo/
./autogen.sh && ./configure && make && make install

If it throws the following error:

./autogen.sh: 25: ./autogen.sh: aclocal: not found

, do:

sudo apt-get install automake gtk-doc-tools gobject-introspection libgtk-3-dev libgail-3-dev libcinnamon-desktop-dev libxml2-dev libnotify-dev libexif-dev libexempi-dev libselinux1-dev

I also had to manually installer older version packages for “tracker support” because it was not recognizing the newer version that came with Ubuntu Xenial:

wget http://security.ubuntu.com/ubuntu/pool/universe/t/tracker/libtracker-sparql-0.16-0_0.16.5-0ubuntu0.2_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/universe/t/tracker/libtracker-miner-0.16-0_0.16.5-0ubuntu0.2_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/universe/t/tracker/gir1.2-tracker-0.16_0.16.5-0ubuntu0.2_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/universe/t/tracker/libtracker-sparql-0.16-dev_0.16.5-0ubuntu0.2_amd64.deb
sudo dpkg -i *deb
sudo apt-get install -f 

After doing all this I was getting a compiler error:

Makefile:780: recipe for target 'eel-canvas.lo' failed

So I had to pass a flag to ./configure to suppress the error:

/configure --disable-Werror

Next:

make && sudo make install

Now create a shortcut in the menu for Nemo:

cp data/nemo.desktop ~/.local/share/applications/

Now you can launch it by typing “Files” in the menu. If you want to change the name, edit ~/.local/share/applications/nemo.desktop.

[Desktop Entry]
Name=Nemo
Name[en_GB]=Files
Comment=Access and organize files
Exec=nemo %U
Icon=folder
Terminal=false
Type=Application
StartupNotify=false
Categories=GNOME;GTK;Utility;Core;
MimeType=inode/directory;application/x-gnome-saved-search;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nemo
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.2.2

I submitted an issue on github.

Installing nemo extensions:
Install nemo

sudo apt install nemo
git clone https://github.com/linuxmint/nemo-extensions
cd nemo-extensions
./buildall

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.