LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-17-2007, 10:25 PM   #1
Philipthegr8
LQ Newbie
 
Registered: Jun 2007
Distribution: slackware
Posts: 13

Rep: Reputation: 0
Question #%$ -- not a curse, but what does it all mean!?


Okay, so my goal for this summer is to learn linux, and I picked slackware because I read one of those subgenius books. It's a lousy reason, but I've never been known to do things the easy way.

Anyway, it took me a few days but I managed to battle my way through the installation basics using the slackware book that I found on the getslack website. I have a whole computer in the other room dedicated to the endeavor, and I managed to get everything up and running.

Maybe.

I guess.

Anyway, I managed to login as root and create two other users. The catch is that my users can't actually do anything. Root always has # at the commandline, and from it I can startx, but not from any of the other users. The command prompts for my other users all start with $. Most of the commands that I can find in the slackware book require yet a third symbol, %, and I haven't even managed to see that one. I've managed to get access to the # sign with su, but this doesn't do a whole lot of good.

I want to play with X, but I can only do so as root, and the program is quite keen on reminding me not to screw around too much as root, lest I render the entire system inoperable. But I HAVE seen Xwindows in action, and I want to know how to put my system to use. Anyone have any really dumbed down links for a guy like me?
 
Old 06-17-2007, 11:13 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Linux learning advice tip #1:
Don't use Slackware.

Not that there's anything wrong with Slackware, only that its rather advanced. Trying to learn on Slackware is jumping in the deep end.
 
Old 06-17-2007, 11:26 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
PatrickNew - wth? That's not very useful.

The % symbol is the default csh prompt, which must be being used as an example but isn't actually relevant. # is the default root prompt. $ is the default user prompt when using a Bourne-family shell (sh, bash, ksh, whatever). A lot of issues between # and $ boil down to permissions. Search the web and/or read the Slack book for more info. As far as X, post specific errors. You should be able to run that as unprivileged user if you can as root.

And welcome to Slackware - you will become an excellent swimmer.
 
Old 06-17-2007, 11:30 PM   #4
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by PatrickNew
Trying to learn on Slackware is jumping in the deep end.
Could be worse...he could be trying to learn Linux with Gentoo or (H)LFS...

And I'm going to disagree a bit. Using something like *buntu or Fedora or <pick your fav. user-friendly distro> is going to slow the learning process. It'll be easier, mind you, but not necessarily the best for learning (will take much longer to learn Linux in-depth)...just my thoughts. I run Gentoo/Slackware, and FreeBSD/OpenBSD...so take what I say with a grain of salt...

OP got Slack installed with no previous Linux knowledge. That's a good sign...OP has the determination to get the job done. Kudos to Philipthegr8.

DISCLAIMER: No, I'm not a Linux-guru-elitist...but I believe that human beings possess the intellect to figure this stuff out and dumbing everything down to the point of "point and click" serves only to weaken the individual's understanding of the system they're running. That said, starting off with a user-friendly distro for familiarity's sake is not bad, as long as you MOVE ON once you get comfortable!

Quote:
Originally Posted by digiot
And welcome to Slackware - you will become an excellent swimmer.
I couldn't agree more...

Last edited by rocket357; 06-17-2007 at 11:33 PM.
 
Old 06-17-2007, 11:35 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you want to learn more about the CLI (command-line interface) and bash try:

for those new to linux:
http://www.tuxfiles.org/linuxhelp/cli.html

Advanced Bash-Scripting Guide:
http://tldp.org/LDP/abs/html/

not that's it's really for advanced users, but ...
"This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction"
 
Old 06-17-2007, 11:39 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just remembered these for more links.
 
Old 06-17-2007, 11:56 PM   #7
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Wow, upon rereading my post, I was a bit of an unhelpful jerk, and I do apologize. I'll stand by my suggestion though, for one reason - package management. I feel like a new user would be best served with more advanced package management. No one package manager is the "linux package manager" and what you learn on Slackware may be totally irrelevant to another distro, should you ultimately choose another. I just think that's a hurdle you could remove from your own path. If you learn apt or yum first, then don't ever use that knowledge again, its not as big a loss, as you didn't have to learn as much in the first place.

