LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-29-2009, 12:46 AM   #1
Tribulation
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 129

Rep: Reputation: 27
Installing Slackware fairly soon


A lot of people seem to like Slackware, so I thought I'd give it a shot. I don't know a whole hell of a lot a bout it. I've heard people say it's easy, I've heard people say it's hard, I've been told that you constantly have to edit text files... I want to try it, be it hard or not. I would like to learn more about Linux, how things work and all that, and I've heard that Slackware is a great distro to use to learn Linux. I'm going to install it next week so I thought I'd ask if anyone had any need to know information or just general tips that would reduce the chances of me losing my mind. I've only ever really used Ubuntu, so when it comes to Linux know-how, I have very little.
 
Old 04-29-2009, 01:09 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
The first thing you should do is read the Slack Book:
http://slackbook.org/html/index.html
Read all of it before you install.
Woodsman's site has a lot of good stuff also:
http://humanreadable.nfshost.com/sdeg/index.htm
Every good Slacker also always reads the Changes And Hints.txt found on any slackware mirror:
http://slackware.oregonstate.edu/sla..._AND_HINTS.TXT
(Note: The stuff about upgrading from a previous version will not apply to you).

You will have to be fairly competent with basic linux terminal commands to use slackware. The Slack Book comes in handy there.

You will have to edit some configuration files, but not constantly. Once you get slackware setup the way you want it, you are good to go. Slackware is rock solid stable. You just get the updates from the patches directory at any slackware mirror. Follow the changelogs for updates:
http://slackware.com/changelog/stable.php?cpu=i386
You can also use slackpkg for updating slackware.

After you get Slack installed, I would recommend using xorgsetup to configure X instead of xorgconfig.
http://slackbook.org/html/x-window-system.html

For extra packages that are not part of slackware, check out http://slackbuilds.org/

And yes, Slackware is the best distro if you really want to learn linux. I have learned way more with slackware than I ever could have learned with Ubuntu.

Last edited by tommcd; 04-29-2009 at 01:35 AM.
 
Old 04-29-2009, 08:00 AM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Agreed!
As tommcd said it is absolutely critical that you do your homework before you attempt to install Slackware. Read the slackbook and the related links provided by tommcd.
Slackware uses a ncurses text-based installer to install, set-up Slackware. There are no point and click GUIs used when administering Slackware. That being said I can say that Slackware is very logical and is in my opinion the best version of Linux.
 
Old 04-29-2009, 08:05 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Welcome to SlackwareŽ!

I would suggest that you read all the documentation that PV has provided but the few following will aid you; Announce 12.1, Slackware-Howto, CHANGES_AND_HINTS.TXT, UPGRADE.TXT. Plus the other text files relevant to your needs.

'SlackwareŽ Basics' is another good reference listed in the 'Slackware Reference' section.

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 04-29-2009, 08:20 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Your motivation for trying Slackware is not totally clear....I have valued the learning provided by setting up a Slackware system, but the absence of robust, user-friendly, package management always leaves me cold. For example, try Arch: You still learn a lot, you get a system "your way", AND there's a good package manager at the core.

Quote:
reduce the chances of me losing my mind.
I am not sure we can help there.....One possibility: Like your wallet or car keys, if you always leave it in the same place, there's less chance of losing it.....
 
Old 04-29-2009, 08:26 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by pixellany View Post
Your motivation for trying Slackware is not totally clear....I have valued the learning provided by setting up a Slackware system, but the absence of robust, user-friendly, package management always leaves me cold.
With all due respect, pixellany, the lack of a package-management system for me is a strength, not a weakness in Slackware. From my experience even solid package-management systems break and then you're left to manually clean up the mess. Once you become familiar with Slackware it will grow on you.
Each to his own of course.
 
Old 04-29-2009, 08:33 AM   #7
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
I have valued the learning provided by setting up a Slackware system, but the absence of robust, user-friendly, package management always leaves me cold.
On the contrary Slackware is the OS which's package manager doesnt leave me in the cold. All other package management systems, and especially dpkg, confuse me cause they try to think, judge and operate on my behalf.
 
Old 04-29-2009, 10:08 AM   #8
JoeBleaux
LQ Newbie
 
Registered: Mar 2009
Distribution: Slamd64
Posts: 26

Rep: Reputation: 15
Tribulation, don't let the previous posts scare you... You don't need to read 50 books in order to get Slackware up and running, it's really VERY simple. (No offense to the previous posters).

What you should know is-

Slackware's installer DOES NOT partition your harddrives automatically for you (unlike the other distros). After that, it just like installing Debian or Ubuntu server etc.

To install-

