LinuxQuestions.org
Review your favorite Linux distribution.
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 02-12-2005, 10:09 AM   #1
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Rep: Reputation: 15
Installing


Whenever I read books on Linux, even beginner books, they tell me "just go to the terminal" or just "type it in the Shell" Well that's great guys, but

a) Where is the shell?

b) What do you need to type in it to get my programs installed?

Sorry if I sound like I'm losing my temper, but everyone sounds so comfortable doing this! If someone could help that would rock.

P.S. Is the "terminal" anything like MS-Dos Prompt on Windows?

Last edited by mhelliwell; 02-12-2005 at 10:14 AM.
 
Old 02-12-2005, 10:21 AM   #2
zord
Member
 
Registered: Feb 2005
Distribution: slack 10
Posts: 50

Rep: Reputation: 15
a) the terminal is your command prompt... it should look similiar to this: yourname@yourmachinename: ~$
It's like the ms dos command prompt, but way more powerfull.
if you don't use a graphical login, this is what you should see, after you login.
otherwise you need to start a terminal emulator like xterm, eterm, aterm, gnome-terminal ...
how you start one of that depends on your window manager, but there should be something like "command-line" oder "terminal" in your menus.

b) depends on the program you want to install, if it's a tgz package use "installpkg packagename", some programs provide *.bin files which you have to execute or you can compile the program it by yourself (usually ./configure , ./make , ./make_install ).

hope this helps a bit, otherwise try asking more specific questions about installing software (which program, filetype, how did you try it, error messages, ...).
 
Old 02-12-2005, 10:22 AM   #3
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
very much so, but i don't think the linux console likes being equated to dos...

go to your main menu, and you should have something similar to start->run -- then you can try typing in 'konsole' (which is a popular console program for KDE. or 'xterm' might get you one... but otherwise you'll have to look through your main menu to find a link... it'd probably be under 'system' menu, or similar
 
Old 02-12-2005, 10:24 AM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
given that you don't know about the terminal, i'd assume you don't run slackware (which defaults to a non-graphical login) and therefore installpkg won't work for you...

you'd be looking for something more along the lines of rpm -ivh somepackage.rpm

but i bet you'd prefer the graphical "Package Manager" or yast in suse should have that functionality

edit:
AND: ./make ./make_install won't do it -- it'd be ./configure && make && make install

Last edited by secesh; 02-12-2005 at 10:25 AM.
 
Old 02-12-2005, 10:24 AM   #5
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Oh yes, please undesrtand I was simply trying to make sense of this since I am new to Linux and needed a comparison. I am in no way implying Microsoft above Tux.
 
Old 02-12-2005, 10:29 AM   #6
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
given that you don't know about the terminal, i'd assume you don't run slackware (which defaults to a non-graphical login) and therefore installpkg won't work for you...
But Actually I will run Slackware, actually a distro called Minislack. I have it on CD, I just don't have it up and running yet. On this day, I am getting a tower; but I need a monitor still. I thought maybe I could have tried to learn this terminal/shell stuff before Linux is installed, but I probably need to install it first to get it entirely, right? See how much I know?

Last edited by mhelliwell; 02-12-2005 at 10:32 AM.
 
Old 02-12-2005, 10:35 AM   #7
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
hmm... well, you might want to file this away:

log in as root
pico /etc/inittab
--scroll down just a little
--change the default runlevel from 3 to 4

--that gets you a graphical login as default... otherwise you need to login and use 'startx' (the horror!)

but kudos to you for choosing slack, and taking initiave... so many people choose linux because it isn't windows, but they so badly want it to be, and have no desire to learn anything about linux... they just want to point and click, and whine that things don't work the same way...
 
Old 02-12-2005, 10:36 AM   #8
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Ok so, If I have Started Konsole (yes, I know this program from using Knoppix)What is the command I use to Install a .tar.gz file?
 
Old 02-12-2005, 10:41 AM   #9
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
a few commands...
1) tar -zxvf somefile.tar.gz
-- extracts *hopefully* to its own directory
2) cd the_new_directory
3) ./configure
4) make
5) make install

-- make install must be run as root... so prior to running make install, you must issue the command 'su' --short for 'switch user'... given with no paramaters, it defaults to 'su root' and prompts you for the root user password. assuming you login fine, you can then issue 'make install'

edit:
more common archive types:
tar -xvf somefile.tar
tar -jxvf somefile.tar.bz2

Last edited by secesh; 02-12-2005 at 10:45 AM.
 
Old 02-12-2005, 10:43 AM   #10
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
it is good to get into the habit of reading A LOT... people write things for a purpose, not just because they can... source trees usually include the files README or INSTALL, and you should read those... often there is a docs folder or similar.

to read those files from the console, use the command
less README
 
Old 02-12-2005, 10:48 AM   #11
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks for all your help, guys. Soon as I get a monitor, I'm installing my distro and winging it... I know a bit more now as I made notes about the commands. (Yes, I have a notebook to log everything new I learn while operating Linux)
 
Old 02-12-2005, 10:59 AM   #12
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Quote:
tar -xvf somefile.tar
tar -jxvf somefile.tar.bz2
If you're running a newer version of tar (such as that with Slackware 10.1), it can automatically detect the compression type of the archive. The z and j options are no longer necessary.

e.g.

tar -xf (or xvf if you want a list of all the files being uncompressed).
 
Old 02-12-2005, 10:59 AM   #13
mhelliwell
Member
 
Registered: Feb 2005
Location: Canada, eh!
Distribution: Puppy Linux 1.x.x
Posts: 75

Original Poster
Rep: Reputation: 15
Oh and one more thing...what about .rpm's? Do they install themselves, or is there a command needed for those as well?
 
Old 02-12-2005, 11:01 AM   #14
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
ignore those for now, in favor of installpkg somefile.tgz
 
Old 02-12-2005, 11:01 AM   #15
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
thanx cathectic... hadn't noticed
 
  


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
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
installing from iso9660 - restarts installation without installing anything scuzzman Slackware 1 10-24-2004 07:46 PM
installing windows without re-installing FC ur-unholyness Linux - Software 1 10-17-2004 06:48 PM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 03:37 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 09:57 AM

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

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