Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have installed Linux 7.3 with only Gnome Desktop (other options I didn't add) but now when I type cc or Gcc in the command prompt .. it displays "missing command"
I even tried to locate the files , and found them Empty!!!
how do i install them, in case i still have the CD....
What distribution are you using exactly?
Redhat? Mandrake? Slackware? Debian?
Linux is only one part of what makes up the OS, not the OS itself... unless someone decided to create a distribution called Linux, which would just make everything more confusing.
For example, if you were using Slackware, you would locate the package on either the cdrom or your hdd if you copied it across then type:
installpkg <package name>
If you were using Redhat or Mandrake you would locate it and type:
rpm -ivh <package name> (correct me if I'm wrong, I haven't used rpms in ages)
On Debian you would insert your cdrom and type:
apt-get install gcc
I'm not sure if there are any gui tools for installing packages in Redhat, however to do it in a console (which you should generally do if you want to become familiar with linux) you'll need to first mount your cdrom:
You would do this by inserting the cd into the drive (of course). Now presuming Redhat has been nice and setup your cdrom correctly and given it the directory /mnt/cdrom (which by memory it would probably be for redhat), open a root console (or open a normal console and type 'su' then enter your root password) and type the following: (don't include the #s, that just indicates you type it into a root console)
# mount /mnt/cdrom
Now you've mounted it, change to that directory:
# cd /mnt/cdrom
Now use the du -a command to list all files and directories underneath the directory you're in, then pipe it through (in other words put all the output from du -a into another program) grep to give you only the lines containing 'gcc':
# du -a | grep gcc
Now install the package:
# rpm -ivh packages/gcc-3.2-blah.rpm (if, for example it was in the subdirectory packages with the name gcc-3.2-blah.rpm)
You can apply this to any package just by inserting part of the name of the package after 'grep' and specifying the correct location of the package in the rpm command.
If you get any errors post the output (including the command) of the command that failed. If it fails on the 'mount' command please detail the setup of your IDE devices in the following format:
to give me an idea of which device file is for your cdrom.
rpm -ivh libgcc-3.4.3-12.i386.rpm
Preparing... ########################################### [100%]
file /lib/libgcc_s.so.1 from install of libgcc-3.4.3-12 conflicts with file from package libgcc-3.3.3-7
file /usr/sbin/libgcc_post_upgrade from install of libgcc-3.4.3-12 conflicts with file from package libgcc-3.3.3-7