LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2011, 01:32 PM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Rep: Reputation: 1
Question How to keep only minimum system files or program?


I am with Ubuntu 11.10 now, main use is for internet surfing and emailing. i found that there are about 1000+ items installed in my system and this making my laptop lagging and slower.

How to decide which files to delete without deleting important files? i know i can go to software center but it was too slow for me as i mentioned there are 1000+ items to delete if i want to.

My memory is 480MiB, Intel Pentium processor 1.70GHz.

Last edited by gabytf; 10-26-2011 at 01:38 PM. Reason: Add info.
 
Old 10-26-2011, 02:16 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
A better way would be to make only a minimal install and then add the programs you need, instead of deleting packages from a full blow system (with the risk of breaking things).
 
1 members found this post helpful.
Old 10-26-2011, 02:26 PM   #3
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 609

Rep: Reputation: 98
Look at e.g. http://wiki.dennyhalim.com/ubuntu-minimal-desktop and http://www.psychocats.net/ubuntu/minimal
 
1 members found this post helpful.
Old 10-26-2011, 02:47 PM   #4
Jenni
Member
 
Registered: Oct 2011
Distribution: Slackware, Fedora
Posts: 158

Rep: Reputation: Disabled
It's much easier to not install so much to begin with. Do a minimal installation of a system then add the things you need so all you have is core components, drivers, and things you use. The links in the above post give information about how to do that with Ubuntu.
However some more streamlined distributions may be more appropriate for a machine with 480MiB Memory. Maybe Slitaz, DamnSmall Linux, Tinycore, or Puppy, or any of a long list of small distributions available. would be more appropriate given the limited hardware. All of those should be able to handle internet surfing and email with no problems, some of them do have some trouble with wireless internet though.
 
1 members found this post helpful.
Old 10-26-2011, 03:03 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
With 480MB you should be able to run distros that use Gnome 2 (for example Debian, Mint), XFCE (any major distro, for example Xubuntu, Slackware, Vector), LXDE (any major distro, for example Debian, Lubuntu) or Enlightenment (for example Bodhi). If you want to go more minimal try distributions that use a WM as main user interface, for example antiX or Crunchbang . I think that Bodhi may be what you want, it comes as a rather basic install with Enlightenment desktop and you can build up on that, using Bodhi's and Ubuntu's repositories.
 
1 members found this post helpful.
Old 10-26-2011, 04:58 PM   #6
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 609

Rep: Reputation: 98
You might also look at:
Quote:
Is there a variant of Ubuntu that comes with none of the bundled software?
http://askubuntu.com/questions/61445...ndled-software
 
1 members found this post helpful.
Old 10-26-2011, 08:31 PM   #7
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Files sitting on a disk do not make anything run slower. They do consume disk storage, but only when they are loaded into memory as running processes do they consume any CPU time, or compete for memory. If you want to reduce the number of processes competing for memory and CPU resources, use a process monitoring tool such as ps or top to evaluate resource consumption. Simply deleting unused files from the disk will do absolutely nothing to speed up your system.
To get a snapshot of what files actually are being used at any instant, the tool lsof displays a list of all open files. Perhaps you could set up some kind of scheme to take periodic snapshots of open files, and distill the results into a list, built up over time. Move (not delete) everything that doesn't make it to the list onto another temporary storage media, and be prepared to copy it back to the working disk when something tries to use it. After a while, you should be able to reach a near optimal filesystem size.
--- rod.
 
2 members found this post helpful.
Old 10-28-2011, 01:54 AM   #8
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Thank you all for the prompt reply and information.
i don't think i can try out all the distros u guys mentioned in a short period, however will explore myself in times to come. Wanna just stick to Ubuntu for the time being.
i am planing to reinstall my OS with a miniCD from Ubuntu downloaded just now. Try it out after i do some back up.
Yes this is in fact trying to save up more disc space because i find that not all the programs or system files currently installed are needed for my daily usage.

theNbomr, you had enlighten me that in order to avoid speed slow down thats nothing to do with files sitting, thanks for that...the steps u suggested is kind of aliens for me as newbiee , would like to learn more from you. Please kindly lead me to any website or some additional reading?
 
Old 10-28-2011, 02:01 AM   #9
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
By the way guys, my system showing that memory is 480MiB but actually my physical memory is 512. why?
The reason i migrate to Linux from Windows is limited disc space(60G) and memory(512MB). With Windows XP it eaten up a lot of my disc space and very much slowing down my speed.

