Linux HOWTOs

About | Home | Search


HOWTO: gnome-keyring
Description: Keeps passwords and other secrets for Gnome users
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


# gnome-keyring
# =============
# Slackware 10.0 and 10.1's 'gnome-keyring' packages include version 0.2.1
# As of Slackware 10.2, Gnome is no longer included.

# If you ever want to uninstall gnome-keyring, cd into the source directory,
# run 'make uninstall', remove the source directory, and remove the tarball.

# I include multiple versions below for different releases of Gnome.  I will
# keep them updated as new versions are released, but keep in mind that I
# only use the Gnome 2.16.x version.

# Prerequisites (for all versions):
# pkg-config
# gettext


# gnome-keyring 0.2.1 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# ===================
# Prerequisites (beyond those listed above):
# Glib >= 2.3.1
# GTK+ >= 2.3.1

cd
test -f installed/gnome-keyring-0.2.1.tar.bz2 &&
 mv installed/gnome-keyring-0.2.1.tar.bz2 .
test ! -f gnome-keyring-0.2.1.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/0.2/\
gnome-keyring-0.2.1.tar.bz2

# Verify tarball w/ md5sum:
echo "2fe5fb39cc18d1a6792fd3281223dfff  gnome-keyring-0.2.1.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

make install

# I only read/write English (well), I don't need these:
find /usr/share/locale -type f -name "gnome-keyring.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gnome-keyring-*.tar.*
mv gnome-keyring-0.2.1.tar.bz2 installed/


# gnome-keyring 0.4.9 (for Gnome 2.12.x or 2.14.x)
# ===================
# Prerequisites (beyond those listed above):
# Glib >= 2.6.0
# GTK+ >= 2.6.0

cd
test -f installed/gnome-keyring-0.4.9.tar.bz2 &&
 mv installed/gnome-keyring-0.4.9.tar.bz2 .
test ! -f gnome-keyring-0.4.9.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/0.4/\
gnome-keyring-0.4.9.tar.bz2

# Verify tarball w/ md5sum:
echo "9a90820acf11a66e4c3dd9e163231071  gnome-keyring-0.4.9.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

make install

# I only read/write English (well), I don't need these:
find /usr/share/locale -type f -name "gnome-keyring.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gnome-keyring-*.tar.*
mv gnome-keyring-0.4.9.tar.bz2 installed/


# gnome-keyring 0.6.0 (for Gnome 2.16.x)
# ===================
# Prerequisites (beyond those listed above):
# Glib >= 2.6.0
# GTK+ >= 2.6.0

cd
test -f installed/gnome-keyring-0.6.0.tar.bz2 &&
 mv installed/gnome-keyring-0.6.0.tar.bz2 .
test ! -f gnome-keyring-0.6.0.tar.bz2 &&
 wget http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/0.6/\
gnome-keyring-0.6.0.tar.bz2

# Verify tarball w/ md5sum:
echo "1e3a3a12b19fc5ebe95363658c2256d8  gnome-keyring-0.6.0.tar.bz2" | \
 md5sum -c

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

# Become root to install it
su

make install

# I only read/write English (well), I don't need these:
find /usr/share/locale -type f -name "gnome-keyring.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gnome-keyring-*.tar.*
mv gnome-keyring-0.6.0.tar.bz2 installed/

Back to the list


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