Submit Your Article Forum Rules FAQ About Us
Search the forums:

Tech Support Team


Hello and Welcome to Tech Support Team! Before you can start posting and answering questions, you'll have to register. Registration is fast, simple and absolutely free! Feel free to browse through existing questions by choosing the forum you want to visit below.



Comment
Script to automate install some extra stuff in Ubuntu.
Script to automate install some extra stuff in Ubuntu.
Published by Mikorist
6th October 2008
Lightbulb Script to automate install some extra stuff in Ubuntu.

Most people will probably need info on how to install AUD-DVD Codecs, Flash Player, MPlayer and FF Plugin, Mutimedia Codecs, Sun Java 1.6 JRE, and Google Earth/Picasa.

This is a simple script installs Multimedia codecs (ubuntu-restricted-extras & w32codecs), Buildessential package, Mplayer, DVD support, Flash, Sun Java Runtime Environment and plugin, Microsoft fonts, Adobe Reader, vlc player,k9copy, audacity, skype, wine & wine doors,Picasa,Totem,RealPlayer
Compiz Fusion,Emerald,kdegames,gnome-games,opera,mozilla,mozilla-thunderbird,pidgin,filezilla,gftp,sylpheed, VPN support, googleearth, Envy NG
and more ...


Save this list of packages as ~/aptfiles.txt

sudo kate ./aptfiles.txt
Code:
envyng-gtk
ubuntu-restricted-extras
w32codecs
kdm
libxine1-ffmpeg
build-essential
awn-manager-trunk
awn-extras-applets-trunk
mplayer
libdvdcss2
libdvdread3
libdvdnav4
debhelper
fakeroot
flashplugin-nonfree
libflashsupport
sun-java6-fonts
sun-java6-jre
sun-java6-plugin
msttcorefonts
firefox
vlc
listen
gparted
mozilla-plugin-vlc
mozilla-helix-player
kaffeine-mozilla
mozilla-mplayer
totem-gstreamer
totem-xine
totem-plugins
kaffeine-mozilla
mozilla-mplayer
helix-player
xine-ui
listen
gimp
gimp-data-extras
azureus
qtorrent
mozilla-thunderbird
amsn
gftp
sylpheed
kget
k9copy
ripperx
banshee
exaile
rar
unrar
arj
p7zip-full
krusader
mc
ntp
compiz-core 
compiz-fusion-plugins-extra 
compiz-fusion-plugins-main 
compiz-plugins 
libcompizconfig0 
compiz-kde 
compiz-plugins 
compizconfig-backend-kconfig 
compizconfig-settings-manager 
kicker-compiz 
kicker-taskbar-compiz
fusion-icon
emerald
kdegames
gnome-games
pidgin
qtparted 
ntfsprogs
acroread
audacity
skype
wine
tvtime
network-manager-gnome 
network-manager-openvpn 
network-manager-pptp 
network-manager-vpnc
googleearth
save the file and close kate.


sudo kate ./aptfiles-install-script
Code:
	
#!/bin/bash

#Add mediubuntu repositories
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install medibuntu-keyring

sudo apt-get update

#Install all the packages from aptfiles.txt
cat ~/aptfiles.txt | xargs sudo apt-get -y  install --force-yes

sudo aptitude -y update && aptitude -y dist-upgrade

sudo /usr/share/doc/libdvdread3/install-css.sh
sudo fc-cache

#Installing Wine-Doors
sudo wget http://www.wine-doors.org/releases/wine-doors_0.1-1_all.deb
sudo dpkg -i wine-doors_0.1-1_all.deb

#Installing Picasa
sudo wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_2.7.3736-15_i386.deb
sudo dpkg -i picasa_2.7.3736-15_i386.deb

#Installing Opera
sudo wget ftp://ftp.wayne.edu/opera/linux/927/final/en/i386/static/opera-static_9.27-20080331.1-qt_en_i386.deb
sudo dpkg -i opera-static_9.27-20080331.1-qt_en_i386.deb

#Emerald-Themes
sudo wget http://mirrors.kernel.org/ubuntu/pool/universe/e/emerald-themes/emerald-themes_0.2.1-0ubuntu1_all.deb
sudo dpkg -i emerald-themes_0.2.1-0ubuntu1_all.deb

