Fedora Core 2 users read this.
Please note that the following has only been tested on a full (everything) install.
If you get segmentation errors please do the following. type rpm -e apt run the script again (this is a bug in apt, not the script) Hi, for those of you with a fresh (or not so fresh) install of Fedora core 2, I am providing a script file that will install the following packages (all from www.freshrpms.net). apt - rpm package management synaptic - Graphical package management program using apt mplayer - the movie player for linux. amule - Easy to use client for ED2k Peer-to-Peer Network xmule - Easy to use client for ED2k Peer-to-Peer Network cabextract - Program to extract Microsoft Cabinet files. d4x - Downloader for X that supports resuming and many others. rar+unrar gnubay - Nintendo Gameboy Colour emulator. xmame - The x Multi Arcade Machine Emulator. armagetron - Multiplayer 'Tron' 3D racing game - online. if you can think of anything else then please let me know. please note that you must be loged in as root. first copy the following into a text file and name it fresh_install save it to /root open a console type chmod 777 frash_install type ./fresh_install copy and paste after this line. ############################################################################## ## ## ## Fresh Installer - needed packages for a fresh install of Fedora Core 2 ## ## ## ############################################################################## # create the downloads dir within root. echo Making download folder in root. mkdir /root/downloads cd /root/downloads clear ############################################### # get and install latest apt for Fedora Core 2. ############################################### echo Getting and installing apt. wget http://ftp.freshrpms.net/pub/freshrp...c2.fr.i386.rpm rpm -i apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm clear # Run the initial update echo Run the initial update, do this once a week. apt-get update clear ###################################### # use apt to get some needed packages. ###################################### # synaptic - Graphical package management program using apt echo Getting and installing synaptic. apt-get install synaptic clear # mplayer - the movie player for linux. # Install xine aswell, use for avi and such files. echo Getting and installing mplayer. apt-get install mplayer clear # amule - Easy to use client for ED2k Peer-to-Peer Network based on eMule echo Getting and installing amule. apt-get install amule clear # xmule - Easy to use client for ED2k Peer-to-Peer Network based on eMule echo Getting and installing xmule. apt-get install xmule clear # cabextract - Program to extract Microsoft Cabinet files. echo Getting and installing cabextract. apt-get install cabextract clear # d4x - Downloader for X that supports resuming and many other .features. echo Getting and installing d4x. apt-get install d4x clear # rar+unrar echo Getting and installing rar, unrar. apt-get install rar apt-get install unrar clear ########################################################## # Emulation - all you need to play classic games on linux. ########################################################## # gnubay - Nintendo Gameboy Colour emulator. echo Getting and installing Gameboy Colour Emulator. apt-get install gnuboy clear # xmame - The x Multi Arcade Machine Emulator echo Getting and installing mame emulator. apt-get install xmame clear ################# # Must have game. # armagetron - Multiplayer 'Tron' 3D racing game - online echo Getting and installing Armagetron - Tron like online game. apt-get install armagetron clear echo Finished........ echo Thanks - Robert Kelly echo Please feel free to give this script to your friends, any coments or sugestions please email echo fedora@spacemarines.co.uk |
sorry, that should be
type chmod 777 fresh_install |
Have you considered submitting this as a LinuxAnswer? Have a look at the how to under the Linuxquestions.org section.
And I am moving this to the Fedora forum - where more Fedora users will see this. |
According to this page:
http://dag.wieers.com/home-made/apt/mega-merge.php the folks from 5 different rpm repos are working together to make a ton of rpms for Fedora Core 2. I know the apt package from dag contains links to all the other repos so no matter what you apt-get you'll get it from one of the five sites. I don't know if the freshrpms apt contains sources for all of the repos so I just thought I'd throw in this comment. |
flyfishin, thanks for the info, will have a look and see what I can include.
Will be hosting the file later tonight to save the hastle of cut-n-paste, youll be able to simply download the fresh_install file to your root folder and run it, will be adding loads more to it along with more fetures such as asking if you want certain things installed or not. The reason I put this script together was because I tent to reinstall my system every other day or so (Just to learn the setup prosses) but though it would be usfull for others, especialy when FC2 dont come with vid playback and mp3 support, will be looking for mp3 installation too. Will look hard tonight for other things to include. maybee even ATI fglrx automation (I wish). |
A couple suggestions...
chmod 777 fresh_install
Might as well just do a "chmod 0744 fresh_install" since a normal user will only get errors if they run it. wget http://ftp.freshrpms.net/pub/freshrp...c2.fr.i386.rpm Should prob'ly use "apt-*.i386.rpm"... Otherwise, you'll have to manually change your script everytime they update the apt RPM. |
ranger_nemo,
for first time usage you would have to 'wget' the file as you would not have 'apt' installed, or am I missing something?. just wondering. |
You still need to use wget to get apt...
Code:
wget ftp://ftp.freshrpms.net/pub/freshrpm...nux/2/apt/apt-[!d]*.i386.rpm If you "wget apt-[!d]*.i386.rpm", it will download any file that matches. The ".i386" will keep it from matching and downloading the source RPM. The "[!d]" means 'the next character can be anything except "d"', which keeps it from matching the apt-devel RPM. You will need to "wget ftp://" because "wget http://" won't do the globbing (matching the *, and what-not). |
Bows before ranger_nemo, thanx, would never have though of that one, didnt even know you could use wildcards, now I see what you mean.
Thanks. Windows is to Linux as INTEL is to AMD, Complete your rebirth, make the switch!. |
Hi, will be posting an updated version of this tonight (6pm GMT), this will be the last one to use apt-get, will be moving to yum & up2date after reading somthing interesting the other night about incompatibility with freshrpms.net packages and most others, will make a link to the info aswell.
this latest update will be for reference only. Can you please give any idieas as to what should be included in the rewrite, I want to be able to provide a script that will install all the packages that should have come with FC2 (MP3, MPeg playback and so on). will also be including the one game that seems to have gone missing, XPilot |
I couldn't get this to work. apt-get couldn't install mplayer or xine. Both failed with dependencies that wouldn't be installed, and complained that they required an older version of PHP than I had installed. I couldn't find all the dependant packages on freshrpms, had to go to another repo to get some of them for xine and couldn't get mplayer to work at all.
|
All times are GMT -5. The time now is 07:46 PM. |