And sincerest apologies on the original message.
 
Old 06-17-2007, 11:56 PM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by PatrickNew
Linux learning advice tip #1:
Don't use Slackware.

Not that there's anything wrong with Slackware, only that its rather advanced. Trying to learn on Slackware is jumping in the deep end.
I strongly disagree with you there. Apparently, I'm not the only one either.

Slackware's configuration files are all commented superbly. Generally speaking, the comments in the config files are enough to help you understand how they work (or at least get things configured properly).

For someone willing to edit config files by hand, there is no better distro choice.
 
Old 06-18-2007, 12:09 AM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by PatrickNew
I feel like a new user would be best served with more advanced package management.
I'll disagree with you there as well.

I've been using Linux for over 7 years, and don't remember much of the early days, but I can tell you that I've never experienced pain like I did when I tried to use RPM for the first time under RH 6.0. Dependancy hell sucks, and still exists in tools like apt or yum. Personally, I can think of no greater turn off for a newbie.

Slackware's tgz system (while not as complex as other packaging tools) is a brilliantly simple system which newbies can easily learn.

And there's the rub. Simplicity is the name of the game. How does one create a package from source under Ubuntu?
 
Old 06-18-2007, 12:22 AM   #10
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by rkelsen
Dependancy hell sucks, and still exists in tools like apt or yum. Personally, I can think of no greater turn off for a newbie.

Slackware's tgz system (while not as complex as other packaging tools) is a brilliantly simple system which newbies can easily learn.

And there's the rub. Simplicity is the name of the game. How does one create a package from source under Ubuntu?
1) Slackware takes care of dependency hell by shutting up and doing what it's told - including installing completely broken packages. What's worse - getting an error message saying that you can't install an application without libFoo, or just installing the application, which will immediately die upon running with no particularly useful error message. Slackware package management is powerful, in that it allows you to bend the rules. This is a good thing *when you already know what you're doing*.

2) I create packages from source under Ubuntu with checkinstall, exactly as I would do it in Slackware.
 
Old 06-18-2007, 12:58 AM   #11
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
I want to play with X, but I can only do so as root, and the program is quite keen on reminding me not to screw around too much as root, lest I render the entire system inoperable. But I HAVE seen Xwindows in action, and I want to know how to put my system to use. Anyone have any really dumbed down links for a guy like me?
hopefully this witty banter hasn't scared the OP out of his thread. can you post (or describe) the error a little more completely?

sometimes when you create a user there is no /home/<user>/.xinitrc file, and if you create one the problem can be solved:

Code:
echo "startxfce4" > ~/.xinitrc
you can replace the "startxfce4" with the windowmanager of your choice.
hth
 
Old 06-18-2007, 01:09 AM   #12
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by PatrickNew
What's worse - getting an error message saying that you can't install an application without libFoo, or just installing the application, which will immediately die upon running with no particularly useful error message.
In almost 7 years' use of Slackware, I've never seen that happen. Upon execution, a binary will generally tell you the name of a library it can't find.

This is a non-issue if you compile software from source, because the "./configure" process takes note of the libraries present.

If you want to use binary packages under Slackware, there are repositories like linuxpackages.net which also provide the dependancies for their packages.

Either way, I think automatic dependancy resolution is more trouble than it's worth.
Quote:
Originally Posted by PatrickNew
Slackware package management is powerful, in that it allows you to bend the rules.
What rules?

The only rules on my machine are these two:
1. Rob is the boss.
2. If Rob is wrong, refer to rule 1.
Quote:
Originally Posted by PatrickNew
2) I create packages from source under Ubuntu with checkinstall, exactly as I would do it in Slackware.
How would you do it without checkinstall?

Last edited by rkelsen; 06-18-2007 at 01:13 AM.
 
Old 06-18-2007, 01:24 AM   #13
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by rkelsen
In almost 7 years' use of Slackware, I've never seen that happen.
Really? Because in a bit under 3 months of Slackware, I've seen it happen countless times. Slackware package management requires me to track dependencies, and if I don't do so, things break.
Quote:
Originally Posted by rkelsen
Upon execution, a binary will generally tell you the name of a library it can't find.
True, but that name may or may not be the name of the package which provides that library.

