Simeon 0 Posted April 3, 2016 Share Posted April 3, 2016 I am new on linux and i am doing this... downloading the energia then following this steps Installing EnergiaOpen a terminal and cd to your how directory: cd ~ unpack the energia using tar.tar -tzf /energia-0101E00XYZ-linux64.tgz Starting EnergiaIn a terminal cd to the directory where you have unpacked Energia. e.g. /home/username/energia-0101E00XYZ-linux64/ and run: ./energia & and getting this error ---------------------------------------------------------------------------------------------------------- simeon@Aimyni:~$ cd ~simeon@Aimyni:~$ tar -tzf /energia-0101E00XYZ-linux64.tgztar (child): /energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2---------------------------------------------------------------------------------------------------------- Quote Link to post Share on other sites
energia 485 Posted April 3, 2016 Share Posted April 3, 2016 There was a mistake in the instructins. I just corrected it: http://energia.nu/guide/guide_linux/ It should be: - Open a terminal and cd to your how directory: cd ~ - unpack the energia using tar. tar -xzf <directory you downloaded Energia>/energia-0101E00XYZ-linux64.tgz To Run Energia: In a terminal cd to the directory where you have unpacked Energia. e.g. /home/username/energia-0101E00XYZ-linux64/ ./energia & Robert Simeon and otto949otto 2 Quote Link to post Share on other sites
Simeon 0 Posted April 4, 2016 Author Share Posted April 4, 2016 simeon@Aimyni:~$ cd ~simeon@Aimyni:~$ tar -xzf /home/simeon/downloads/energia-0101E00XYZ-linux64.tgztar (child): /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting nowsimeon@Aimyni:~$ ^Csimeon@Aimyni:~$ tar -xzf /home/simeon/downloads/energia-0101E00XYZ-linux64.tgztar (child): /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting nowsimeon@Aimyni:~$ ^Csimeon@Aimyni:~$ What i am doing wrong? Quote Link to post Share on other sites
mcenhillk 3 Posted April 4, 2016 Share Posted April 4, 2016 From the terminal session you posted, I'm guessing either the file isn't where you are telling the tar command where it is or the download is corrupted somehow and is not a valid file. If you are 100% positive that you have the path and filename correct, would redownload the file. Mac Simeon 1 Quote Link to post Share on other sites
roadrunner84 466 Posted April 4, 2016 Share Posted April 4, 2016 Note that Linux filenames are case sensitive, so /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz and /home/simeon/Downloads/energia-0101E00XYZ-linux64.tgz are not the same file! Note the capital D in Downloads. Simeon 1 Quote Link to post Share on other sites
Simeon 0 Posted April 4, 2016 Author Share Posted April 4, 2016 Someone wanna help me with the installation on teamviewer ? still have some errors.. Quote Link to post Share on other sites
roadrunner84 466 Posted April 4, 2016 Share Posted April 4, 2016 Oh, and in 0101E0XYZ you are supposed to replace the XYZ with the actual version number probably 017 or the like. Hint: when you type a part of a file/directory name, press the <Tab> button to make the terminal expand the name, if it has multiple options, press <Tab> again to list them, if none are listed, you started a file/directory name that does not exist. simeon@Aimyni:~$ tar -xzf /home/simeon/d <tab> simeon@Aimyni:~$ tar -xzf /home/simeon/d <tab> simeon@Aimyni:~$ tar -xzf /home/simeon/D <tab> <tab> Documents/ Downloads/ simeon@Aimyni:~$ tar -xzf /home/simeon/Dow <tab> simeon@Aimyni:~$ tar -xzf /home/simeon/Downloads/ simeon@Aimyni:~$ tar -xzf /home/simeon/Downloads/en <tab> simeon@Aimyni:~$ tar -xzf /home/simeon/Downloads/energia-0101E0017-linux64.tgz <enter> Quote Link to post Share on other sites
Simeon 0 Posted April 4, 2016 Author Share Posted April 4, 2016 simeon@Aimyni:~$ cd~No command 'cd~' found, did you mean: Command 'cdo' from package 'cdo' (universe) Command 'cd5' from package 'cd5' (universe) Command 'cdw' from package 'cdw' (universe) Command 'cdp' from package 'irpas' (multiverse) Command 'cdi' from package 'cdo' (universe) Command 'cdb' from package 'tinycdb' (main) Command 'cde' from package 'cde' (universe) Command 'cdv' from package 'codeville' (universe)cd~: command not foundsimeon@Aimyni:~$ tar -xzf /home/simeon/Downloads/energia-0101E0017-linux.tgztar (child): /home/simeon/Downloads/energia-0101E0017-linux.tgz: Cannot open: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting nowsimeon@Aimyni:~$ ^Csimeon@Aimyni:~$ ^Csimeon@Aimyni:~$ Quote Link to post Share on other sites
Frida 4 Posted April 4, 2016 Share Posted April 4, 2016 You always need to have a space after cd.for example cd ~ or cd /home/myname/directory Quote Link to post Share on other sites
roadrunner84 466 Posted April 5, 2016 Share Posted April 5, 2016 On Windows/DOS you can type cd~, on any other system, you must put a space between the command "cd" and the parameter "~". try listing the directories, to make sure you have the correct file and path name. cd ~ ls # is Downloads there? cd Dow<tab> ls # is energia..... there? cd ~ tar -xzf ~/Dow<tab>ene<tab> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.