LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-16-2004, 07:42 PM   #1
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Rep: Reputation: 0
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
 
Old 06-16-2004, 07:44 PM   #2
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Original Poster
Rep: Reputation: 0
sorry, that should be

type chmod 777 fresh_install
 
Old 06-17-2004, 03:27 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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.
 
Old 06-17-2004, 08:20 AM   #4
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
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.
 
Old 06-18-2004, 07:21 AM   #5
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Original Poster
Rep: Reputation: 0
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).
 
Old 06-18-2004, 08:18 AM   #6
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 06-18-2004, 09:24 AM   #7
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 06-18-2004, 12:05 PM   #8
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
You still need to use wget to get apt...
Code:
wget ftp://ftp.freshrpms.net/pub/freshrpm...nux/2/apt/apt-[!d]*.i386.rpm
rpm -i apt-*.i386.rpm
The FreshRPMs server will have the latest version of apt. If you hard-code in the version "server/directories/apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm", then it won't find it after they update the apt 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).
 
Old 06-18-2004, 05:47 PM   #9
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Original Poster
Rep: Reputation: 0
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!.
 
Old 06-21-2004, 07:19 AM   #10
veggiemanuk
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 4
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 06-21-2004, 05:25 PM   #11
Rand
LQ Newbie
 
Registered: Dec 2002
Location: Ann Arbor, MI, USA
Distribution: Red Hat Linux 8.0
Posts: 9

Rep: Reputation: 0
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.
 
  


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
Can't read the Fedora Core 4 disc when installing nataSatan Linux - General 1 08-07-2005 10:29 PM
Fedora Core 4 and NTFS Read Support sammigrrl Fedora 9 04-05-2005 12:01 PM
Fedora Core 2 CD read problems drcyber Linux - Newbie 10 09-07-2004 10:39 AM
can i read NTFS from fedora core 2? Napoleon_Jo Red Hat 0 07-08-2004 11:45 PM
Fedora Core 1, won't read in file to variable linlu Linux - General 4 07-01-2004 06:47 PM


All times are GMT -5. The time now is 07:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration