Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am facing a problem on installation of OpenFOAM.I am a beginner.I need to learn this for doing a simulation.But the problem is it has become difficult to install OpenFOAM.I have tried by using Ubuntu software center.

After searching OpenFOAM there comes an installation option.But when I am trying to install it is showing

Requires installation of untrusted packages

and in the details section it is showing

binutils-dev blcr-util csh flex g++ g++-4.7 libcr0 libfl-dev libibverbs-dev libibverbs1 libice-dev libopenmpi-dev libopenmpi1.3 libpthread-stubs0 libpthread-stubs0-dev libptscotch-5.1 libptscotch-dev libreadline-dev libreadline6-dev libscotch-5.1 libscotch-dev libsigsegv2 libsm-dev libstdc++6-4.7-dev libtinfo-dev libtorque2 libx11-6 libx11-dev libx11-doc libxau-dev libxcb1 libxcb1-dev libxdmcp-dev libxt-dev libxt6 m4 mpi-default-dev openfoam221 openmpi-bin openmpi-checkpoint openmpi-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev zlib1g-dev

Then I tried to install by using terminal from this link http://www.openfoam.org/download/ubuntu.php

VERS=$(lsb_release -cs)
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list" 

then I entered

sudo apt-get update

Reading package lists... Done

then I entered

$ sudo apt-get install openfoam230

35 upgraded, 85 newly installed, 0 to remove and 290 not upgraded.
Need to get 31.7 MB/199 MB of archives.
After this operation, 752 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Then I wrote y

WARNING: The following packages cannot be authenticated!
Install these packages without verification [y/N]? 

I wrote Y, it shows

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

At this step what should I do?Please suggest me.Thanks in advance

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.