Jump to content
Sign in to follow this  
Simeon

Cant install Energia on ubuntu help

Recommended Posts

I am new on linux and i am doing this... downloading the energia then following this steps

Installing Energia
  • Open a terminal and cd to your how directory:
     cd ~
  • unpack the energia using tar.
    tar -tzf /energia-0101E00XYZ-linux64.tgz
Starting Energia

In 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.tgz
tar (child): /energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
----------------------------------------------------------------------------------------------------------

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

simeon@Aimyni:~$ cd ~
simeon@Aimyni:~$ tar -xzf /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz
tar (child): /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
simeon@Aimyni:~$ ^C
simeon@Aimyni:~$ tar -xzf /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz
tar (child): /home/simeon/downloads/energia-0101E00XYZ-linux64.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
simeon@Aimyni:~$ ^C
simeon@Aimyni:~$

What i am doing wrong?

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

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 found
simeon@Aimyni:~$ tar -xzf /home/simeon/Downloads/energia-0101E0017-linux.tgz
tar (child): /home/simeon/Downloads/energia-0101E0017-linux.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
simeon@Aimyni:~$ ^C
simeon@Aimyni:~$ ^C
simeon@Aimyni:~$

 

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×