CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Install openFOAM from with proxy server

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2014, 09:40
Unhappy Install openFOAM from with proxy server
  #1
New Member
 
Deutschland
Join Date: May 2014
Posts: 12
Rep Power: 12
Dhruval is on a distinguished road
hallo,

i want to install openfoam and paraview in my Ubuntu 12.04 LTS, i have proxy server in my pc. so i couldnt install from deb pack via Terminal so i download and unpacked OpenFOAM and Third Party software folder in my HOME directory. now next step is

Dependent packages required for Ubuntu can be installed by executing the following command in a terminal:
apt-get install build essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev

i follow that to install dependent packages but didnt done.error messege poped up:

Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
libxt-dev is already the newest version.
libxt-dev set to manually installed.
build-essential is already the newest version.
libqt4-dev is already the newest version.
libqt4-dev set to manually installed.
qt4-dev-tools is already the newest version.
qt4-dev-tools set to manually installed.
gnuplot is already the newest version.
gnuplot set to manually installed.
The following packages were automatically installed and are no longer required:
  paraview-doc mpi-default-bin
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  cmake-data emacsen-common libbison-dev libfl-dev libreadline6-dev
  libtinfo-dev libxmlrpc-core-c3 m4
Suggested packages:
  bison-doc ncurses-doc
The following NEW packages will be installed:
  bison cmake cmake-data emacsen-common flex libbison-dev libfl-dev
  libncurses5-dev libreadline-dev libreadline6-dev libtinfo-dev
  libxmlrpc-core-c3 m4
0 upgraded, 13 newly installed, 0 to remove and 247 not upgraded.
Need to get 6,673 kB of archives.
After this operation, 19.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  m4 libfl-dev flex libbison-dev bison libxmlrpc-core-c3 emacsen-common
  cmake-data cmake libtinfo-dev libncurses5-dev libreadline6-dev
  libreadline-dev
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ precise/main m4 amd64 1.4.16-2ubuntu1
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main m4 amd64 1.4.16-2ubuntu1
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libfl-dev amd64 2.5.35-10ubuntu3
  407  Proxy Authorization Required
Err http://archive.ubuntu.com/ubuntu/ precise/main flex amd64 2.5.35-10ubuntu3
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main flex amd64 2.5.35-10ubuntu3
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libbison-dev amd64 1:2.5.dfsg-2.1
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main bison amd64 1:2.5.dfsg-2.1
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main emacsen-common all 1.4.22ubuntu1
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise-updates/main cmake-data all 2.8.7-0ubuntu5
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise-updates/main cmake amd64 2.8.7-0ubuntu5
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libtinfo-dev amd64 5.9-4
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libncurses5-dev amd64 5.9-4
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libreadline6-dev amd64 6.2-8
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise/main libreadline-dev amd64 6.2-8
  407  Proxy Authorization Required
Err http://de.archive.ubuntu.com/ubuntu/ precise-updates/main libxmlrpc-core-c3 amd64 1.16.33-3.1ubuntu5.1
  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/m/m4/m4_1.4.16-2ubuntu1_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/f/flex/libfl-dev_2.5.35-10ubuntu3_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/f/flex/flex_2.5.35-10ubuntu3_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/b/bison/libbison-dev_2.5.dfsg-2.1_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/b/bison/bison_2.5.dfsg-2.1_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/x/xmlrpc-c/libxmlrpc-core-c3_1.16.33-3.1ubuntu5.1_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/e/emacsen-common/emacsen-common_1.4.22ubuntu1_all.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_2.8.7-0ubuntu5_all.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.8.7-0ubuntu5_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libtinfo-dev_5.9-4_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libncurses5-dev_5.9-4_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6-dev_6.2-8_amd64.deb  407  Proxy Authorization Required
Failed to fetch http://de.archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline-dev_6.2-8_amd64.deb  407  Proxy Authorization Required
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
so please tell me what should i do ? can i get dependent software from other source ?
or without this software i can also work with OpenFOAM?
please share some idea..
thansk

Last edited by wyldckat; October 11, 2014 at 16:45. Reason: Added [CODE][/CODE]
Dhruval is offline   Reply With Quote

Old   October 11, 2014, 16:44
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Dhruval,

According to your description, I would say that the problem is in that you first need to configure apt-get to work with the proxy server. This should be easily found online, by searching for:
Code:
Ubuntu apt-get use proxy server
My first hit was this page: https://help.ubuntu.com/community/Ap...e_a_http-proxy

I don't use a proxy server myself, so I have no way of easily testing if this works. Either way, you might want to check the Ubuntu forums for this particular issue.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 14, 2014, 09:10
Default
  #3
New Member
 
Deutschland
Join Date: May 2014
Posts: 12
Rep Power: 12
Dhruval is on a distinguished road
thanks for your answer..i tried that . ist also not working :-(
Dhruval is offline   Reply With Quote

Old   October 18, 2014, 16:38
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
I've searched for "Ubuntu Proxy Authorization Required" and found that the following two threads should provide a solution:
In addition, before trying to install software with apt-get, run:
Code:
apt-get update
this will update apt-get's cache for knowing where to download from. If the proxy isn't properly configured for apt-get, it should complain right away when you call this update command.
wyldckat is offline   Reply With Quote

Reply

Tags
installation of open foam, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Any suggestions for a PC or server for using OpenFOAM? Tushar@cfd Hardware 9 July 17, 2014 04:35
Install OpenFoam on Redhat server maolongliu OpenFOAM Installation 4 May 25, 2010 03:47
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found fossy OpenFOAM Installation 1 August 28, 2009 05:06


All times are GMT -4. The time now is 23:45.