Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing CDF player for Wolfram Alpha
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sat Aug 13, 2011 11:11 pm    Post subject: Installing CDF player for Wolfram Alpha Reply with quote

Hi,

I have downloaded the CDF player for Wolfram Alpha but need to know how to install it.

I'm using Mint 11.

When I click the downloaded file I get the following message...

Could not open the file /home/peter/Downloads/CDFPlayer_8.0.3_LINUX.sh.

Hopefully someone can help me install this.

Regards,

Peter Sullivan.
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 12:39 am    Post subject: Reply with quote

You need to make it executable... open a terminal and enter:

Code:
chmod +x /home/peter/Downloads/CDFPlayer_8.0.3_LINUX.sh


Hit enter.

Now try clicking on the file.

or after making it executable, run it from the terminal with:

Code:
cd /home/peter/Downloads/

then
Code:
./CDFPlayer_8.0.3_LINUX.sh

_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 1:00 am    Post subject: Reply with quote

Thank you.

This is what I get from terminal...

Wolfram CDF Player Installer
--------------------------------------------------------------------------------

Copyright (c) 1988-2011 Wolfram Research, Inc. All rights reserved.

WARNING: Mathematica and Wolfram CDF Player are protected by copyright law
and international treaties. Unauthorized reproduction or distribution may
result in severe civil and criminal penalties and will be prosecuted to the
maximum extent possible under law.

Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
>

Error: User "" cannot write to .

You may need to be logged in as root to continue with this installation.

Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
>

How do I proceed from here? I don't have a clue how to "log in as root"

Please help.
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 1:03 am    Post subject: Reply with quote

run it from a terminal with:

Code:
cd /home/peter/Downloads/


then

Code:
sudo ./CDFPlayer_8.0.3_LINUX.sh


hit enter, and your password when asked.
_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 1:16 am    Post subject: Reply with quote

Thanks, I did all that but when I go into Wolfram Alpha I can't find anything to turn on the CDF Player, and this is the output from terminal..

peter@zebidee ~ $ cd /home/peter/Downloads/
peter@zebidee ~/Downloads $ sudo ./CDFPlayer_8.0.3_LINUX.sh
[sudo] password for peter:
Mathematica Player 8.0.3 for LINUX Installer Archive

Verifying archive integrity.
Extracting installer. .......................................................................................................................

--------------------------------------------------------------------------------
Wolfram CDF Player Installer
--------------------------------------------------------------------------------

Copyright (c) 1988-2011 Wolfram Research, Inc. All rights reserved.

WARNING: Mathematica and Wolfram CDF Player are protected by copyright law
and international treaties. Unauthorized reproduction or distribution may
result in severe civil and criminal penalties and will be prosecuted to the
maximum extent possible under law.

Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
>

The selected directory contains files and/or directories that may be
overwritten during installation. If you have any files you wish to keep
in this directory, you should exit the installer and move the files to a
separate directory before continuing.

Overwrite directory (y/n)?
> y

Now installing...

[*****************************************************************************]

Type the directory path in which the Wolfram CDF Player script(s) will be
created, or press ENTER to select /usr/local/bin:
>

The scripts 'WolframCDFPlayer', 'wolframcdfplayer' already exist in the
directory /usr/local/bin. The following actions can be performed on the
existing file(s).

(1) Overwrite
(2) Rename

Type your selection, or press ENTER to select (1):
>


Installation complete.

peter@zebidee ~/Downloads $
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 1:37 am    Post subject: Reply with quote

Just open a terminal and enter:
Code:
wolframcdfplayer

and hit enter.

Or you can create a launcher on your desktop with wolframcdfplayer as the command.
_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 1:43 am    Post subject: Reply with quote

Thanks,
Still no luck, here is the output. What am I doing wrong?


peter@zebidee ~ $ WolframCDFPlayer
/usr/local/bin/WolframCDFPlayer: 233: /usr/local/Wolfram/CDFPlayer/8.0/SystemFiles/FrontEnd/Binaries/Linux/WolframCDFPlayer: not found
peter@zebidee ~ $ ~/Downloads $
bash: /home/peter/Downloads: Is a directory
peter@zebidee ~ $ ~/Downloads
bash: /home/peter/Downloads: Is a directory
peter@zebidee ~ $ WolframCDFPlayer
/usr/local/bin/WolframCDFPlayer: 233: /usr/local/Wolfram/CDFPlayer/8.0/SystemFiles/FrontEnd/Binaries/Linux/WolframCDFPlayer: not found
peter@zebidee ~ $ cd ~/Downloads
peter@zebidee ~/Downloads $ WolframCDFPlayer
/usr/local/bin/WolframCDFPlayer: 233: /usr/local/Wolfram/CDFPlayer/8.0/SystemFiles/FrontEnd/Binaries/Linux/WolframCDFPlayer: not found
peter@zebidee ~/Downloads $
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 1:48 am    Post subject: Reply with quote

I also created a launcher, but that did nothing at all.
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 1:58 am    Post subject: Reply with quote

OK, lets try installing it somewhere else...

Code:
sudo mkdir /opt/cdf

then
Code:
cd /home/peter/Downloads/

then
Code:
sudo ./CDFPlayer_8.0.3_LINUX.sh


When you you get to the part in the installer that says:

Quote:
Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
>


enter:
/opt/cdf

so it looks like:

Quote:
Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
>/opt/cdf


then hit enter.

When you you get to the part in the installer that says:

Quote:
Type the directory path in which the Wolfram CDF Player script(s) will be
created, or press ENTER to select /usr/local/bin:
>


enter:
/opt/cdf

so it looks like:

Quote:
Type the directory path in which the Wolfram CDF Player script(s) will be
created, or press ENTER to select /usr/local/bin:
>/opt/cdf


then hit enter

When it's finished installing... run it from a terminal with:
Code:
/opt/cdf/wolframcdfplayer

_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 2:06 am    Post subject: Reply with quote

Well I tried that and here is the output...


peter@zebidee ~ $ sudo mkdir /opt/cdf
[sudo] password for peter:
peter@zebidee ~ $ cd /home/peter/Downloads/
peter@zebidee ~/Downloads $ sudo ./CDFPlayer_8.0.3_LINUX.sh
Mathematica Player 8.0.3 for LINUX Installer Archive

Verifying archive integrity.
Extracting installer. .......................................................................................................................

--------------------------------------------------------------------------------
Wolfram CDF Player Installer
--------------------------------------------------------------------------------

Copyright (c) 1988-2011 Wolfram Research, Inc. All rights reserved.

WARNING: Mathematica and Wolfram CDF Player are protected by copyright law
and international treaties. Unauthorized reproduction or distribution may
result in severe civil and criminal penalties and will be prosecuted to the
maximum extent possible under law.

Enter the installation directory, or press ENTER to select
/usr/local/Wolfram/CDFPlayer/8.0:
> /opt/cdf

Now installing...

[*****************************************************************************]

Type the directory path in which the Wolfram CDF Player script(s) will be
created, or press ENTER to select /usr/local/bin:
>

The scripts 'WolframCDFPlayer', 'wolframcdfplayer' already exist in the
directory /usr/local/bin. The following actions can be performed on the
existing file(s).

(1) Overwrite
(2) Rename

Type your selection, or press ENTER to select (1):
> 1


Installation complete.

peter@zebidee ~/Downloads $ /opt/cdf/wolframcdfplayer
bash: /opt/cdf/wolframcdfplayer: No such file or directory
peter@zebidee ~/Downloads $ cd/
bash: cd/: No such file or directory
peter@zebidee ~/Downloads $ cd
peter@zebidee ~ $ /opt/cdf/wolframcdfplayer
bash: /opt/cdf/wolframcdfplayer: No such file or directory
peter@zebidee ~ $
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 2:16 am    Post subject: Reply with quote

Thanks PCNetSpec but I really need to sleep now. I will look for a reply tomorrow and persevere with this. Thanks very much for all the help so far, but it seems that anything I want to install always takes several hours. I've had similar problems installing QB64 and VirtualBox, but they are working fine now thanks to a friend who sorted it hands on.
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 2:20 am    Post subject: Reply with quote

You didn't enter /opt/cdf at the second prompt (where it asked you where to put the scripts)

First try running it with:
Code:
wolframcdfplayer

in a terminal, and hit enter... and see if it loads.

if that doesn't work, you'll want to delete the /opt/cdf directory with:
Code:
sudo rm -r /opt/cdf

(double check you entered the above command correctly BEFORE running it)

and start again with my last instructions... but enter /opt/cdf at BOTH prompts.

====================================

Once you've got it installed and working... the best way to get a launcher on your desktop with an icon to suit, is to enter these 2 commands in a terminal

Code:
cp /opt/cdf/SystemFiles/Installation/wolfram-mathematicaplayer8.desktop ~/Desktop/wolfram-mathematicaplayer8.desktop

(that's all one line, so probably best to copy/paste it into the terminal)

then

Code:
chmod +x ~/Desktop/wolfram-mathematicaplayer8.desktop

_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 10:15 pm    Post subject: Reply with quote

Hi PCNetSpec, I was very tired last night at after 2 in the morning and pressed enter instead of what you said. I went through it all again today exactly as per your instructions and it told me installation was complete. As you will see from the following it would not run, just nothing happened. I then created the icon on the desktop successfully but on clicking it nothing happens. Thanks very much, do you have any further ideas?

peter@zebidee ~ $ wolframcdfplayer
/usr/local/bin/wolframcdfplayer: 233: /opt/cdf/SystemFiles/FrontEnd/Binaries/Linux/WolframCDFPlayer: not found
peter@zebidee ~ $ /opt/cdf/wolframcdfplayer
/opt/cdf/wolframcdfplayer: 233: /opt/cdf/SystemFiles/FrontEnd/Binaries/Linux/WolframCDFPlayer: not found
peter@zebidee ~ $ cd ~/downloads
bash: cd: /home/peter/downloads: No such file or directory
peter@zebidee ~ $ cp /opt/cdf/SystemFiles/Installation/wolfram-mathematicaplayer8.desktop ~/Desktop/wolfram-mathematicaplayer8.desktop
peter@zebidee ~ $ chmod +x ~/Desktop/wolfram-mathematicaplayer8.desktop
peter@zebidee ~ $
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 623
Location: Cornwall UK

PostPosted: Sun Aug 14, 2011 10:30 pm    Post subject: Reply with quote

Ther's something very weird going on here... it worked for me.

Which Linux distro/version are you using ?

Where did you get the CDFPlayer_8.0.3_LINUX.sh file ?

And what is the output from:
Code:
ls -a /opt/cdf/SystemFiles/FrontEnd/Binaries/Linux


[EDIT]

Can you also post the output from:
Code:
md5sum /home/peter/Downloads/CDFPlayer_8.0.3_LINUX.sh


it *should* read:
Quote:
23e97c7a16bcbdd5b3f198b8ae15035b /home/peter/Downloads/CDFPlayer_8.0.3_LINUX.sh
Quote:

_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum


Last edited by PCNetSpec on Sun Aug 14, 2011 10:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
petersull



Joined: Sat Aug 13, 2011 11:03 pm
Posts: 13
Location: UK

PostPosted: Sun Aug 14, 2011 10:41 pm    Post subject: Reply with quote

I am using Linux Mint 11 Katya.

I downloaded the CDF player from the link on the Wolfram Alpha site.

This is the output you wanted...

peter@zebidee ~ $ ls -a /opt/cdf/SystemFiles/FrontEnd/Binaries/Linux
. .. .CreationID espeak gltest nbcat sicheck WolframCDFPlayer
peter@zebidee ~ $
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast