Advertisement
Mark2020H

Bash script to install video and audio codecs for issues with facebook on opensuse 15.2

Nov 13th, 2020 (edited)
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.85 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # MD Harrington https://www.facebook.com/mark.harrington.142892/
  4. # PS dont forget to use dos2unix after   downloading this file  otherwise this will complain about    odd characters
  5.  
  6.  
  7. # As  always  chmod +x this otherwise it wont run  Invoke from terminal with "./<yournameyouchoseforscript.sh>
  8.  
  9. echo "Setting up packman for  15.2  This updates well over  80 odd files and more  !! "
  10. echo
  11. echo
  12. echo "This  script sorts the issue out with openSUSE 15.2 regards audio and video codecs  just after new installation"
  13. echo "Please feel free to modify as required to suite"
  14. echo "Please note I may make adjustments later to improve this significantly when I get opportunity "
  15. echo "But for  now it solves a major issue on  new installs "
  16.  
  17. echo "MD Harrington https://www.facebook.com/mark.harrington.142892/"
  18.  
  19.  
  20. sudo  zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.2/ packman
  21. sudo  zypper ref
  22. sudo  zypper up --allow-vendor-change
  23. sudo  zypper dup
  24.  
  25. zypper ps -s
  26.  
  27.  
  28. sudo zypper in k3b-codecs ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav
  29.  
  30. # These are just standard programs i use  all the time  but it saves having to go into yast  software  management and  does # this for you
  31.  
  32. sudo zypper install freshplayerplugin
  33. sudo zypper install xine-browser-plugin
  34.  
  35. echo "Audio and Video should now all be working"
  36.  
  37.  
  38. echo "installing  simplescreenrecorder"
  39.  
  40. sudo zypper in simplescreenrecorder
  41.  
  42. echo "installing  blender"
  43.  
  44. sudo zypper in blender
  45.  
  46. echo "installing  filezilla"
  47.  
  48. sudo zypper in filezilla
  49.  
  50. echo "installing  telnet client"
  51.  
  52. sudo zypper in telnet
  53.  
  54. # be aware you may have to run this again after installing other software on openSuse15.2   from time to time  Hopefully not  but # anyway  should now solve many issues for you
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement