LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 05-18-2008, 04:40 AM   #1
arshzia
LQ Newbie
 
Registered: Apr 2008
Posts: 27
Thanked: 0
Thumbs up how to increase /var space


[Log in to get rid of this advertisement]
Hello to all,
i am installing open office from my server RPM folder, when i type acommand # yum install open office*, it is installing openoffice on /var, and my /var space is 512MB. but the rpm which iam installing is of 741MB so iam getting a error message of insufficient disk space. now i want to increase my /var space. can u please tell me how to increase /var space.
arshzia is offline     Reply With Quote
Old 05-18-2008, 06:31 AM   #2
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,129
Thanked: 464
Actually it does not install OpenOffice in /var, it just downloads packages in the /var/cache directory before installing them. Instead of messing up your partitions, I suggest to download packages in a different location, then install them from this local directory. To do this you can try
Code:
yumdownloader --resolve --destdir /path/to/dir openoffice
the yumdownloader utility comes with the package yum-utils, which is not installed by default. The command above downloads openoffice and all its dependencies (see --resolve) in the directory specified by the --destdir option. Chose an appropriate location where you have enough space and the trick is done.

When you have packages stored in a local directory, you can tell yum to install from there:
Code:
yum localinstall /path/to/dir/*.rpm
Anyway, the size of 741 Mb looks huge to me. The core OpenOffice package is about 80 Mb, where the other 660 Mb come from?
colucix is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How can I increase swap space? abefroman Linux - Server 12 12-27-2007 12:23 PM
Space Increase webterractive Linux - Software 2 12-22-2004 10:42 AM
how to increase the space for linux ?? bobby2k3 Linux - Newbie 4 09-19-2003 06:42 AM
how to increase the space for linux ?? bobby2k3 Linux - Newbie 1 09-18-2003 07:57 AM
Increase Swap Space? star geezer Linux - Software 9 03-10-2003 01:04 PM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration