LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tcl and perl on Fedora? (https://www.linuxquestions.org/questions/linux-newbie-8/tcl-and-perl-on-fedora-187387/)

jfowles 05-29-2004 01:36 PM

tcl and perl on Fedora?
 
I have recently installed fedora 1.

I need to get perl and tcl on linux. I have been told that these packages should be already on Fedora. I managed to find perl (through the menu - System Tools - Add/Remove programs - and under development tools). The thing is when I ticked this and pressed update, the installation caused an error and cancelled. It asked me to insert Fedora disk 2, I did this and it cancelled with an error just saying error caused. The cd is fine as it worked ok when installing Fedora.

I am assuming it is not working due to no internet connection provided. I don't have internet access on Fedora, only on Windows. Therefore, I have been trying to get perl and tcl off the web via Windows and install using the files off cd onto Fedora. The links below are where I have downloaded them from (have to quickly register with only several fields to go to download page).

(all linux versions)

perl - activestate.com/Products/ActivePerl/[/url]

tcl - activestate.com/Products/ActiveTcl/[/url]


I have put these files on a cd, and when running Fedora inserted the cd. I clicked on the cd icon on the desktop. The readme said to run the install.sh file. I am assuming I need to open the terminal and run the file through that. I was just wondering how I access the file in the directory to run it?
I have tried ./ActivePerl5.8.0.0b2/install.sh in the terminal to run the install file but it cannot recognise it.

Could someone please tell me how I would run a file that is on cd?


Any suggestions much appreciated, Jack

JimBass 05-29-2004 02:54 PM

Jack,

I believe your problem is that you weren't in the correct directory to run the install.sh program. Since it is on cd, I would try this:

[john@localhost john] /mnt/cdrom/ActivePerl5.8.0.0b2/install.sh

and if that doesn't work, try:

[john@localhost john] cd /mnt/cdrom/ActivePerl5.8.0.0b2
then
[john@localhost ActivePerl5.8.0.0bs] ./install.sh

If I'm correct, you were trying to call the program from the location it isn't in.

It's like being in a DOS prompt on windows, and being at C:\documents and settings and trying to run a program from there, when the program is actually in
C:\program files\perl\ActivePerl\install.exe

If this isn't the case, post again and we'll try some other things.

jfowles 05-29-2004 08:50 PM

Thanks. Although, I could not get it to run through the terminal, using both ways. I ran it by clicking on it and run with terminal option.

However, after I installed tcl, I was looking for the actual program. I know this sounds stupid but do you know how tcl works, is it an actual program that I should have to open like other programming languages - i.e. java. I am asking this as I cannot find the program anywhere on my system, and wondered if was embedded into some other software possibly (a text editor), and how I would actually access it?

Also, this question also applies for Perl - is this a usable program?


Thanks, Jack Fowles


All times are GMT -5. The time now is 06:53 PM.