UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Ok, for future reference:
Please don't use foul language on the boards. I would appreciate if you
edited your post and took that out ;}
... and as an explanation for your apt-get problem:
apt-get is quite greedy, it wants its database to itself; if you
happen to have e.g. synaptic or some other package-manager open, or
are running apt-get in a separate window, too, you'll get the message
you saw. A reboot will obviously fix that problem, too.
Type sudo before you type the rest of the command. When it says "are you root?" it's really just a reminder to type sudo before the command. You will be prompted for the password for whatever user account you are using. That "are you root?" is kind of dumb in that its not as much of a question as a suggestion. When you typed yes, it started the command yes, which just prints lots of y's on the screen. But I think you noticed that...
Well, while everyone here likes to use apt-get for everything, I like the feel of synaptic. You won't need to open a terminal window to use it, and it has a comfortable GUI interface. To open synaptic, go to System->Administration->Synaptic Package Manager. You will be prompted for your password. Within synaptic, choose Settings->Repositories. Click add. Click the universe repository and click ok. Go into Settings->repositories again and add the multiverse repository in the same way. It will say something like must reload package information, just say yes. You will see a list of packages. Scroll through them and click the check box next to anjuta. Then click install.
Also, and this isn't really an error, the getchar() statement does not have its return value go into a variable (input= getchar() instead of getchar()). This is fine if all you want to do is pause the program until you type something though.