Quote:
Originally Posted by rkelsen
This is a non-issue if you compile software from source, because the "./configure" process takes note of the libraries present.
Also true. However, if the OP was that interested in installing considerable quantities of software from source when binary packages are available anyways, I would refer him to either (H/C)LFS or Gentoo.

Quote:
Originally Posted by rkelsen
If you want to use binary packages under Slackware, there are repositories like linuxpackages.net which also provide the dependancies for their packages.
But, they will still allow a user to install an application with unmet dependencies.

Quote:
Originally Posted by rkelsen
Either way, I think automatic dependancy resolution is more trouble than it's worth.
A very respectable opinion. I merely wanted to suggest that it may be of benefit to the OP, as that time may be better spent learning the Linux CLI, or mucking about in X configuration.

Quote:
Originally Posted by rkelsen
What rules?
The only rules on my machine are these two:
1. Rob is the boss.
2. If Rob is wrong, refer to rule 1.
The rules being things like "I require this library to run."


Quote:
How would you do it without checkinstall?
Why would I want to do it without checkinstall?

To the OP: If you do choose Slackware, try to take advantage of one of the optional add-on package managers, such as slapt-get. They will ease the transition a bit.
 
Old 06-18-2007, 08:28 AM   #14
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by rkelsen
The only rules on my machine are these two:
1. Rob is the boss.
2. If Rob is wrong, refer to rule 1.
haha...indeed.

As for dependency hell, been there, done that. RH cured me of manual dependency tracking. I refuse to do it.

And that's the problem with binary package managers. You get what the dev decided was best to include for that package. Everything on the system includes Samba support? Darn...guess you're SOL if you don't want to run Samba. (Picking on a random package that gets called in quite often in userland...nothing against the Samba project).

That's where compiling from source holds sway with me over "quick and easy" install methods like apt-get or yum. I can define what packages I want to include support for and I don't have to worry about some dev running

./configure --enable-*

on me. I choose what goes in and what doesn't. I don't want to run Samba? Fine. Modify /etc/make.conf (Gentoo) or run configure as needed (Slackware) and install from source. Easy as pie. Gentoo takes it a step further, however, by allowing me to reinstall my entire system (say, Samba has a nasty security vulnerability discovered), with one command without the hassle of hunting down packages. Yeah, I can break stuff in Gentoo (emerge -C samba, for instance, if I've compiled my system to require samba), but it's an active effort (99% of the time) to break stuff. Gentoo does, however, require an insane amount of patience...though it's been my experience that the wait is more than worth it...so I type a command, walk away for a bit to go get a beer or whatever, and my system happily performs dependency checking and removes support for stuff I don't want...

How is that harder than dependency hell involved with binary package managers?
 
Old 06-18-2007, 04:53 PM   #15
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by PatrickNew
Linux learning advice tip #1:
Don't use Slackware.
That was not fair.

@ Philipthegr8: Linux learning advice tip #1:
Use any distro you like.
Quote:
Originally Posted by PatrickNew
Not that there's anything wrong with Slackware, only that its rather advanced.
This is a myth. My first step in Linux was learning Slackware, 5 years ago. I had no ideea about partitioning, installer, config files, init scripts, so on. I learned Linux with Slackware. Then with RedHat, then with Debian and with a lot of others distros. Most of all are great.
Quote:
Originally Posted by PatrickNew
Trying to learn on Slackware is jumping in the deep end.
There is no end in Linux learning.
 
  


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
How to install and play curse monkey island ? Xeratul Linux - General 3 07-17-2006 01:48 PM
Curse of Monkey Island in Wine (DirectSound error -2005401480) spikeygg Linux - Games 3 02-02-2005 05:25 AM
The Curse of NCurses that are all present ServerStorm SUSE / openSUSE 2 01-05-2005 09:07 PM
Curse you, 802.1x 4of11 Linux - Wireless Networking 2 09-21-2004 11:08 AM
Curse my bad memory digital bots Slackware 6 07-23-2002 08:19 PM

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

All times are GMT -5. The time now is 11:27 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