Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
materials
Commits
96797b1a
Commit
96797b1a
authored
Oct 12, 2011
by
Niklas Fischer
Browse files
Merge branch 'master' of github.com:niklasfi/Linux-Install-Party
parents
ad629aed
61b3c403
Changes
1
Show whitespace changes
Inline
Side-by-side
linuxparty.sh
View file @
96797b1a
...
...
@@ -11,25 +11,6 @@ then
fi
#Allgemeine Programme, Codecs, etc. installieren (VPN, LaTeX, gcc, Flash, unrar...)
echo
"Programme, die für alle Fachrichtungen interressant sind (VPN, LaTeX, Flash, unrar, etc.)"
echo
"Magst du mit der Installation dieser fortfahren? (y/n)"
read
allgemein
if
[
"
$allgemein
"
=
"y"
-o
"
$allgemein
"
=
"Y"
]
then
apt-get
-y
--quiet
install
ubuntu-restricted-extras
;
echo
"Codec Installation abgeschlossen"
;
apt-get
install
-y
build-essential gcc g++ make automake vpnc network-manager-vpnc pwgen
;
apt-get
install
texlive-full
;
echo
"Development Programme, VPN und LaTeX abgeschlossen"
;
else
echo
"Es wurde nichts installiert"
fi
#Medibuntu einbinden
echo
"Sollen die Medibuntu-Paketquellen hinzugefügt werden? (y/n)"
...
...
@@ -51,6 +32,23 @@ else
echo
"Es wurde nichts installiert"
fi
#Allgemeine Programme, Codecs, etc. installieren (VPN, LaTeX, gcc, Flash, unrar...)
echo
"Programme, die für alle Fachrichtungen interressant sind (VPN, LaTeX, Flash, unrar, etc.)"
echo
"Magst du mit der Installation dieser fortfahren? (y/n)"
read
allgemein
if
[
"
$allgemein
"
=
"y"
-o
"
$allgemein
"
=
"Y"
]
then
apt-get
-y
--quiet
install
ubuntu-restricted-extras
;
echo
"Codec Installation abgeschlossen"
;
apt-get
install
-y
build-essential gcc g++ make automake vpnc network-manager-vpnc pwgen
;
apt-get
install
texlive texlive-doc-de texlive-latex-extra texlive-lang-german
;
echo
"Development Programme, VPN und LaTeX abgeschlossen"
;
else
echo
"Es wurde nichts installiert"
fi
#Fachrichtung wählen
...
...
@@ -69,7 +67,19 @@ if [ $answer -eq 1 ]; then
echo
"Java, Haskell, Prolog und Eclipse wurden installiert"
;
elif
[
$answer
-eq
2
]
;
then
wget
-c
http://downloads.sourceforge.net/project/cernrootdebs/latest-recommended/root_5.30.01_amd64.deb
&&
dpkg
-i
root_5.30.01_amd64.deb
&&
rm
-f
root_5.30.01_amd64.deb
||
{
rm
-f
root_5.30.01_amd64.deb
;
echo
"Interner-Fehler beim Installieren von root"
;
exit
1
;
}
#ROOT: Installiere 32 oder 64 bit
if
uname
-m
|
grep
-q
x86_64
then
echo
"Installiere ROOT 64 bit"
ROOTurl
=
"http://downloads.sourceforge.net/project/cernrootdebs/latest-recommended/root_5.30.01_amd64.deb"
ROOTfile
=
"
${
ROOTurl
##*/
}
"
else
echo
"Installiere ROOT 32 bit"
# Achtung: Single-Quotes wegen Ausrufungszeichne in der URL
ROOTurl
=
'http://downloads.sourceforge.net/project/cernrootdebs/32bits!/root_5.28.00c_i386.deb'
ROOTfile
=
"
${
ROOTurl
##*/
}
"
fi
wget
-c
"
${
ROOTurl
}
"
-O
"
${
ROOTfile
}
"
&&
dpkg
-i
"
${
ROOTfile
}
"
&&
rm
-f
"
${
ROOTfile
}
"
&&
ln
-s
/opt/root/bin/root /usr/bin/
||
{
rm
-f
"
${
ROOTfile
}
"
;
echo
"Interner-Fehler beim Installieren von ROOT. Helfer fragen."
;
exit
1
;
}
apt-get
--quiet
install
-y
python python-numpy python-simpy python-scipy python-matplotlib ipython python-dev gnuplot wxmaxima kmplot
;
elif
[
$answer
-eq
3
]
then
echo
"Bitte wende dich an deine Professoren"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment