Thread: A Few questions about linux

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    83

    A Few questions about linux

    I have a couple questions. I'd really appreciate it if you could answer as many as you can.

    1) TAR files, Tar.bz files... What are they? Come kind of compression? How can I use them via command lind? Why should I use them?
    2) What is a book or tutorial or reference I can find for manually editting configuration files. Many distrobutions do not have a "Control Panel", so I would like to know how to mess around with that kind of stuff without a utility. And also, which files should I learn how to mess around with (I know that they're found in the etc folder... why is it called etc?)
    3) How do I install drivers (modules) into the kernel, after I have installed my system?
    4) How do I recompile the kernel and replace my old one
    5) What is a makefile, and how do I use/create them?
    6) Where are things installed to when I use a RPM or something? They're is bin, usr/bin, and a couple other bins. If I extract a zipped application, where should I install it to (ie mozilla firebird).
    7) What is a book that will teach me things like what I've mentioned? I've seen two kinds of books really. 1) Teaches you how to use office applications, ect. Like.. Push file..new..wordfile to start a new wordfile 2) Network administration and very advanced linux topics.
    How can I find a route between those two? I'm not intrested in network administration or hosting a web server or anything, I just want to learn how linux works and how I can get it to work for me

    Thanks for reading!! I'd really appreciate any answers!

    Also: What is a very active Linux specific forum? Most of the linux forums I've seen are dead/

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    1) similar to zip/rar/ace files for windows... just gives you ability to compress files.
    2) STFW, and a lot of distros actually do have a control panel or something similar.

    I don't really know solid answers to the other questions, and some are more than should be explained in a reply like this. You could try asking some of these questions on the Linux board or on a more Linux-minded board (ie. www.unix.com)

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    26
    1) Compressed file, like .zip, .rar, etc in Windows. Tar shoves everything into one huge file, bzip2 and gzip compresses them. In bash I usually just type
    Code:
    $ bzip2 -d file.tar.bz2 && tar -xf file.tar
    to take care of that. If it's a gzip file then just replace bzip2 with gzip above, both use -d to decompress.

    I know KDE has a decompression utility if you want to do that from a nice safe GUI.

    for more info check the man pages for tar, bzip2, and gzip.

    2) Wish I had an answer for you, but I've learned all that stuff from experience and asking around. I.E. "How do I get Linux to see a new drive when I install it?" "Modify /etc/fstab"

    3) Most distros have a utility that will take care of all that for you. SuSE has YAST2, etc. Tell us your distro and somebody who is used it will prolly help you out.

    4) Forgive me for this, but I refuse to straight out answer that question. If you're asking basic questions like "what is a .tar.gz file?" then you are _not_ ready to muck with your kernel IMO. Not only could you totally muck up your OS, I've heard warnings about people physically breaking up their system with a f'ed up config/compile. If you absolutely must then upgrade your distro. (I've heard RedHat is putting the 2.6.0 kernel in their next release, FYI)

    5) Don't feel I'm experienced enough to reliably answer this, skipping.

    (6) Linux System Heirarchy from the Linux Documentation project. Probabally not the easy answer you wanted, but it is the answer. In GNU/Linux everything has its own place. That document explains it all. Also explains your "why etc?" question.

    (7) Considering what you've been asking, I'd suggest Sams Teach Yourself Shell Programming in 24 Hours. I've found the beginning 1/3 of the book to be a very powerful tutorial on how to get around in shell.

    Failing that, The Linux Documentation Project is your best friend. I would have probabally gone on a psychopathic rampage by now if it wern't for that site.

    Congratulations on switching to the Tux side, btw! Your hand is no longer being held by the OS, you are now standing on your own two feet. Independance is scary at first but you'll soon find out how cool it really is as you begin to unlearn all those years wasted on Windows and open your mind to new ways to doing things.

  4. #4
    Registered User
    Join Date
    Oct 2003
    Posts
    83
    Hey! Thanks for all the answers It helped me out a lot! You're my hero

    Originally posted by JLPence

    Tell us your distro and somebody who is used it will prolly help you out.
    Debian... I have three hardware devices that don't work.
    *2 button wheel mouse (it all works except for the wheel)
    *SB Live! Sound card (I don't know how to install ALSA or emu10k1 or w/e it is)
    *ATI Radeon 9600 Pro 3D Graphics Acceleration

    Think you can help me out with any of those three?

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    sb is emu10k1 (after that you can choose emu10k1 or audigy, choose the first)
    Search debian boards for how to install it, if debian handles RPM's then you can go to google or freshmeat.org and search for it, it's a common driver and easy to use. For the graphics card, check ATI's site, they just started putting out drivers for linux.
    PHP and XML
    Let's talk about SAX

  6. #6
    Registered User
    Join Date
    Oct 2003
    Posts
    83
    How do i install the drivers

  7. #7
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    Originally posted by punkrockguy318
    How do i install the drivers
    go back to windows
    PHP and XML
    Let's talk about SAX

  8. #8
    Registered User
    Join Date
    Oct 2003
    Posts
    83
    The FGLRX Driver does not work for 3d, and I can't get emu to work on debian

  9. #9
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    alright im goin to try and put this in a nice way

    with the questions you asked above, you should not be using debian...try a more n00b friendly distro like red hat or mandrake (i recommend mandrake). I've had no problems getting emu driver to work i mandrake.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  2. Some common Linux Questions???
    By code2d in forum Tech Board
    Replies: 4
    Last Post: 12-28-2006, 02:17 AM
  3. Linux Version reccomendation
    By Pobega in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 10-05-2006, 06:48 PM
  4. Why Linux, for the average user?
    By Hunter2 in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 07-07-2006, 02:36 PM
  5. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM