Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > [SOLVED] Slow installations

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 08-24-2008   #1 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 73
[SOLVED] Slow installations

Hello,

I'm new to Ubuntu and was installing Gambas yesterday. It's a programming language like Visual Basic. There were 57 package files in the installation and it took around and hour and 15 minutes to install during which time the screen was unresponsive for the most part. I could see the hard drive light flickering so I knew it was writing and reading files.

Is this normal for Ubuntu? When I installed it this last time I didn't create a swap partition as I thought it would do that itself so I don't have a swap and only have 512 meg of ram 128 of which is used for the video card.

Thanks, Later, Ray Parrish
rayparrish is offline  


Old 08-25-2008   #2 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 73
Hello again,

Today I installed html docs with Synaptic and it took over 2 hours to complete the installation of the one package file of html files. When it was compllete I could not find any new html files on my filesystem.

Is it normal for Ubuntu to take so long to install things?

Later, Ray Parrish
rayparrish is offline  
Old 08-25-2008   #3 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 52
What are the rest of your system specs?

512mb RAM is low but does meet requirements. What are the rest of your system specs? As far as installing Ubuntu, two things- xubuntu is a version of ubuntu that will run better than ubuntu on systems with lower hardware specs.
If you install ubuntu , there is an alternate cd that can be downloaded that will install better on systems with lower specs, less memory, etc.

Regarding installing applications through Synaptic- Install time depends on the application, the size of the package and whether its installed over the network or from a local source. A small local package should only take 5-10 minutes to install. Did you check the minimum requirements for the Gambas application to make sure your computer met the recommended? The install could have run low on memory if there was no swap location.

If you are experiencing performance issues, then I would recommend that you narrow down what is causing the bottleneck; you can use top or htop for this. You can optimize your system as well to make it boot faster and run better.

Yes you should have a swap partition. 2*n MB is the rule of thumb, see this for more info
https://help.ubuntu.com/community/SwapFaq
Linux_tech is offline  
Old 08-25-2008   #4 (permalink)
Super Moderantor
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 9,259
Quote:
Originally Posted by rayparrish View Post
Hello,

I'm new to Ubuntu and was installing Gambas yesterday. It's a programming language like Visual Basic. There were 57 package files in the installation and it took around and hour and 15 minutes to install during which time the screen was unresponsive for the most part. I could see the hard drive light flickering so I knew it was writing and reading files.
From where were you installing the packages? If it was a network install (meaning not off the CDROM) then you should pick a different mirror. Obviously the one you're using doesn't give you a very good connection.

I've had packages take anywhere from 10 seconds to thirty minutes depending on the mirror. There's an option in your "Software Sources" control panel that should allow you to choose a different mirror site, or even let it test several to pick the fastest one.
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline  
Old 08-25-2008   #5 (permalink)
Super Moderantor
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 9,259
Quote:
Originally Posted by Linux_tech View Post
Yes you should have a swap partition. 2*n MB is the rule of thumb, see this for more info
https://help.ubuntu.com/community/SwapFaq
No, I'm sorry, but that's simply bad advice. In the past it might have been valid, but 2x your RAM is wasteful and very unlikely to be used. Purchasing more RAM is a better option, as RAM will always perform faster than harddrive space used for swap.

For a computer with 512 MB of RAM, another 512 is about the maximum I would recommend allocating to a swap partition. On systems with 1GB or more, no swap or a small swap of 128MB works fine.
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline  
Old 08-25-2008   #6 (permalink)
Just Joined!
 
Join Date: Aug 2008
Posts: 52
Your correct, upgrading the RAM is the best solution, its so simple to do and adding a GB doesn't cost much
Linux_tech is offline  
Old 08-26-2008   #7 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 73
Quote:
Originally Posted by Linux_tech View Post
Yes you should have a swap partition. 2*n MB is the rule of thumb, see this for more info
https://help.ubuntu.com/community/SwapFaq
Hello again,

I followed the link you gave and created and enabled a swap file of 512 MB. Shortly after doing so I received an update notice and the update went smoothly even though two of the files in it were around 18 MB. It only took a few minutes and the screen was responsive the whole time.

Hopefully the swap file has solved the slow issue for me.

Later, Ray Parrish
rayparrish is offline  
Old 08-26-2008   #8 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 73
Quote:
Originally Posted by techieMoe View Post
From where were you installing the packages? If it was a network install (meaning not off the CDROM) then you should pick a different mirror. Obviously the one you're using doesn't give you a very good connection.

I've had packages take anywhere from 10 seconds to thirty minutes depending on the mirror. There's an option in your "Software Sources" control panel that should allow you to choose a different mirror site, or even let it test several to pick the fastest one.
Hello,

I wasn't having a problem with the download portion of installs, that usually goes quite smoothly, it's the unpacking and installing portion of the installs which have been taking forever and freezing up the screen.

After installing linux-html-docs package which took two hours I found the html files and was amazed how many folders and files had been created from one 14 meg download. NO wonder it took so long to install them all.

Later, Ray Parrish
rayparrish is offline  
Old 08-26-2008   #9 (permalink)
Super Moderantor
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 9,259
Quote:
Originally Posted by rayparrish View Post
Hello,

I wasn't having a problem with the download portion of installs, that usually goes quite smoothly, it's the unpacking and installing portion of the installs which have been taking forever and freezing up the screen.

After installing linux-html-docs package which took two hours I found the html files and was amazed how many folders and files had been created from one 14 meg download. NO wonder it took so long to install them all.

Later, Ray Parrish
Are you attempting to download and install Gambas manually, one package at a time? I would definitely not recommend this. The easiest (and fastest) way to install anything in Ubuntu or Debian is to use the package manager. In this case you want Synaptic Package manager. Just do a search for Gambas.
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline  
Old 08-26-2008   #10 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 73
Hello again,

Well, I have installed a variety of packages over the course of the day, and have had no screen freezes or extended disk writing activity during the course of them so I'd say that creating and activating a swap file has done the trick.

Many thanks to the person who sent the link to the swap file page.

Later, Ray Parrish
rayparrish is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:51 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2