Making Sure You've got the Latest & Greatest

#####

March 25, 2007: NOTE: The information on this page is outdated. If you follow this guide you will break your system!

If you wish to upgrade your system, do not use -current.

The -current branch is the testing ground for the next release of Slackware. Updates to Slackware are contained the /patches directory for their respective versions.

Furthermore, the addition of third party repositories can have unexpected consequences, and I no longer recommend using them in conjunction with automated updates.

#####

Install SWareT. Go here to get the package. The first thing you will want to do is edit the /etc/swaret.conf file. Change the version to current.


# NOTE: If you want to use Slackware Linux Current,
#       set VERSION to 'current' (VERSION=current).
#
VERSION=current

Uncomment the line for linuxpackages.net.


# NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
#
REPOS_ROOT=LinuxPackagesDOTNET%ftp://ftp4.linuxpackages.net/pub/Slackware-9.1

Enable slocate.


# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use 
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=1

Unless you really know what you are doing, you should leave everything else alone. It's a good idea to update your search database at this point. So now type:

updatedb

When that's all done, go ahead and type:

swaret --update 
swaret --upgrade -a
swaret --dep

This will take awhile. I run swaret --upgrade -a a few times, because you will usually have a few packages that didn't get downloaded on the first try. If you're short on hard drive space like me, you might want to wrap everything up with a

swaret --purge

That will get rid of all of the packages that you just installed. Once they are installed, you really don't need them anymore. If your not sure, or if you're like me and re-install everything quite a bit, you might want to burn all of those packages onto a cd-rw, first. You can use that when you re-install to save a lot of downloading

Valid HTML 4.01! Valid CSS!