I executed two commands to enable mp3 play on my RHEL
# rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# yum -y install gstreamer-plugins-ugly gstreamer-plugins-bad
The above two commands did not work for rhythmbox but they worked well with Totem movie player.
You can also disable the repo by executing the below command
# mv /etc/yum.repos.d/rpmforge.repo /etc/yum.repos.d/rpmforge.repo.disabled
In case , you want to uninstall , use the following command
rpm -e gstreamer-plugins-bad
e stands for erase
Other useful commands
Search for a package
rpm -q -a|grep -i
Replace packagename with the package name you are aware of . -i will ignore the case while searching .
-q stands for query and -a stand for all . Basically this command is querying all the packages and then with the pipe and grep , we are trying the filter the output of rpm command .
Uninstalling opera browser was a difficult task for me because I was not able to find the package name for opera . I tried all the combinations to search for the opera package e.g rpm -q -a|grep -i opera etc.
Then it suddenly clicked to me to go to path where the executable for opera exist using the command
which opera
I found that there is a uninstall script for the opera as shown as below
[root@oc48857 bin]# ls -lrt *opera*
-rwxr-xr-x. 1 root root 161 May 2 02:32 opera
-rwxr-xr-x. 1 root root 34212 May 2 02:32 uninstall-opera
[root@oc48857 bin]# ./uninstall-opera
[root@oc48857 bin]#
This is how I was able to uninstall the opera . Thereafter I deleted.opera directory from all the User home directories .
[root@oc48857 ~]# rm -rf .opera
The objective of telling about the above exercise was to tell you that sometimes you may not be able to uninstall a software using rpm -e .Then you have to search for the uninstall script for that software created during the installation itself .
# rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# yum -y install gstreamer-plugins-ugly gstreamer-plugins-bad
The above two commands did not work for rhythmbox but they worked well with Totem movie player.
You can also disable the repo by executing the below command
# mv /etc/yum.repos.d/rpmforge.repo /etc/yum.repos.d/rpmforge.repo.disabled
In case , you want to uninstall , use the following command
rpm -e gstreamer-plugins-bad
e stands for erase
Other useful commands
Search for a package
rpm -q -a|grep -i
Replace packagename with the package name you are aware of . -i will ignore the case while searching .
-q stands for query and -a stand for all . Basically this command is querying all the packages and then with the pipe and grep , we are trying the filter the output of rpm command .
Uninstalling opera browser was a difficult task for me because I was not able to find the package name for opera . I tried all the combinations to search for the opera package e.g rpm -q -a|grep -i opera etc.
Then it suddenly clicked to me to go to path where the executable for opera exist using the command
which opera
I found that there is a uninstall script for the opera as shown as below
[root@oc48857 bin]# ls -lrt *opera*
-rwxr-xr-x. 1 root root 161 May 2 02:32 opera
-rwxr-xr-x. 1 root root 34212 May 2 02:32 uninstall-opera
[root@oc48857 bin]# ./uninstall-opera
[root@oc48857 bin]#
This is how I was able to uninstall the opera . Thereafter I deleted.opera directory from all the User home directories .
[root@oc48857 ~]# rm -rf .opera
The objective of telling about the above exercise was to tell you that sometimes you may not be able to uninstall a software using rpm -e .Then you have to search for the uninstall script for that software created during the installation itself .