LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
  Search this Thread
Old 05-17-2009, 05:37 AM   #1
nasr-noor
LQ Newbie
 
Registered: Aug 2005
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
Question How to Install Fedora 10 In Minimum Size!?


Hi all,
How can I install fedora in minimum size, only for runnig my own opengl game?

I choose minimum needed packages in fedora 10 install, But fedora install too many packages that I didn't choose and need and fedora installation become large. For example I don't need network connection, print and ... .

Another problem: after above installation I couldn't install nvidia driver,with error: "kernel source not found", which package I should select during installation for solve nvidia driver installation error.
 
Old 05-17-2009, 06:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Quote:
Originally Posted by nasr-noor View Post
How can I install fedora in minimum size, only for runnig my own opengl game? (..) too many packages that I didn't choose and need and fedora installation become large. For example I don't need network connection, print and ... .
There's different ways, depending on how well you know Fedora.

The easiest way may be to look for Fedora (Unity?) Respins which may have a spin that caters to gamers, hoping that cuts out most tools you don't need.

A moderately easy way would be to install Fedora then list packages by group (removing in the sense of quick wins), then remove packages. The GROUPS file resides in /usr/share/doc/rpm-*/, catting it shows names like "Development/Libraries". Since they're only needed for compiling software you could list them with 'rpm -q -g "Development/Libraries"' and try removing them with 'rpm --test -e -g "Development/Libraries"'. If there are no warnings, or if you know ignoring those those warnings does not endanger operability you could proceed by removing "--test" and probably use "--force" as well. Removing individual packages can also be done with Yum: 'yum remove libgnomecups hal-cups-utils desktop-printing cups' should show which dependent packages will be removed as well. In this example it would also remove "redhat-lsb" which you may not know. Running 'rpm -qi redhat-lsb' will display information about the use of the package and 'rpm -ql redhat-lsb' will list the packages contents. With these two commands it is easier to find out if you need it or not. Of course you can add the package back in later on without further dependencies with 'rpm -i --nodeps package.rpm'.
* Yum may be easier for you to handle package ops, and adding these lines to /etc/yum.conf before you begin may save your hide when you break more than you can easily recover:
Code:
# Repackage
tsflags=repackage
as it puts repackaged packages in /var/spool/repackage. Those packages do not replace pristine packages but it may help if you just need to extract a binary, library or configuration file you need to get things going again.
RPM allows you all kinds of selections: group, size, installation date, et cetera. Listing packages by group and size may help finding ones to remove:
Code:
cat /usr/share/doc/rpm-*/GROUPS | while read group; do
 echo "${group}: "; rpm -q --qf='%{SIZE} %{NAME}-%{VERSION}.%{RELEASE}\n' -g "${group}"\
|\sort -nrk1 | column -t; echo; done
Finally the hard way would be to install Fedora with a custom package selection but without selecting anything. This should get you a "base" install on top of which you can add packages you need. This allows you more control over what gets installed but the trade-off is it will be time-consuming, cumbersome and error-prone.

** If you're accustomed to running a RPM-based distribution you could also look into CentOS. It has less packages to install compared to Fedora and it does not follow Fedora's upgrade schedule.


Quote:
Originally Posted by nasr-noor View Post
after above installation I couldn't install nvidia driver,with error: "kernel source not found", which package I should select during installation for solve nvidia driver installation error.
Try 'yum install kernel-source'?
 
Old 05-17-2009, 12:26 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,602

Rep: Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648
st to the nvidia driver have a look at the fedora 9 and 10 how to page
" F10 & F9 Nvidia driver guides"
http://forums.fedoraforum.org/showthread.php?t=204752
 
Old 05-17-2009, 12:31 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Another option so that you can play with different installs is to use the portable-qemu and scripts to make a Portable-Fedora-10 (it works) and install as with this howto-

( http://www.linuxquestions.org/questi...at....-725252/ )
Just rename "SlackDVD.iso" to "Fedora10.iso" in the install script and install.

Portable-Qemu-
( http://multidistro.com/downloads/dslqemu/dslqemu.html )
 
  


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
Kmail Minimum Font Size dwitkin Linux - Software 7 09-22-2008 08:34 AM
minimum file size in ext3 newbie007007 Linux - General 5 10-05-2006 07:45 PM
what is the minimum partition size drkstr Linux - General 7 08-27-2006 01:04 AM
Set a minimum font-size in Gaim? ateam Linux - Software 1 02-02-2006 08:05 PM
minimum partition size Ashraf Linux - General 4 10-16-2002 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 PM.

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
Open Source Consulting | Domain Registration