The fedora repository does not provide many software's which are provided in rpmfusion repo. The rpm fusion contains many popular packages like vlc and gstreamer (mp3 plugin for rhythmbox etc)
The following shell script configures rpmfusion on fedora and installs your favorite softwares........
#!/bin/sh
#program on fedora to install gstreamer vlc
#these packages are in rpm fusion repostiory
no_of_argmnt=1;
#checks wether the user is root or not
if (( $EUID != 0 ))
then
echo "the script must be runed as root"
echo "try again as"
echo "su -c \`sh $0.sh \"package\"\`"
echo "package can be gstreamer or vlc "
exit 1
fi
#checks for the parameters
if (( $no_of_argmnt != $#))
then
echo "parametes missing"
echo "scrpit usage::"
echo "su -c \`sh $#.sh \"package\"\`"
echo "package can ve gstreamer or vlc "
exit 1
fi
echo "Configuring Rpm fusion...."
echo "Getting rpm fusion package from http://download1.rpmfusion.org"
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
if [ $1 == "vlc" ]
then
echo "Installing vlc..."
yum install vlc
elif [ $1 == "gstreamer" ]
then
echo "Installing gstreamer..."
yum install gstreamer-{ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree}}}
else
echo "Unknown package"
fi
echo "Finishing installation.."
exit 0
The following shell script configures rpmfusion on fedora and installs your favorite softwares........
#!/bin/sh
#program on fedora to install gstreamer vlc
#these packages are in rpm fusion repostiory
no_of_argmnt=1;
#checks wether the user is root or not
if (( $EUID != 0 ))
then
echo "the script must be runed as root"
echo "try again as"
echo "su -c \`sh $0.sh \"package\"\`"
echo "package can be gstreamer or vlc "
exit 1
fi
#checks for the parameters
if (( $no_of_argmnt != $#))
then
echo "parametes missing"
echo "scrpit usage::"
echo "su -c \`sh $#.sh \"package\"\`"
echo "package can ve gstreamer or vlc "
exit 1
fi
echo "Configuring Rpm fusion...."
echo "Getting rpm fusion package from http://download1.rpmfusion.org"
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
if [ $1 == "vlc" ]
then
echo "Installing vlc..."
yum install vlc
elif [ $1 == "gstreamer" ]
then
echo "Installing gstreamer..."
yum install gstreamer-{ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree}}}
else
echo "Unknown package"
fi
echo "Finishing installation.."
exit 0
0 comments:
Post a Comment