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.
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.