LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2006, 03:48 PM   #1
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
Top 10 Tips for a Happy Slackware Box


After helping several people with Slackware installs, and after reading some of the common problems encountered by new Slackware users on the LinuxQuestions.org Slackware forum, here is my list of Top 10 Tips for a Happy Slackware Box. This is just a list of _my_ tips based on _my_ experience alone. YMMV.

1. If you can, or if you have the disk space, consider doing a full install when installing Slackware. You only need disks 1 and 2 to do a full install (and really Disk 1 contains 99% of the base system. Disk 2 contains KDE and other desktop environments). Disks 3 and 4 contain /extra, /testing, /pasture, source code, and docs. You can get those from the net later on if necessary.

2. Stick with the -stable branch and read Pat’s -stable changelog to keep up with bugfixes. Subscribe to the Slackware mailing lists. If you want to run anything from -current, run all of current, or, upgrade packages from -current on a very selective or as-needed basis. Either way, be sure to read Pat -current changelog before doing so. He will tell you when there are problems with a particular package in -current. In fact, reading the changelogs on a regular basis is a very good habit.

3. If you want to use a tool to do automatic updates, use slackpkg. However, be sure to blacklist certain things like the kernel, the aaa_base, aaa_elflibs, and alsa before doing an update. It is important to blacklist those 4, especially the two aaa_ packages—those are meta type packages that Pat says should never be uninstalled or upgraded. Browse the LinuxQuestions.org Slackware forum for “slackpkg” and there are good tips for what else to blacklist.

4. If you do a full install, then compiling anything you need that is not included is very, very simple. It will just work. I promise.

5. Use checkinstall to actually install your compiled binaries. Checkinstall will add the package to the pkgtool-maintained list thereby making it easy to remove later on if necessary. A Slackware checkinstall package is provided in the /extra directory.

6. If you want to use GNOME, try Freerock GNOME or GWARE. There is also Dropline GNOME which is very nice, but I tend to use Freerock.

7. Did I mention that you need to read Pat’s -stable and -current changelogs on a regular basis? Reading the changelogs are the keys to maintaining a stable system.

8. Most packages in linuxpackages.net are ok. But, there are occasional issues so it’s still better to compile your own.

9. The official Slackware forums at LinuxQuestions.org are excellent. Also, www.slackbook.org and www.slackbasics.org are two excellent manuals.

10. Enjoy your new Slackness.

(I just posted this on my homepage so I hope people will find it helpful).

Last edited by chess; 03-29-2006 at 09:22 PM.
 
Old 03-21-2006, 04:24 PM   #2
gravityworks
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by Jackson1995
It is important to blacklist those 4, especially the two aaa_ packages—those are meta type packages that Pat says should never be uninstalled or upgraded.

Always wondered about that..when i upgraded from slack 10.1 to 10.2 i upgraded those as well with no problems..in the upgrade text in the slackware site he makes no mention of excluding these for upgrade..so i didn't,and have had no problems with my setup..and recently when they were upgraded in current i upgraded them ,again with no ill effects..so i'm wondering does he mean not to ever upgrade them or just not to do it if your not upgrading everything..like say for instance upgrading from 10.1 to 10.2 or from 10.2 to current.
 
Old 03-21-2006, 04:51 PM   #3
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Original Poster
Rep: Reputation: 190Reputation: 190
Well, in the packages descriptions Pat says this:

"aaa_base (Basic Linux filesystem package)

Sets up the empty directory tree for Slackware and adds an email to
root's mailbox welcoming them to Linux. This package should be
installed first, and never uninstalled."

"aaa_elflibs (shared libraries needed by many programs)

This is a collection of shared libraries needed to run Linux programs.
ELF (Executable and Linking Format) is the standard Linux binary
format. These libraries are gathered from other Slackware packages
and are intended to give a fairly complete initial set of libraries.
This package should be not upgraded or reinstalled (it could copy
over newer library versions)."
 
Old 03-21-2006, 04:56 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Good list.

Suggestion No. 2 seems especially applicable to people who want to update 10.2 but still use the 2.4.x kernel series. Seems that the new versions of X are useful only with the 2.6.x series. Installing those packages will cause problems with 2.4.x kernels. Thus, for users still using 2.4, be sure to read the change log before updating files.
 
Old 03-21-2006, 05:27 PM   #5
gravityworks
LQ Newbie
 
