LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-03-2006, 04:31 PM   #1
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Rep: Reputation: 15
python-idle missing in suse10.0 install CD's


Hi,
I am installing python on a PC that has only a CD ROM (no DVD). On suse10.0 install CD's there is Python with some modules, but no python-idle or "eric". As the work that I do with Python is intended for both the Linux and Windows worlds, I want to have IDLE in order to write Python scripts on that old PC.

The suse10.0 installation DVD has IDLE and "eric".

My question is, if I copy appropriate rpm files onto the CD media from the DVD, how can I install those packages onto a PC with CD ROM only. In particular, what do I need to do to resolve the conflicts, viz. missing tk, tkinter etc.?

I would be most grateful for some direction. All suggestions will be appreciated and I thank you in advance.

OldAl in down-under Canberra.
 
Old 11-04-2006, 10:56 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You might try installing apt4suse. Run apt update to get up to date lists of available packages from the SuSE apt repositories. Apt-get is the tool to download and install packages (including dependencies), but there is a -d option for 'download only'. So, apt-get -d python-idle (or whatever it's called in the repo), along with the dependencies, and burn them all to the same cd.
 
Old 11-04-2006, 11:16 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There is a program called pyshell:
which pyshell
/usr/bin/pyshell
jschiwal@hpmedia:~> rpm -qf /usr/bin/pyshell
python-wxGTK-2.6.2.1-20
 
Old 11-05-2006, 03:46 PM   #4
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigrigdriver
You might try installing apt4suse. Run apt update to get up to date lists of available packages from the SuSE apt repositories. Apt-get is the tool to download and install packages (including dependencies), but there is a -d option for 'download only'. So, apt-get -d python-idle (or whatever it's called in the repo), along with the dependencies, and burn them all to the same cd.
Thank you for the suggestion. I have used apt on other occasions, but missed on the -d (download only) option. What bugs me is that the rpm for idle and all packages on which it depends are already in the DVD version, so it should be possible to extract the information from the DVD for installation onto a PC which only has CD-ROM.

Novell-suse also irks me by apparently excluding IDLE from the python package. The Python web site says clearly that IDLE is now part of the Python package, so why is it being removed by a distro? Or is it that my knowledge is too limited and I simply don't know where to find it?

Thank you again for your reply - it helps me to get to grips with these distro problems.

OldAl in down-under Canberra.
 
Old 11-05-2006, 04:00 PM   #5
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
There is a program called pyshell:
which pyshell
/usr/bin/pyshell
jschiwal@hpmedia:~> rpm -qf /usr/bin/pyshell
python-wxGTK-2.6.2.1-20
Thank you for your contribution. As I had not downloaded and installed the pyshell program, my rpm -qf dialog was somewhat different:

p4:/home/kabalg # rpm -qf /usr/bin/pyshell
error: file /usr/bin/pyshell: No such file or directory

I would think that you have downloaded the pyshell separately and installed that in addition to the stuff found in suse distro disks.

I have now downloaded the zip package of pyshell and will report my experience with it a little later. I admit that I would prefer python-idle, since it is:

1. Well tried and tested and is written originally by the Python master Guido van Rossum himself.
2. It is portable to the platform of the "elephant that has just gone to bed with a mouse", as well as other significant platforms.
3. There are numerous reference works that discuss python-idle.

Thank you for your answers - as always, greatly appreciated.

OldAl.
 
Old 11-06-2006, 06:31 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
p4:/home/kabalg # rpm -qf /usr/bin/pyshell
error: file /usr/bin/pyshell: No such file or directory
That is expected. I used this command to determine which package was needed as my system has pyshell on it.

If you have your disk you can find a file provided like:
rpm -q -all -p *.rpm | grep <file to find>
This will take a long time because it will print out all of the files in all of the RPM packages on the disc (or any directory).

By the way, idle is named after Eric Idle. You probably new that.
 
Old 11-07-2006, 01:16 AM   #7
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
(snip...)
If you have your disk you can find a file provided like:
rpm -q -all -p *.rpm | grep <file to find>
This will take a long time because it will print out all of the files in all of the RPM packages on the disc (or any directory).

By the way, idle is named after Eric Idle. You probably new that.
Thanks for that. I have **seen** this rpm command, but my memory is like a sieve... I certainly will try it.

No, I did not know about Eric Idle. IMHO he did a fine job, particularly since IDLE is available on most platforms. After all, we, Linux users, are still only a small minority. Important minority, but a minority, nevertheless.

Thanks again - very interesting.

OldAl.
 
Old 11-07-2006, 04:15 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Python is named after the comedy troop and not the snake. The author is a fan.


The -p option precedes the pathname to an RPM that you don't have installed. One of the most useful is in finding out which package supplied a particular file. For example:
rpm -qf /usr/share/doc/packages/xvid

Last edited by jschiwal; 11-07-2006 at 04:18 AM.
 
Old 11-07-2006, 04:35 PM   #9
OldAl
Member
 
Registered: Oct 2006
Location: Canberra, Australia
Distribution: ubuntu MATE LTS
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
Python is named after the comedy troop and not the snake. The author is a fan.

The -p option precedes the pathname to an RPM that you don't have installed. One of the most useful is in finding out which package supplied a particular file. For example:
rpm -qf /usr/share/doc/packages/xvid
Yes, Guido van Rossum. the "Daddy" of Python, mentions in one of his early writings that any reference to "Monty Python Flying Circus" is welcome :-)

For finding which rpm has the desired program (viz. IDLE) I have used suse Yast so far. It would probably pay to try alternative method, just in case the IDLE program is "hidden" somewhere else in the heap of stuff. So far I have not tried rpm command for anything serious, relying on Yast.

Thanks for your note,

OldAl
In cold Canberra morning. Temperature variation between mid-day and mid-night usually exceeds 20 degrees Centigrade!
 
Old 11-08-2006, 11:59 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is this version OK?
ftp://ftp.pbone.net/mirror/ftp.opens...1-3.x86_64.rpm

Looking in YaST2 sw_single, I searched for python. There is a package called "eric" as in "Eric Idle". That sounds like that may be it.

Take a look at the website http://rpm.pbone.net . That is where I look for RPMs that I can't find on disc.

Last edited by jschiwal; 11-08-2006 at 12:12 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing rescue.bin and drivers.tgz on install CD's fisichel Debian 2 01-22-2006 06:38 PM
Python IDLE apocolpse Programming 2 11-09-2004 08:37 PM
Python Idle apocolpse Programming 2 10-18-2004 04:16 AM
how to start IDLE (Python) ilectrcbob Programming 10 06-18-2004 09:24 AM
python 2.3 and idle jimscafe Linux - Software 1 10-25-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration