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 think I may have been born without that thing that most people have that tells them what they are supposed to do next, or even how to start.
For the past 8 months I've been considering delving into linux. I finally bit the bullet and installed Ubuntu 7.10 on my big beefy desktop after my third re-install of Windows in two weeks.
Immediately, I am hit with the same problem I've been being hit with ever since I even started thinking about switching over on a permanent basis.
I am completely inept at installing things.
Ideally, it runs like this.
make (as root?)
Right? Well, that has never worked for me. Not on Kubuntu, Ubuntu, or Slackware 11.0.
I've done a little delving. This whole linux thing is completely new to me, but I thought I'd at least try to do a little research on my own. I've read a couple of how-to's, but they never seem to address my problems.
My most recent occurrence happened with the installation of nmap. This is from a fresh installation of Ubuntu 7.10 desktop edition for 32bit systems. I've installed all the updates it told me to, I've enabled my restricted network and video card drivers...
And apparently I am lacking a C compiler?
Every distro I've tried (from the impressively long list above... -.-) has yet to come with a C compiler. Isn't that supposed to be the most common method of installing programs on Linux is to compile them from source? It never works for me. I've read the "INSTALL" files that appear after I unpack. I've looked for "README" and "SETUP" files to read as well. The only clue I find that something is wrong is when I do "./configure" and it DOES somehow work, it quickly stops at "make" with the error that I have no C compiler.
So then I quest out to find out "how do I obtain a C compiler"? And here is another obstacle: it seems like everyone else just assumes the distro comes with it.
So... I guess I'm just at a loss. I've got no idea what to do next. How do I fix this? Is there something I can tell a distro before I install it that ensures it comes with these very necessary utilities?
I would love to embrace a free computing experience. I would love to eventually develope my own programming talent and be able to contribute.
Maybe I'm just too dumb for linux.
ASUS A8N-SLI Premium Motherboard
AMD 64 4000+ 2.4ghz overclocked to 2.64ghz
2gb Corsair XMS DDR-400 RAM
400gb Western Digital SATA Hard Drive
BFG nVidia GeForce 7900 GTX 512mb PCI-Express graphics card
BlahBlah@BlahBlah-desktop:~$ apt-get install build-essential
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
BlahBlah@BlahBlah-desktop:~$ sudo apt-get install build-essential
[sudo] password for BlahBlah:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bash: wtf?: command not found
Last edited by CyberInfantry; 11-24-2007 at 11:34 AM.
Reason: Did not want to double-post.
Where do you find what all is available on the apt? What is apt? Just a package management system?
And for that matter, when something is installed from source, apt, or synaptic, how do you access it? O.o
Yes, apt is a package manager. Synaptic is a graphical front-end for apt. It can be found in the System -> Administration menu. Once opened, it will show the available packages in the Ubuntu repositories, and you can select them for download from the window. Once a package is installed, Synaptic will show where the launcher icon was placed.
Also, to add to btmiller's statement, compiling from source can cause a lot of trouble if you're not sure what you're doing.
Last edited by DragonSlayer48DX; 11-24-2007 at 12:36 PM.
I googled "first things to do after installing ubuntu 7.10" and got a pretty good list. It took care of most things through apt-get, and then I went and explored through Synaptic.
I was really impressed with the amount of code available on those programs. I have no idea how many I installed that I had no need of and such, but it did make it easier for getting zsnes and other programs. :P I'll have to look again for nMap.
My only concern with the package manager is timely availablity:
do code developers post updates to the package managers automatically? is every bit of software available for Ubuntu (or Linux in general) available on those package managers? How reliable are they as a source for programs?
Personally, I'd say the repositories are the most reliable source for new programs, as the packages have been tested for compatibility and stability with your distro before being added. Also, when you install through the package manager, the program is automatically added to the automatic updates list. And yes, new packages are constantly being added to the repositories as they become available.
Last edited by DragonSlayer48DX; 11-24-2007 at 03:14 PM.
I cannot tell you anything about a c compiler but I have a question. Did you try Puppy Linux? I think Puppy Linux is great for first timers.It is small and up to date. Due to it's size,you can install it just to ram.You can also try it out without installing it to your hard drive.An already burned cd can be purchased at Osdic.com for $1.95 plus postage.The language used in Puppy is user friendly.
Do you still have Windows on your computer? You can try Puppy out ,just in ram,to see what you think. If you don't like it,don't save it and it won't affect your Windows.It might be possible to have both Windows and Puppy on your computer simultaneouly.
To install Puppy,you would have to set your computer to boot from the cd. That won't affect Windows unless there is a cd in the drive.
Experts,have I said anything incorrectly? Have I left anything out? Please review what I have written.I just sense this person has feelings I had when I was thinking of converting to Linux. Someone suggested Puppy Linux to me. I have really enjoyed learning about it.