1) boot from a Slackware CD
2) hit ENTER when you get the "BOOT:" prompt (unless you have some weird setup like hardware RAID)
3) Login as 'root', no password
4) run fdisk to partition your harddisc, the only hard part is figuring out how many cylinders to make the swap partition- (from memory so, if I'm slightly wrong, sorry)
a) fdisk /dev/hda (or /dev/sda if you are running SATA)
b) Setup your linux partition-
1. p (to show existing partitions)
2. n (to create a new partition)
3. p (for primary partition)
4. 1 (for 1st primary partition)
5. ENTER (for the default 1 start cylinder)
now you need some math, divide your HD cylinders by your HD size (e.g. 13,245cyl/320Gb = ~41cyl/Gb). Make the swap about 2X your RAM size... If you have 4Gb of RAM, make the swap 8gb x cyl/Gb (e.g. 8x41=328 cylinders).
6. type in the disc cylindersize MINUS the swap cylinder size and hit ENTER. (e.g. '12917' from the above example).
c) Setup your swap partition
1. p (to show existing partitions)
2. n (to create a new partition)
3. p (for primary partition)
4. 2 (for 2nd primary partition)
5. ENTER (for the default next available start cylinder)
6. ENTER (for the default end of disc end cylinder)
7. t (to toggle a partition type)
8. 2 (for the 2nd partition)
9. 83 (for Linux swap)
10. ENTER
d) w (to write the partition table to the disc)
You should have your HD partitioned...
5) setup (to run the Slackware installation)

After that, just asnwer the questions.
For your first Slackware install, when it asks you if you want a Full Install, or a Menu Install, or, etc., just select FULL.

After the install is done, you won't have a working x-windows. to set that up, just run xorgconf and answer the questions. There is a graphical setup for X but I have never used it.

Last edited by JoeBleaux; 04-29-2009 at 10:09 AM.
 
Old 04-29-2009, 11:30 AM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by JoeBleaux View Post
Tribulation, don't let the previous posts scare you... You don't need to read 50 books in order to get Slackware up and running, it's really VERY simple. (No offense to the previous posters).

What you should know is-

Slackware's installer DOES NOT partition your harddrives automatically for you (unlike the other distros). After that, it just like installing Debian or Ubuntu server etc.

To install-

1) boot from a Slackware CD
2) hit ENTER when you get the "BOOT:" prompt (unless you have some weird setup like hardware RAID)
3) Login as 'root', no password
4) run fdisk to partition your harddisc, the only hard part is figuring out how many cylinders to make the swap partition- (from memory so, if I'm slightly wrong, sorry)
a) fdisk /dev/hda (or /dev/sda if you are running SATA)
b) Setup your linux partition-
1. p (to show existing partitions)
2. n (to create a new partition)
3. p (for primary partition)
4. 1 (for 1st primary partition)
5. ENTER (for the default 1 start cylinder)
now you need some math, divide your HD cylinders by your HD size (e.g. 13,245cyl/320Gb = ~41cyl/Gb). Make the swap about 2X your RAM size... If you have 4Gb of RAM, make the swap 8gb x cyl/Gb (e.g. 8x41=328 cylinders).
6. type in the disc cylindersize MINUS the swap cylinder size and hit ENTER. (e.g. '12917' from the above example).
c) Setup your swap partition
1. p (to show existing partitions)
2. n (to create a new partition)
3. p (for primary partition)
4. 2 (for 2nd primary partition)
5. ENTER (for the default next available start cylinder)
6. ENTER (for the default end of disc end cylinder)
7. t (to toggle a partition type)
8. 2 (for the 2nd partition)
9. 83 (for Linux swap)
10. ENTER
d) w (to write the partition table to the disc)
You should have your HD partitioned...
5) setup (to run the Slackware installation)

After that, just asnwer the questions.
For your first Slackware install, when it asks you if you want a Full Install, or a Menu Install, or, etc., just select FULL.

After the install is done, you won't have a working x-windows. to set that up, just run xorgconf and answer the questions. There is a graphical setup for X but I have never used it.
Excellent post! If you have trouble setting up x windows with xorgconfig then I suggest that you use xorgsetup. xorgsetup will automatically set-up x windows for you then you can start-up your desktop environment at the command line with startx.

http://www.slackbook.org/html/x-window-system.html
 
Old 04-29-2009, 12:37 PM   #10
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
This months edition of Linux Format LXF119 June 2009 has Slackware 12.2 (disks 1 & 2) and a four page article with how to install (pages 52-55).

samac
 
Old 04-29-2009, 02:31 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by sahko View Post
On the contrary Slackware is the OS which's package manager doesnt leave me in the cold. All other package management systems, and especially dpkg, confuse me cause they try to think, judge and operate on my behalf.
I'm not sure it belongs in this thread, but this is a pretty fundamental point of philosophy.

If I use a typical package manager--eg Synaptic (many distros) or Pacman (Arch)---I am told very clearly what dependencies are needed. I then have a very clear choice to install or not install. In all the debates about Slackware vs everyone else, I have totally missed how this can be a bad thing.

