Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Stata on Linux (Kanotix distro)


From   "JP Azevedo" <[email protected]>
To   <[email protected]>
Subject   RE: st: Stata on Linux (Kanotix distro)
Date   Mon, 9 Jan 2006 16:16:57 -0200

Dear Neil,

Many thanks for your prompt reply, and I apologize for the lack of details.
Kanotix is a Debian distribution which is optimized for notebook users.
I was getting a "permission denied" type of error. 

I've followed your suggestion, and was able to follow the prompts, where I
choose to install the Linux version, 32 bits, dynamically linked. Everything
was running ok, until the last option, where I got an "installation script
error". The mount point for the CD-ROM of this Linux distribution is
/dev/cdrom0/.

Any further help will be much appreciated.

Cheers,

JP



-----Original Message-----
From: Neil Shephard [mailto:[email protected]] 
Sent: Monday, January 09, 2006 2:11 PM
To: [email protected]
Cc: [email protected]
Subject: Re: st: Stata on Linux (Kanotix distro)

On 1/9/06, JP Azevedo <[email protected]> wrote:
> Hello,
>
> I'm a newbie in the Linux world.
>
> I've just installed Kanotix 2005-04 in my Toshiba Notebook M55 and
> everything is fine, however I'm having trouble installing Stata on it and
> I'm having trouble understanding the documentation.
>
> The documentation states that I should the following:
>
> (1) [root@statlinux root]# mkdir /usr/local/stata
> (2) [root@statlinux root]# cd /usr/local/stata
> (3) [root@statlinux stata]# /mnt/cdrom/install
>
> I've managed to successfully implement steps 1 and 2, however I don't seem
> to be able to run the installation script with command line described
above.
>

You don't indicate the error message you are recieving which is kind
of critical if you want others to help, since it is this information
(in addition to what you have typed which you have included :) that is
informative and allows others to provide advice assistance (this is
explained in the Statalist FAQ, but is also of broad application to
any postings soliciting help with problems).

I can see two possible errors...

1) Your CD is not mounted

Solution...
mount /mnt/cdrom

(This assumes that a) you have permission to mount and unmount drives;
b) the mount point for the CD-ROM on your isntallation is /mnt/cdrom. 
I'm not familiar with Kanotix, but check the distribution
documentation to check this).

2) Your getting a "Permission denied" type error.

You can work around this by doing the following...

Copy the following files to /usr/local/stata (assuming of course your
CD-ROM is mounted) by typing the following commands (note the # at the
prompt indicates that you are root user, and are not used as
comments)..

# cp /mnt/cdrom/install /usr/local/stata/.
# cp -R /mnt/cdrom/unix /usr/local/stata/.

Then change directory to where you have just copied the files...
# cd /usr/local/stata

Then run the install script adapting the instructions described in the
"Getting Started with Stata UNIX"...
# ./install

..and follow the prompts.

If neither of these resolve your problem then you'll have to post more
information regarding the error messages that are reported.

HTH's

Neil
--
Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index