Experienced Windows tech, Very new to Linux, looking to learn basics...
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.
Experienced Windows tech, Very new to Linux, looking to learn basics...
I'm in need of a little (a lot of) help. I've only toyed with Linux in the past but have NO real knowledge of the system. I installed Debian Linux 4.0r3 "Etch" on my system, but know none of the common commands, instructions, methods, of doing anything after an install. In Windows, here is where I would install my chipset drivers, graphics, NIC, audio, etc... My graphics are a little flaky now, probably need drivers installed. I'm running a GeForce 5200. Also, to run certain Windows-only things, I want to try to install and run VirtualBox from a .run file. After probing LQ, I managed to figure out how to make the file executable by running a "chmod" command, and after a little more probing, learned to "su" into "root," then "./" the file to run, but when I run it it tells me "Please install the build and header files for your current Linux kernel. The current kernel version is 2.6.18-6-amd64 ... Please install the GNU Compiler. Problems were found which would prevent VirtualBox from Installing. Please correct these problems and try again." I don't mean to sound like a total flake, but... What the heck does that mean? I have years of experience with Windows 95/98/2000/XP/2003, and even supported an Active Directory domain environment with a few hundred clients for a few years, but I'm having trouble "un-learning" what I know about i386 and amd64 based systems and Windows to take a shot at Linux, but I'm getting a bit discouraged. Any pointers or tutorials would be awesome.
can you copy and paste the exact error .. first make sure you are installing the proper version of virtual box.. then to install gcc .. i guess since you are using debian it would be sudo apt-get install gcc and press enter...
but you might want to full update your system .. you can probably go to system > administration > add/remove software (well im on fedora so it might be different for you).
any whatever error you get, take a ss of it and paste it here and we'll help you troubleshoot. BTW im also a windows system admin but with enough time you will get to understand linux although at first it can drive you nuts
You want to use some programs that you did not include in the original install. If you have a broadband connection then you should try to install these extra packages from the Debian repository.
You can use either the command line program apt-get or the GUI program synaptic. The packages that you want to install are the C compiler (gcc) and the source files for kernel version 2.6.18-6-amd64. I suggest that you start synaptic and use the search function to find the names of the packages you want and then tell synaptic to install those packages.
Once you get gcc and the kernel headers installed then you can compile your graphics driver.
In Windows, here is where I would install my chipset drivers, graphics, NIC, audio, etc... My graphics are a little flaky now, probably need drivers installed.
OK, first bit of unlearning. While, in windows, you'd go scurrying round the net for .ddls and .exes to add stuff, that's not what you want to do in Linux. Your distro - more or less whichever distro, but Debian certainly - maintains repositories of common things that you might want to add after installation (extra software, in odd cases drivers). You want to use the provided mechanisms for installing them both because it will make your life easier in the short term and because it will leave you with a more stable system (none of this adding slightly dubious dlls that upset some other program on your system).
Debian (plus Ubuntu Mepis and others) use .deb files and RedHat (plus fedora, SuSE, Centos et al) use rpm files, but you don't really need to worry about that much, just be sure to get the right ones for your system.
I would say that the first thing that you want to add is synaptic (a GUI-updater) although there are others you might want to try (kpackage - particularly if you use kde - for example).
You can then use the graphical tool to get stuff that you want. Debian is pretty much "pure"/"hard-line" about the free software part of free software so don't expect them to have installed any proprietary stuff at all (even if it is zero cost) by default. You may even need to add extra repositories to add proprietary stuff. (Something like Ubuntu, for example, is rather "softer line" on this even though derived from Debian, although I don't recommend that you swap right now.)
I'm running a GeForce 5200.
There are nvidia's proprietary drivers for GeForce cards (that's an old card, isn't it and I'm not sure that's covered, so check) and that will almost certainly improve the 3-d performance of the system, if that's a factor.
... Please install the GNU Compiler. Problems were found which would prevent VirtualBox from Installing. Please correct these problems and try again."
Probably one of
You haven't installed the Gnu Compiler Collection (GCC) at all. probably needed to compile a C program. I'm a little surprised if Debian don't include this by default, but..
You have installed GCC, but its not in your path (In principle, Windows paths were "copied" from the Unix-style system so there shouldn't be a problem understanding that)
The user trying to execute the command doesn't have execute permissions for the compiler
I don't mean to sound like a total flake, but... What the heck does that mean?
If you've got this far by yourself, you've done pretty well. I was recently forced to pick up windows again after five-ish years and I was surprised at how hard I found it. Not trivial at all.
In Windows, here is where I would install my chipset drivers, graphics, NIC, audio, etc...
In Debian, there is a central installation system for installing almost everything you might want to install. (BTW, chipset drivers, NIC, audio, etc. are typically included in the original install. You're unlikely to need to install such things. But the best Nvidia graphics driver is not included in the original install).
When you want to install something, look there first. Use other methods only if it isn't there.
There are a bunch of different UI's giving you access to that same installation system. They all access the same data structures and install software the same way. They just differ in how you talk to them.
The most user friendly of those is Synaptic. One of the most important things I had to learn when I started with Debian is use Synaptic
My graphics are a little flaky now, probably need drivers installed. I'm running a GeForce 5200. Also, to run certain Windows-only things, I want to try to install and run VirtualBox from a .run file.
For each of those (Nvidia proprietary driver and Virtualbox), I don't know if you can install via Synaptic.
There are .run files as (more Windows like) installers for various packages (Nvidia has them and apparently VirtualBox as well). They are designed to install to a wider range of Linux distributions (then the distribution specific packages in .deb files), but as you discovered, they don't know how to manage their own dependencies, just complain to you about what is missing.
So installing with such a file, should be your fallback after you can't get what you want through Synaptic. Even then, you might want to use Synaptic to install those missing dependencies.
Notice farslayer's post above mine. The Virtualbox installer you chose needs to compile some things from source. Depending on versions of various things, the Nvidia driver might or might not need to. You may hit other packages (that you can't install via Synaptic) that will need to compile from source.
The first time I hit one of those (for me it was Nvidia), I tried the .run file several times, each time manually requesting, from Synaptic, one package that the .run file said was missing. That got the job done after a few iterations and future packages that needed to compile from source rarely needed anything else.
But farslayer gave you a better way. aptitude is a different UI for the same installation system as Synaptic. Those commands install all the things that a typical package would need for compiling.
...and to make life even easier:
Debian has VirtualBox as an installable package in its repositories - so you don't _have_to_ compile if you want to avoid it.
With the help of apt-get or synaptic ... you just install it. http://packages.debian.org/de/etch-b...virtualbox-ose
Thanks for all the feedback, I was able to successfully install the build and header files for my kernel, and the GCC compiler. I was also able to successfully compile and install VirtualBox! WindowsXP installed within with no issues. I am still trying to figure out how to get USB devices to work in my VirtualBox. I was able to figure out how to install and configure SAMBA so that my VBox and Linux are able to share resources, so I'm now able to get access to files on ThumbDrives, etc. through network shares. But I still need USB access in Windows XP. No USB controllers even appear in Device Manager. I have a MagicJack and a video capture device I would still like to use in XP, so I need to figure out how to forward the controllers to the VBox. I was able to get the CD/DVD drives, and floppies, now I just need USB. (If anyone has written a MagicJack app for Linux, let me know!) Also, in Linux, I'm still trying to get the graphics drivers loaded. I installed a bunch of packages through Synaptic that appear to pertain to configuring and installing NVidia cards, but I try to run the driver installer and I get an error regarding "X Server." It says, "ERROR: You appear to be running an X Server; please exit X before installing." Oh, I was wrong about my card, it's a 6200, not a 5200. One more thing: How do you post screen shots in LQ?
usb-support is only enabled in the pre-built version - not in the one you can compile yourself.
Check out the VirtualBox website - it is explained there.
Debian has the prebuilt version too, as I said previously.
You can always make your usb-drives available by working around this - by mounting them in linux and make them seen to VirtualBox as with any other directory.
I have some questions about magicjack and Vbox-XP(closed source version). ...
With a previous install of Debian (i think etch; currently I'm using lenny) I would plug it in and both the usb and 'cdrom' partitions automatically mounted. Which made my experience with Vbox-XP and magicjack pleasant. I abandoned the project when I test called my wife and the sound was very choppy. I want to try this again but it doesn't automount when I plug it in (other usb devices do automount though). Manually I can mount the .iso image and the usb partition separately. I have Vbox's usb filter set for this device, but once I'm logged on XP I cannot access it. The .iso image that is also on there can be accessed, though. As I have already said it was working previously, perhaps I have changed something minor in a .config file or some package wasn't installed this time around. I'm so very close...
You should really start a new thread for new issues, your post seems unrelated to the original threads issue. It's also not nice good forum etiquette to hijack other threads.
Distribution: Ubuntu 12.04, Debian Squeeze, Windows 7
OK I was trying not to create another thread rather ask relevant questions in an already existing thread. I suppose next time I can quote how my questions were similar if not the same as some of the originator's.
And since the last post is going on a year old, I didn't consider it hijacking, more of a re-opening
"usb-support is only enabled in the pre-built version."
"I am still trying to figure out how to get USB devices to work in my VirtualBox.....But I still need USB access in Windows XP. No USB controllers even appear in Device Manager."
but for your sake, I will start A new thread, thank you so many.