ubuntu :Install Ubuntu restricted extras through script

How to   Install Ubuntu restricted extras through Script

Copy below yext and save as restricted.sh

Then run

!/bin/sh
  
sudo su
  
# install debconf-utils
apt-get install debconf-utils
  
# create answer file
debconf-set-selections <<EOF
sun-java6-bin shared/accepted-sun-dlj-v1-1    boolean true
msttcorefonts   msttcorefonts/defoma    note
EOF
  
# install jdk
apt-get -y install ubuntu-restricted-extras

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.