Registered: Jun 2004
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by Jackson1995
Well, in the packages descriptions Pat says this:

"aaa_base (Basic Linux filesystem package)

Sets up the empty directory tree for Slackware and adds an email to
root's mailbox welcoming them to Linux. This package should be
installed first, and never uninstalled."

"aaa_elflibs (shared libraries needed by many programs)

This is a collection of shared libraries needed to run Linux programs.
ELF (Executable and Linking Format) is the standard Linux binary
format. These libraries are gathered from other Slackware packages
and are intended to give a fairly complete initial set of libraries.
This package should be not upgraded or reinstalled (it could copy
over newer library versions)."

Yep read the package info..but in the upgrade.txt he makes no mention of omitting these packages for upgrade,thats where it get's confusing for me..he goes into pretty good detail on the upgrade process,so you'd think he would mention this..And considering i havent experienced any pitfalls by upgrading them(been using this install of slack current, that was upgraded from slack 10.2 ,that was upgraded from slack 10.1 for about 8 months now)i wonder if it's really a bad thing to upgrade them.

Good list by the way
 
Old 03-21-2006, 05:56 PM   #6
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Nice intro for newcomers.
I guess and hope more experienced users incline to be able to do minimal installs and for installing software from sources avoid checkpkg but use (own) SlackBuild scripts. It becomes soon very natural after some months of regular using.
 
Old 03-21-2006, 06:33 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i have seen the list, but i kindda agree with gravityworks. I have upgraded both aaa* packages up to now and it worked like charm, no major / minor problem arose (lucky me)

I usually never use automatic tools, like swaret, slackpkg, etc, since it's quite easy for me to download and upgrade/install new packages from some mirrors

BTW, nice list...
 
Old 03-21-2006, 07:37 PM   #8
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Really nice, thank you for the tips, i agree 100% with all of them
 
Old 03-21-2006, 08:01 PM   #9
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Original Poster
Rep: Reputation: 190Reputation: 190
Good points, everyone. Thanks for that -- much appreciated.
 
Old 03-22-2006, 01:45 PM   #10
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Nice list: I'd add, about compiling additions yourself (with few exceptions -- openLDAP being one) that anything not a part of the Slackware distribution be installed in /usr/local (the default when using configure). And, oh, yeah, installed with checkinstall as mentioned.
 
Old 03-28-2006, 05:26 AM   #11
wchild
Member
 
Registered: Mar 2006
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
Quote:
Originally Posted by Jackson1995
1. Do a full install when installing Slackware. You only need disks 1 and 2 to do a full install (and really Disk 1 contains 99% of the base system. Disk 2 contains KDE and other desktop environments). Disks 3 and 4 contain /extra, /testing, /pasture, source code, and docs. You can get those from the net later on if necessary.
Unfortunately it can't be always done due to the lack of space.
 
Old 03-28-2006, 09:09 AM   #12
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
The problem with upgrading aaa*, is that the upgrade notes assume you are going from one release to the next (e.g. 10.1 to 10.2).

In this case, aaa* is not a problem, since you will upgrade it, and then overwrite all the files it installs with the proper libraries.

However, if you are tracking -current, installing aaa* will overwrite all those nice libraries you have and won't get overwritten since you are not upgrading/ reinstalling every package. Hence the warning is in the -current ChangeLog, but not in UPGRADE.TXT
 
Old 03-28-2006, 04:22 PM   #13
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Good work Jackson1995! I'd add:

11. Don't give up. Slackware is very simple, it just takes some time to understand its simplicity.
 
Old 03-28-2006, 04:40 PM   #14
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Original Poster
Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by danieldk
Good work Jackson1995! I'd add:

11. Don't give up. Slackware is very simple, it just takes some time to understand its simplicity.
Thanks, Daniel. Good point. Your Slack Basics book is really, really fantastic, BTW.

-Chess
 
Old 03-28-2006, 05:03 PM   #15
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Thanks .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wnat to know about REmod in a set top box abirami Programming 7 02-26-2006 09:41 PM
LXer: Motorola to buy Linux set-top box specialist LXer Syndicated Linux News 0 01-17-2006 10:01 PM
Internet radio on set top box MS3FGX Linux - Software 0 12-30-2004 01:49 AM
NTL Set Top Box & Slackware JaymzCobain Linux - Networking 2 01-22-2004 03:12 PM
Embedded Linux Based Set-top-box JoeyJoeJo Linux - Hardware 7 08-21-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration