LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 10-14-2003, 10:57 AM   #1
pirinoe
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Question Program Installation Problems


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?

I have enough space on my hda2 partition 13Gb.

thanks
 
Old 10-14-2003, 11:08 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
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:
cat /etc/fstab
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.
Guy

P.S. Also, just to make sure, do you mean Redhat 7.3?
 
Old 10-14-2003, 11:16 AM   #3
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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)
 
Old 10-14-2003, 11:21 AM   #4
pirinoe
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Question Installation Problem

Wow thanks for the quick reply.

The 20Gb Hard Drive is clean. I didn't partition it. I chose the automatic partition install.

Here is what the cat /etc/fstab reads

LABEL =/ / ext3 defaults 11
LABEL =/boot /boot ext3 defaults 12
none /dev/pts devpts gid-5,mode=620 00
LABEL=/home /home ext3 defaults 12
none /proc proc defaults 00
none /dev/shm tmpfs defaults 00
LABEL=/usr /usr ext3 defaults 12
LABEL=/var /var ext3 defaults 12
/dev/hda7 swap swap defaults 00
/dev/cdrom /mnt/cdrom iso9660noauto,owner,dudzu,ro 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 00

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

It is RedHat 7.3 and how do I tell the RedHat installation to create one large partition.
 
Old 10-14-2003, 01:27 PM   #5
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Does the install script ask you for the location of the install?

If not, there may be an option that you use to specify (a common
example is "--bindir=DIR" and "--sbindir=DIR")

<edit>
The prefix is also used, here is an example.
--prefix=PREFIX
--exec-prefix=EPREFIX

*** disclaimer ***
I have no idea what program you are using, these particular setting are common when compiling source code, but may not be present in the program you are compiling.

Last edited by jdc2048; 10-14-2003 at 01:32 PM.
 
Old 10-15-2003, 04:04 AM   #6
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Quote:
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?
Guy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Program installation Gokhan1969 Linux - Software 4 03-05-2005 06:00 PM
program installation problems... nate1 Linux - Newbie 14 08-16-2004 06:22 PM
SuSE installation (program installation, not os) jasonmantey Linux - Newbie 4 04-15-2004 03:22 PM
Mandrake 9.2 installation program crashes in the final step of the installation iqbala Mandriva 0 12-03-2003 02:59 PM
program installation GT I.N.C Linux - Newbie 7 08-08-2002 09:52 PM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration