0

in order to installing MadGraph,which is a physicist app showing Feynmman digrams for production of particles, I have download a version,then I have try to untar it using

$ tar zxvf MG5_aMC_v2.7.0.tar.gz 

my working directory shows:

tar (child): MG5_aMC_v2.7.0.tar.gz : open impossible: Aucun fichier ou dossier de ce type
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

any help, please

12
  • No such file or folder : Include the path to MG5_aMC_v2.7.0.tar.gz → tar xvf [path to directory with]/MG5_aMC_v2.7.0.tar.gz Feb 20, 2020 at 18:42
  • thanks a lot , it is on desktop; can you tell me what shall I write instead [path to directory]
    – mohammed
    Feb 21, 2020 at 21:12
  • OK, your location is Desktop/ ( Please check location with the pwd command.) ... Then do tar xvf ../Downloads/ MG5_aMC_v2.7.0.tar.gz ... i.e. if your MG5 package is located in Downloads/ Feb 22, 2020 at 1:02
  • @KnudLarsen ,I can't express my gratitude to you, Now it is work; thank you veery much for your help
    – mohammed
    Feb 22, 2020 at 17:23
  • @KnudLarsen , there is a little probleme after using: $ cd MG5_aMC_v2_7_0, terminal show: ~/MG5_aMC_v2_7_0$ ;then after using: $ ./bin/mg5_aMC ;this to start MG5_aMC shell: MG5_aMC> ; but my terminal show: :~/MG5_aMC_v2_7_0$ ./bin/mg5_aMC /usr/bin/env: «python»: Aucun fichier ou dossier de ce type
    – mohammed
    Feb 22, 2020 at 20:40

2 Answers 2

0

installing app, MADGRAPH: $ tar zxvf MG5_aMC_v2.7.0.tar.gz

tar (child): MG5_aMC_v2.7.0.tar.gz : open impossible : No such file or folder

No such file or folder : Include the path to MG5_aMC_v2.7.0.tar.gz

tar xvf [path to directory with]/MG5_aMC_v2.7.0.tar.gz

Ref. comment : Your location is Desktop/ ( Please check location with the pwd command.) Then please do

tar xvf ../Downloads/MG5_aMC_v2.7.0.tar.gz

I.e. if your MG5 package is located in Downloads/


Ref. comment Feb 26 2020 : Please update the package list →

sudo apt update && sudo apt install --reinstall python
sudo apt install gfortran
0

Your tar.gz seems to be broken and can't be unpacked. Maybe there was a glitch while you downloaded it, or it has been broken some other way. You need to get a new, fresh copy.

I don't know about MADGRAPH, but for many apps you can get checksums. You download the package, compute the checksum and compare it with the checksum the package should have. Those checksums are typically hashes built with algorithms like SHA-256. For example, Anaconda has the correct checksums listed on their website.

To compute the checksum for the file you downloaded, you can use a tool like md5sum, sha256sum or similar, depending on the algorithm used.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .