Linux HOWTOs

About | Home | Search


HOWTO: nautilus
Description: File manager for Gnome
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# nautilus
# ========
# Slackware 8.1's 'nautilus' package includes version 1.0.6, 9.0's includes
# 2.2.2, 9.1's includes 2.4.0, 10.0 and 10.2's include 2.6.3  As of
# Slackware 10.2, Gnome is no longer included.

# Below I include multiple versions of nautilus covering several releases
# of Gnome.  I will keep all of them updated, but keep in mind that I only
# actually use Gnome 2.12.x

# If you ever want to uninstall nautilus, or clean up files from an old
# version before installing a new one, cd into the source directory, run
# 'make uninstall' (as root), remove the source directory, then remove
# the tarball.

# I only read/write (well) English, so I remove the nautilus.mo
# internationalization files below.  If this is not the case for you, skip
# that part.

# Prerequisites (for all versions):
# sed
# grep
# pkg-config
# esound >= 0.2.27
# bonobo-activation-2.0 >= 2.1.0
# ORBit-2.0 >= 2.4.0
# pango >= 1.1.2
# libart-2.0 >= 2.3.10
# libbonobo-2.0 >= 2.1.0
# libgnome-2.0 >= 2.1.1
# librsvg-2.0 >= 2.0.1
# libxml-2.0 >= 2.4.7
# gettext
# perl
# XFree86 or X.org
# jw (Slackware 9.0 includes 'sgml-tools' in extra, 9.1, 10.0, 10.1, and
#  10.2 include it as a regular package in 'ap', they're all version 1.0.9)
# gconf

# Install/update the XML::Parser perl module:
su -c "perl -MCPAN -e shell"
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install XML::Parser
exit


# nautilus 2.2.4 (for Gnome 2.2.x)
# ==============
# Prerequisites (beyond those listed above):
# eel-2.0 >= 2.2.3
# glib-2.0 >= 2
# gnome-desktop-2.0 >= 2.1.0
# gnome-vfs-2.0 >= 2.1.5
# gtk+-2.0 >= 2.1.1
# libbonoboui-2.0 >= 2.0.0
# libgnomeui-2.0 >= 2.1.1
# cdparanoia
# medusa-2.0 >= 0.5.1
# libjpeg

cd
test -f installed/nautilus-2.2.4.tar.bz2 &&
 mv installed/nautilus-2.2.4.tar.bz2 .
test ! -f nautilus-2.2.4.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/nautilus/2.2/\
nautilus-2.2.4.tar.bz2

# Verify tarball w/ md5sum:
echo "cb189d8a53dca17e5345261bd819c421  nautilus-2.2.4.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.2.4.tar.bz2
cd nautilus-2.2.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-private.* \
  libnautilus-adapter.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;

# Become yourself again
exit

cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.2.4.tar.bz2 installed/


# nautilus 2.4.2 (for Gnome 2.4.x)
# ==============
# Prerequisites (beyond those listed above):
# eel-2.0 >= 2.4.1
# glib-2.0 >= 2
# gnome-desktop-2.0 >= 2.1.0
# gnome-vfs-2.0 >= 2.3.5
# gtk+-2.0 >= 2.1.1
# libbonoboui-2.0 >= 2.2.0
# libgnomeui-2.0 >= 2.3.3
# startup-notification-1.0
# popt
# cdparanoia
# medusa-2.0 >= 0.5.1
# libjpeg

cd
test -f installed/nautilus-2.4.2.tar.bz2 &&
 mv installed/nautilus-2.4.2.tar.bz2 .
test ! -f nautilus-2.4.2.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/nautilus/2.4/\
nautilus-2.4.2.tar.bz2

# Verify tarball w/ md5sum:
echo "2023d525f1d81b6752ce7b118728b19c  nautilus-2.4.2.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.4.2.tar.bz2
cd nautilus-2.4.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-private.* \
  libnautilus-adapter.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;

# Become yourself again
exit

cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.4.2.tar.bz2 installed/


# nautilus 2.6.3 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# ==============
# Prerequisites (beyond those listed above):
# eel-2.0 >= 2.6.0
# glib-2.0 >= 2.3.0
# gnome-desktop-2.0 >= 2.1.0
# gnome-vfs-2.0 >= 2.5.1
# gtk+-2.0 >= 2.3.0
# libbonoboui-2.0 >= 2.6.0
# libgnomeui-2.0 >= 2.6.0
# startup-notification-1.0
# popt
# libexif >= 0.5.12
# cdparanoia
# medusa-2.0 >= 0.5.1
# libjpeg

cd
test -f installed/nautilus-2.6.3.tar.bz2 &&
 mv installed/nautilus-2.6.3.tar.bz2 .
test ! -f nautilus-2.6.3.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/nautilus/2.6/\
nautilus-2.6.3.tar.bz2

# Verify tarball w/ md5sum:
echo "ef91c7eefd219800a3aab93e6510a5c9  nautilus-2.6.3.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.6.3.tar.bz2
cd nautilus-2.6.3
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
 --disable-static

## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
# cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-adapter.* \
  libnautilus-extension.* libnautilus-private.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;

# Become yourself again
exit

cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.6.3.tar.bz2 installed/


# nautilus 2.12.2 (for Gnome 2.12.x)
# ===============
# Prerequisites (beyond those listed above):
# gawk
# eel-2.0 >= 2.12.0
# glib-2.0 >= 2.6.0
# gnome-desktop-2.0 >= 2.9.91
# gnome-vfs-2.0 >= 2.11.1
# gtk+-2.0 >= 2.6.0
# libgnomeui-2.0 >= 2.6.0
# iconv
# startup-notification-1.0
# popt
# libexif >= 0.5.12

cd
test -f installed/nautilus-2.12.2.tar.bz2 &&
 mv installed/nautilus-2.12.2.tar.bz2 .
test ! -f nautilus-2.12.2.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/nautilus/2.12/\
nautilus-2.12.2.tar.bz2

# Verify tarball w/ md5sum:
echo "1c1304e458eda551da11ed8c52b1faa2  nautilus-2.12.2.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nautilus-*" -exec rm -r {} \;
tar xjvf ~/nautilus-2.12.2.tar.bz2
cd nautilus-2.12.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
 --disable-static

## If make fails with an error like this:
# /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
# cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nautilus
( cd /usr/lib ; rm -f libnautilus.* libnautilus-adapter.* \
  libnautilus-extension.* libnautilus-private.* )
make install
ldconfig
find /usr/share/locale -type f -name nautilus.mo -exec rm {} \;

# Become yourself again
exit

cd
rm -f installed/nautilus-?.*.tar.*
mv nautilus-2.12.2.tar.bz2 installed/

# If you want to add an icon for Nautilus outside of Gnome, you can use
# /usr/share/pixmaps/nautilus/nautilus-launch-icon.png as a desktop icon

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>