This said, I DO appreciate and respect the folks that want to do everything by hand.
 
Old 04-29-2009, 03:03 PM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
For a learner-Slacker, cfdisk is an easier option for creating partitions.
As for dependencies, a SlackBuild readme will tell what is needed.
 
Old 04-29-2009, 03:15 PM   #13
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
If I use a typical package manager--eg Synaptic (many distros) or Pacman (Arch)---I am told very clearly what dependencies are needed. I then have a very clear choice to install or not install. In all the debates about Slackware vs everyone else, I have totally missed how this can be a bad thing.
I gave up on dpkg the day i tried to install wmii and installed dwm and dwm-tools along with it, which as far as i understand contains all pieces of software developed by suckless.org (incl. dmenu).
I am not willing to read a book on how to work with dpkg. I'd rather read one written by Tom Robbins.
If the above is expected behaviour and if such packaging schemes make sense to people, then i admit i am "special".

Oh! There was one other time i wanted to use cdrtools. Sadly cdrkit is a really broken piece of software that just doesnt work.
I dint want to read an encyclopedia on how to make a .deb either.

Quote:
Originally Posted by pixellany View Post
This said, I DO appreciate and respect the folks that want to do everything by hand.
The point is not doing everything by hand. Its about having control. Most distros take that away from you. Yet if you ask a "Linux preacher" about the differences with other OSes he/she will say that in Linux you have control, and a choice. And for the most part that is a lie. And its getting worst as Linux "matures". Especially in newbie friendly distributions you have neither.

PS. Pacman (the Arch Linux PMS) is better than dpkg, it gives more control to the user, its easier and much more strightforward than dpkg, but its not yet fullfeatured, and as it is still maturing i'm convinced that it will get almost as worthless as dpkg. Although i doubt it will reach that point of worthlessability.
 
Old 04-29-2009, 04:02 PM   #14
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by JoeBleaux View Post
Make the swap about 2X your RAM size... If you have 4Gb of RAM, make the swap 8gb x cyl/Gb (e.g. 8x41=328 cylinders).
That was true in the old days. With 4 Gb of RAM you don't need that. You don't need more than 1 Gb for swap. The rest is just waisted.

About package management:
All is well (usually..) a long as you stay on the paved paths. Once you decide you want a newer version of software XYZ you might be in trouble.
Or when you try to compile your own stuff, Slackware is the best.
Still think it's one of the strong points of Slackware.
 
Old 04-29-2009, 05:14 PM   #15
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Rep: Reputation: 31
I'm new to Slackware, and linux, eh, my first distro was RedHat, then Libranet around the turn of the millineum and then I went 5 years without using linux at all. I've been back at it for about a year and a half (didn't check the math on this ) It's no longer a quirky and crashed proned X environment like it used to be. Here's my take after using Mandriva, Fedora, Zenwalk, OpenSuse, and of course all the 'buntus, etc etc.

What you want, IMO, above all else is stability and a kernel that is new enough to support your hardware. Slackware did this for me (my DELL in sig). When you have stability, and most of the programs you want installed, maintaining Slackware is a pleasure. Slackware has a very clean 'feel' to it, and it's fast with no dependency hell...and when it's clean and fast, you can really turn up the eye candy and make it look really nice. Once I got it in my blood, all the other distro's seem second rate to me. And you're right, it is a good way to learn linux...but it's not THAT difficult to be a 'user'...for example, a Zenwalk or Debian install takes me longer. Sure, you'll need to pick out some dependencies to install additional programs, but you will be told what those are in the packages readme file (you can see what you already have by opening a /var/log/packages window). There's nothing cryptic to installing a program....I use sbopkg a lot for example....you can browse, search, etc...it's ncurses but reads just as well as anything else. Using the command line is a power tool. You do many userspace operations from you DE's control panel or whatever as usual with any other distro. You're not going to be editing text files at every turn either, but when you do, the results are usually something that enhances your Slack experience.

There are many brainiacs around here that are very friendly and willing to help newcomers, (my experience)....you'll need to get oriented and find out where the toilets and light switches are, but that won't take that long Have fun, you'll like it.

Last edited by joutlancpa; 05-02-2009 at 03:52 PM.
 
  


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
Fairly new, have some questions danlee Linux - Kernel 3 02-19-2008 10:50 AM
Fairly new to Linux, thank you for the support. purelabor LinuxQuestions.org Member Intro 1 07-30-2007 02:10 PM
Three Fairly Easy Slax Questions RAdams Slackware 8 09-28-2006 10:19 AM
Fairly new to slackware...tons of questions. JustinCoyan Slackware 3 08-16-2004 09:49 AM
fairly recent, no X distro? stabu Linux - Distributions 8 05-12-2004 06:48 AM

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

All times are GMT -5. The time now is 07:04 PM.

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