LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to Install Fedora 10 In Minimum Size!? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-fedora-10-in-minimum-size-726547/)

nasr-noor 05-17-2009 05:37 AM

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.

unSpawn 05-17-2009 06:40 AM

Quote:

Originally Posted by nasr-noor (Post 3543496)
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 (Post 3543496)
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'?

John VV 05-17-2009 12:26 PM

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

linus72 05-17-2009 12:31 PM

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 )


All times are GMT -5. The time now is 10:36 AM.