Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
materials
Commits
37a30dd3
Commit
37a30dd3
authored
13 years ago
by
Patrick Hallen
Browse files
Options
Downloads
Patches
Plain Diff
Install ROOT from the new FSMPI repository
parent
4f88390c
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
linuxparty.sh
+9
-14
9 additions, 14 deletions
linuxparty.sh
with
9 additions
and
14 deletions
linuxparty.sh
+
9
−
14
View file @
37a30dd3
...
@@ -67,20 +67,15 @@ if [ $answer -eq 1 ]; then
...
@@ -67,20 +67,15 @@ if [ $answer -eq 1 ]; then
echo
"Java, Haskell, Prolog und Eclipse wurden installiert"
;
echo
"Java, Haskell, Prolog und Eclipse wurden installiert"
;
elif
[
$answer
-eq
2
]
;
then
elif
[
$answer
-eq
2
]
;
then
#ROOT: Installiere 32 oder 64 bit
wget http://www.fsmpi.rwth-aachen.de/apt/osak@fsmpi.rwth-aachen.de.gpg.key
-O
fsmpi.key
if
uname
-m
|
grep
-q
x86_64
apt-key add fsmpi.key
then
rm
fsmpi.key
echo
"Installiere ROOT 64 bit"
echo
"deb http://www.fsmpi.rwth-aachen.de/apt/ oneiric main"
>
/etc/apt/sources.list.d/fsmpi-root.list
ROOTurl
=
"http://downloads.sourceforge.net/project/cernrootdebs/latest-recommended/root_5.30.01_amd64.deb"
apt-get
--quiet
update
ROOTfile
=
"
${
ROOTurl
##*/
}
"
apt-get
--quiet
install
-y
root-system libroot-core-dev libroot-bindings-python-dev
else
echo
"ROOT wurde installiert"
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
;
apt-get
--quiet
install
-y
python python-numpy python-simpy python-scipy python-matplotlib ipython python-dev gnuplot wxmaxima kmplot
;
echo
"Python inkl. einiger nützlicher Module wurde installiert"
elif
[
$answer
-eq
3
]
elif
[
$answer
-eq
3
]
then
echo
"Bitte wende dich an deine Professoren"
then
echo
"Bitte wende dich an deine Professoren"
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment