Related Posts Plugin for WordPress, Blogger...

Tuesday, March 29, 2011

geant4 direct installation for UBUNTU and DEBIAN

Here is the simplest installation method for geant4

Open terminal from Applications --> Accessories --> Terminal and type in:

sudo gedit /etc/apt/sources.list
Now add the following lines at the end of the file and then save it and close.


deb http://lcg-heppkg.web.cern.ch/lcg-heppkg/debian stable hep
deb-src http://lcg-heppkg.web.cern.ch/lcg-heppkg/debian stable hep
Now in the terminal type in:
sudo apt-get install cern-archive-keyring

This will resolve the following problem while updating:

W: GPG error: http://lcg-heppkg.web.cern.ch stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F464E3D84061544D

Now type in:

sudo apt-get update
sudo apt-get install geant4

That's all...

The root directory for geant4 installation is:

/usr/share/geant4

For post-installation settings follow the instructions in the post:



Cheers....
Print Friendly and PDF

13 comments:

  1. I get the following error;


    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    geant4 : Depends: libgeant4-dev but it is not going to be installed
    Depends: libgeant4-plists-dev but it is not going to be installed
    Depends: libg4opengl-dev but it is not going to be installed
    Depends: geant4-examples but it is not going to be installed
    E: Broken packages

    What am I supposed to do?

    ReplyDelete
  2. I am using Ubuntu 11.04 natty, I tried to follow the same directions in a friends computer as well, with the same OS. Unfortunately I got the same error.

    ReplyDelete
  3. I could be able to install it on Ubuntu natty 11.04.

    Please try it once again after taking all updates and upgrades.


    sudo apt-get update
    sudo apt-get dist-upgrade

    Then verify whether the above mentioned two lines are added to sources.list file properly or not.

    Then


    sudo apt-get update

    sudo apt-get install cern-archive-keyring

    sudo apt-get install geant4


    Hope it works...

    Please update the further status...

    Cheers,
    SANJEEV

    ReplyDelete
  4. Unfotunately it didn't work, I still get the same error...

    ReplyDelete
  5. ciao

    i whish to know if this issue was solved

    i'm using ubuntu 10.04

    when i try
    sudo apt-get install geant4

    i also get:
    The following packages have unmet dependencies:
    geant4: Depends: libgeant4-dev but it is not going to be installed
    Depends: libgeant4-plists-dev but it is not going to be installed
    Depends: libg4opengl-dev but it is not going to be installed
    Depends: geant4-examples but it is not going to be installed
    E: Broken packages

    ReplyDelete
  6. I have the same problem and I can't find any solution... Does anybody can help us?

    ReplyDelete
  7. Hi, I just gone through this blog, the information was really very valuable, would love to see more from you. i have also plenty of the same kind of content You can explore my blog by clicking the link below
    Digital marketing Institute in Delhi
    Digital marketing Institute in karol bagh
    Digital marketing course in Delhi
    Digital marketing course in karolbagh

    ReplyDelete
  8. Very nice information, it is valuable and useful to so many people. Thanks for sharing this blog. You can get your laptop repaired easily at your home by calling Laptop Spare Parts Dealer in Nehru Place offering services in Delhi NCR.

    ReplyDelete
  9. Nice Blog Thanks for sharing this post with a lot of useful information. I would like to get updates from you. Keep blogging..

    laptops under 200
    laptops under $200
    laptops under $300

    ReplyDelete
  10. I am using Ubuntu 11.04 natty, I tried to follow the same directions in a friends computer as well, with the same OS. Unfortunately I got the same error. alkaram lawn silk dupatta , 2 piece lawn suit online pakistan

    ReplyDelete