How not to get myself lagging and slow with Linux?

Last edited by gabytf; 10-28-2011 at 02:08 AM.
 
Old 10-28-2011, 07:10 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
Quote:
Originally Posted by gabytf View Post
By the way guys, my system showing that memory is 480MiB but actually my physical memory is 512. why?
I would guess that you have an onboard graphics chip that reserves 32MB of your memory for its work.
 
1 members found this post helpful.
Old 10-28-2011, 07:44 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by gabytf View Post
How not to get myself lagging and slow with Linux?
By using a 'lighter' distro. Ubuntu in general is one of the heaviest distros, and while some versions are a bit lighter (Lubuntu, Xubuntu, Bodhi) the 'ubuntu-desktop' versions are always farily heavy.

If you are new to linux, I'd suggest using a different desktop enviroment to the standard ubuntu 11.10 'unity' desktop. Only ubuntu uses unity, so you cant change distros and get the same desktop you are used to, its heavy (heavier than gnome 2.X which unity replaced) and IMO its nowhere near as userfriendly as some of the other desktops.

I'd suggect Xfce or Lxde- they are avaible for almost all distros, lighter than unity or gnome 2.X and easy to use.

If you want to stick with a ubuntu variant, Xubuntu or Lubuntu if you dont want to do a more 'minimal' setup.

BTW, if you check the pyschocats link that arochester posted (post #3) you can see that it is possible and not that hard to convert a 'normal' ubuntu-desktop install to xubuntu, lubuntu, etc.. You dont have to reinstall!

Quote:
Originally Posted by gabytf View Post
By the way guys, my system showing that memory is 480MiB but actually my physical memory is 512. why?
TobiSGDs guess that you have 32MB used for onboard video is probably right, but IMO its more likely to be 8-16MB for video use and the rest of the 'missing' RAM is being used for onbaord sound, onboard network, with some extra reserved for system use.
 
1 members found this post helpful.
Old 10-28-2011, 09:40 AM   #12
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by gabytf View Post
Yes this is in fact trying to save up more disc space because i find that not all the programs or system files currently installed are needed for my daily usage.
I suggest that you find a distro that provides a minimalistic installation, and includes a good package manager. Debian oriented distros use apt for package management, and also provide interactive versions in both GUI (synaptic) and text-mode (aptitude). Using such a tool, you will be able to browse installed packages, and remove them in a coherent manner. The tools are also good for browsing what packages are available to install, of course. They should give you a good view of what you've got installed, and how much disk space will be recovered or used for each package.

--- rod.
 
1 members found this post helpful.
Old 10-29-2011, 05:29 AM   #13
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Initially plan to stick with Ubuntu MiniCD installation, but i am having problem downloading the archive mirror in order to proceed the install process. Anyway i can sort that out thru Ubuntu forum. Anyhow this had trigger me to try out other minimalistic installation. Downloading Bodhi now to be installed into my laptop and Puppy Linux for USB mobile PC.

With that it solved my Q&A in this thread. With that thank you all and will be 911 u guys again for any coming problem with Linux.

Edit:
After trying out the Ubuntu MiniCD installation and some others mini distros u guys suggested, i chose Bohdi and again Ubuntu11.10. Reason is Ubuntu Mini only installed the minimal system base, i need to manually install other applications. i found that this is not suitable for me as newbee, however it does provide me a lot of free space.

Bodhi is what i am looking for, preserve not only space but also speed with my own selected programs. Keep rolling back to Ubuntu11.10 is to keep myself updated with the development of Ubuntu, if i happened to have a new Notebook or more advance PC i will make full use of it. Of course i will keep explore other distros.

Now playing with WINE learning how to install windows base software, of cause there are many software available which can provide the same functions but i can't get away of it for my daily working activities. Still a lot of things to learn.Wish me luck

Last edited by gabytf; 11-03-2011 at 09:15 PM. Reason: Current Updates
 
  


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
[SOLVED] How to compile c++ program without changing #include line & header files not system Dstruct0 Programming 3 04-03-2011 09:20 PM
C++ program using C header system files yhus Programming 1 02-15-2008 07:14 PM
a program to print all mounted files system pprs project Programming 2 08-29-2007 12:47 PM
How to boot up from hdc1? Don't write lilo to mbr. Just leave minimum system files. bxxxr Linux - General 2 08-28-2003 06:22 AM
minimum system for RH 7.1 JO770 Linux - Hardware 2 02-18-2003 11:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 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