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 am a Linux newbee so please take it easy. I have loaded Linux 7.3 on a 20Gb Hard Drive. Linux seem to load fine and now I would like to install a program, but it tells me that I don't have enough disk space.
I was able to copy the program to the root partition and it seems like I don't have enough space to install it here. How do I install the program on a different partition? What are the commands to copy the file over and install it?
You say you installed it on a 20Gb hard drive. Did you partition the hard drive, or is it a clean 20GB? If you partitioned it, how big is each partition, and what mount points have you used. Also, it may be useful if you post the results of typing the following into a terminal window:
Also, how are you installing the program? Are you just double-clicking on a rpm file, or are you trying to install it from source.
It seems unlikely that you don't have enough space, unless you've partitioned it in a strange way. Unless you have installed Linux before, and know how much space to allocate each mountpoint, it's probably best to put it all on one big partition.
Anyway, if you tell me all the above stuff, I'll try and help further.
P.S. Also, just to make sure, do you mean Redhat 7.3?
Also, wouldn't hurt to post the output of a "rpm -qip <rpm-file-name>" to see where the base directory is pointing. Then you can do a "df -k </base-dir>" to see how much space is there.
If it is trying to install in /opt and you don't have a separate /opt partition, then it will install on "/" where the directory "/opt" exists.
The rpm command above will show you a field "Relocations:" which will tell you if it is relocatable. There are other options that you can give to rpm when you attempt to install it that will relocate the installation to a directory with room.
And last but not least, please post the command & error so we can help you better. (use copy/paste for more accurate results)
To install the program I am using the tar -zxvpf *.tgz to extract the contents of the file and then changing to that directory and typing ./install
OK, what errors does it give you when you type this? If you are using KDE, then go into Konqueror, and right-click on a directory and click properties. This should tell you how much space is free on your hard drive. As long as there's some space, that should be ok.
Also, instead of ./install, you might be able to try ./configure && make && make install. What program is it?