ollebapur |
December 30, 2013 22:44 |
2.1.1 on ubuntu 11.10
Hi!! I am new to OpenFOAM, and I want to get it set up before the beginning of next semester. I am following the instructions on:
http://www.openfoam.org/archive/2.1....oad/ubuntu.php
It seems to be going well, until I have to modify the bashrc file, since I can't open it from the terminal, and if I open it manually, I'm not able to add the line "source /opt/openfoam211/etc/bashrc" at the end of the file (saying I don't have permission to do so).
Code:
ruben@ruben-VirtualBox:~$ VERS=$(lsb_release -cs)
ruben@ruben-VirtualBox:~$ sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list"
ruben@ruben-VirtualBox:~$ sudo apt-get update
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://www.openfoam.org oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://extras.ubuntu.com oneiric Release.gpg
Ign http://dk.archive.ubuntu.com oneiric InRelease
Ign http://dk.archive.ubuntu.com oneiric-updates InRelease
Ign http://dk.archive.ubuntu.com oneiric-backports InRelease
Hit http://security.ubuntu.com oneiric-security Release.gpg
Ign http://www.openfoam.org oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://dk.archive.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release
Ign http://www.openfoam.org oneiric Release
Hit http://dk.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric/main Sources
Ign http://www.openfoam.org oneiric/main amd64 Packages/DiffIndex
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://dk.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages
Ign http://www.openfoam.org oneiric/main i386 Packages/DiffIndex
Ign http://www.openfoam.org oneiric/main TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-updates Release
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-backports Release
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://dk.archive.ubuntu.com oneiric/main Sources
Hit http://dk.archive.ubuntu.com oneiric/restricted Sources
Hit http://dk.archive.ubuntu.com oneiric/universe Sources
Hit http://dk.archive.ubuntu.com oneiric/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://dk.archive.ubuntu.com oneiric/main amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric/main i386 Packages
Hit http://dk.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://dk.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://dk.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-updates/main Sources
Hit http://dk.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://dk.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://dk.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://dk.archive.ubuntu.com oneiric-updates/main amd64 Packages
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Hit http://dk.archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://dk.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://www.openfoam.org oneiric/main amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://www.openfoam.org oneiric/main i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-backports/main Sources
Hit http://dk.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://dk.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://dk.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://dk.archive.ubuntu.com oneiric-backports/main amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/universe amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://dk.archive.ubuntu.com oneiric/main Translation-en
Hit http://dk.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://dk.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://dk.archive.ubuntu.com oneiric/universe Translation-en
Hit http://dk.archive.ubuntu.com oneiric-updates/main Translation-en
Ign http://www.openfoam.org oneiric/main Translation-en_US
Hit http://dk.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://dk.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://dk.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://dk.archive.ubuntu.com oneiric-backports/main Translation-en
Ign http://www.openfoam.org oneiric/main Translation-en
Hit http://dk.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://dk.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://dk.archive.ubuntu.com oneiric-backports/universe Translation-en
Reading package lists... Done
ruben@ruben-VirtualBox:~$ sudo apt-get install openfoam211
Reading package lists... Done
Building dependency tree
Reading state information... Done
openfoam211 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 445 not upgraded.
ruben@ruben-VirtualBox:~$ sudo apt-get install paraviewopenfoam3120 Reading package lists... Done
Building dependency tree
Reading state information... Done
paraviewopenfoam3120 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 445 not upgraded.
ruben@ruben-VirtualBox:~$ gedit ~/.bashrc
Any idea of what am I doing wrong? Suggestions?
To those who read this, happy new year 2014!
Ruben
|