#Installing RealPlayer 11 GOLD
sudo wget http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.bin
sudo chmod 770 RealPlayer11GOLD.bin
sudo ./RealPlayer11GOLD.bin
cd /usr/lib/firefox-addons/plugins
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.xpt nphelix.xpt
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.so nphelix.so
sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/

exit
Subsequently, save the file and close kate.
Running the script

Run the following commands:
Code:
sudo chmod +x ./aptfiles-install-script

sudo ./aptfiles-install-script

Or skip all that ..

This is a script to automate the installation of all those extra stuff after you have installed Hardy (like automatix before) :



Code:
wget http://ultamatix.com/download/ultamatix-1.8.0-3_all.deb

sudo dpkg -i ultamatix-1.8.0-3_all.deb
This will install all the packages required for ultamatix.





#Note#
This script contains libdvdcss look here if you live in the U.S. !.
DeCSS - Wikipedia, the free encyclopedia


Let me know if anybody else finds it useful

Mikorist
Page copy protected against web site content infringement by Copyscape

Published by
Mikorist's Avatar
TST Member
Join Date: Sep 2008
Location: Belgrade, Serbia
Posts: 70
Reputation: Mikorist is on a distinguished road


Applies to
Linux OS

Tutorial Tools
  Top
Old 6th October 2008, 11:18 PM
wladicus's Avatar
TST Expert
 
Join Date: Sep 2008, 831 posts.
Location: St. Thomas, Ontario, Canada
Reputation: wladicus is on a distinguished road
Hi Mikorist,
Your tutorial looks interesting. I am trying to use the quick method you show at the bottom of your tutorial and I get the following message:
Quote:
root@ubuntu:~# dpkg -i ultamatix-1.8.0-3_all.deb
Selecting previously deselected package ultamatix.
(Reading database ... 140732 files and directories currently installed.)
Unpacking ultamatix (from ultamatix-1.8.0-3_all.deb) ...
dpkg: dependency problems prevent configuration of ultamatix:
ultamatix depends on tango-icon-theme-common; however:
Package tango-icon-theme-common is not installed.
ultamatix depends on tango-icon-theme; however:
Package tango-icon-theme is not installed.
ultamatix depends on python-gnome2-extras; however:
Package python-gnome2-extras is not installed.
dpkg: error processing ultamatix (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ultamatix
Does this mean that I have to load all those missing packages into my Kubuntu or that I have to copy and execute the code you showed earlier?
Thank you,
walt
By the way - Nice work on your tutuorial.
__________________
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
joy,

walt
St. Thomas, Ontario, Canada = 42.77°N, 81.11°W =
That which appears to be without lies within...wladicus
->http://wladicus.blogspot.com/
Reply With Quote
  Top
Old 7th October 2008, 08:53 AM
alan2273's Avatar
TST Enthusiast
 
Join Date: Jan 2008, 331 posts.
Location: rowley regis
Reputation: alan2273 is on a distinguished road
I have just tried that script and got the same.

[sudo] password for alan:
Selecting previously deselected package ultamatix.
(Reading database ... 94899 files and directories currently installed.)
Unpacking ultamatix (from ultamatix-1.8.0-3_all.deb) ...
dpkg: dependency problems prevent configuration of ultamatix:
ultamatix depends on tango-icon-theme-common; however:
Package tango-icon-theme-common is not installed.
ultamatix depends on tango-icon-theme; however:
Package tango-icon-theme is not installed.
ultamatix depends on python-gnome2-extras; however:
Package python-gnome2-extras is not installed.
dpkg: error processing ultamatix (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ultamatix
alan@alans ~ $
Reply With Quote
  Top
Old 7th October 2008, 09:33 AM
Mikorist's Avatar
TST Member
 
Join Date: Sep 2008, 70 posts.
Location: Belgrade, Serbia
Reputation: Mikorist is on a distinguished road
Quote:
Originally Posted by alan2273 View Post
I have just tried that script and got the same.

[sudo] password for alan:
Selecting previously deselected package ultamatix.
(Reading database ... 94899 files and directories currently installed.)
Unpacking ultamatix (from ultamatix-1.8.0-3_all.deb) ...
dpkg: dependency problems prevent configuration of ultamatix:
ultamatix depends on tango-icon-theme-common; however:
Package tango-icon-theme-common is not installed.
ultamatix depends on tango-icon-theme; however:
Package tango-icon-theme is not installed.
ultamatix depends on python-gnome2-extras; however:
Package python-gnome2-extras is not installed.
dpkg: error processing ultamatix (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ultamatix
alan@alans ~ $

tango-icon-theme-common & python-gnome2-extras
is not installed.

just type after that: (in Kubuntu)

Code:
sudo apt-get -f install
If "apt-get -f install" does correct the problem :

Code:
sudo aptitude install tango-icon-theme-common python-gnome2-extras

ultamatix-1.8.0-4 removed dependencies for tango-icon-theme-common & tango-icon-theme


Code:
wget http://ultamatix.com/download/ultamatix-1.8.0-4_all.deb

sudo dpkg -i ultamatix-1.8.0-4_all.deb

sudo apt-get -f install

after that

go to--->all aplications--->System--->Ultamatix Software installer

P.S.
Ultamatix is playing "Wood Cutter" nasty, noisy sound first time.
Turn Off the PC-Speaker...

Ultamatix is designed to work only with Ubuntu 8.04 (Hardy Heron)32/64 bit.
Install 101 Applications in One click.

Tutorial - before all this is for case that Ultamatix not work...


__________________
YouCanMail.Me

Last edited by Mikorist; 7th October 2008 at 10:22 AM.
Reply With Quote
  Top
Old 7th October 2008, 04:42 PM
alan2273's Avatar
TST Enthusiast
 
Join Date: Jan 2008, 331 posts.
Location: rowley regis
Reputation: alan2273 is on a distinguished road
Mikorist, sudo apt-get -f install will work with Kubuntu, Ubuntu and Linux Mint provided you have 8.04.
I found the answer last night, by googleing the problem, but thanks for posting the answer. before I read this post I had put a reply to wladicus about how to install the missing dependencies.
I am currently running the 64 bit version of Linux Mint and after issuing the above command, there were no problems.

Last edited by alan2273; 7th October 2008 at 04:48 PM.
Reply With Quote
  Top
Old 7th October 2008, 05:22 PM
wladicus's Avatar
TST Expert
 
Join Date: Sep 2008, 831 posts.
Location: St. Thomas, Ontario, Canada
Reputation: wladicus is on a distinguished road
Thank you Mikorist, thank you Alan.
__________________
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
joy,

walt
St. Thomas, Ontario, Canada = 42.77°N, 81.11°W =
That which appears to be without lies within...wladicus
->http://wladicus.blogspot.com/
Reply With Quote
  Top
Old 7th October 2008, 05:58 PM
Mikorist's Avatar
TST Member
 
Join Date: Sep 2008, 70 posts.
Location: Belgrade, Serbia
Reputation: Mikorist is on a distinguished road
NOTE
read this post about Ultamatix! :


http://www.techsupportteam.org/forum...html#post38823

__________________
YouCanMail.Me
Reply With Quote
  Top
Old 7th October 2008, 06:36 PM
wladicus's Avatar
TST Expert
 
Join Date: Sep 2008, 831 posts.
Location: St. Thomas, Ontario, Canada
Reputation: wladicus is on a distinguished road
Mikorist,
I have installed Ultamatix and now it is installing all those programs... Still installing - takes a long time.
Quote:
P.S.
Ultamatix is playing "Wood Cutter" nasty, noisy sound first time.
Turn Off the PC-Speaker...
I did not get any sound playing the first time. In fact, after I installed Ultamatix, I had to run it 2 times. The first time only a warning screen came up about not using the US copyrighted codex, and that was it! Then I clicked on Ultamatix in the applications->Systems menu the second time, and the main screen appeared on top of the copyright notice this time. Everything worked fine after that, but still no sound. It is still running as I type this note.
Thanks -
__________________
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
joy,

walt
St. Thomas, Ontario, Canada = 42.77°N, 81.11°W =
That which appears to be without lies within...wladicus
->http://wladicus.blogspot.com/
Reply With Quote
  Top
Old 7th October 2008, 08:43 PM
Jason's Avatar
Super Moderator
 
Join Date: Oct 2007, 2,181 posts.
Reputation: Jason will become famous soon enoughJason will become famous soon enough
Moved to "Members' Tutorials".
Reply With Quote
Comment

Only registered members can participate in forum threads. You must register or log in to contribute.


Tags
automatix, linux, script, ubuntu

Tutorial Tools

Forum Jump


All times are GMT. The time now is 04:28 PM.