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

Notices


Reply
  Search this Thread
Old 03-26-2010, 02:29 PM   #1
gvernold
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Rep: Reputation: 0
Installing new software on Slackware 13 x64, especially Python.


Hi guys,

I'm now up and running on slackware 13 x64. I have noticed that the version of Python installed was 2.6.2 but there were a lot of bug fixes between this and 2.6.5. What is the best way to get 2.6.5 running on my machine. Do I have to install from source or is anybody aware of any packages that have been released?

Again, I'm not too familiar with package management systems on Slackware as I have always installed from source but this became a bit of a bind recently as updating software to newer versions involved a lot of hard work. Can anybody give me an ideas on the packaging systems available, the best ones to use, and where I can find information about the packages related to the package managers?

Lastly, (sorry long post), does anybody know if I can get Gedit working safely with XFCE?

Thanks well in advance!
 
Old 03-26-2010, 02:38 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by gvernold View Post
Hi guys,

I'm now up and running on slackware 13 x64. I have noticed that the version of Python installed was 2.6.2 but there were a lot of bug fixes between this and 2.6.5. What is the best way to get 2.6.5 running on my machine. Do I have to install from source or is anybody aware of any packages that have been released?

Again, I'm not too familiar with package management systems on Slackware as I have always installed from source but this became a bit of a bind recently as updating software to newer versions involved a lot of hard work. Can anybody give me an ideas on the packaging systems available, the best ones to use, and where I can find information about the packages related to the package managers?
Refer to "source/d/python/python.SlackBuild".

Quote:
Lastly, (sorry long post), does anybody know if I can get Gedit working safely with XFCE?
Why not?
 
Old 03-26-2010, 02:43 PM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Hi,

I think you could grab the Slackbuild from here...

http://slackware.osuosl.org/slackwar...urce/d/python/

Change all occurences of 2.6.4 to 2.6.5, get the Docs and source tarball from the web so as to match 2.6.5 version, remove all the patching in the Slackbuild, run it after chmoding it,

#chmod +x python.SlackBuild
#./python.SlackBuild

........

wadawadawadwada....


........



and you would get the installable package in /tmp.

Would bve enough to run

...#installpkg /tmp/Your-Python-2.6.5.txz

That's what I would do...

But do y think that Python 2.6.4 is still buggy...?
 
Old 03-26-2010, 02:51 PM   #4
gvernold
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Nope, Python 2.6.4 would do the job so I'll settle for that one, just couldn't find a slackbuild for it.

I take it slackbuild is the way to go and more preferable to installing from source these days?
 
Old 03-26-2010, 03:02 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by gvernold View Post
I take it slackbuild is the way to go and more preferable to installing from source these days?
Yes. SlackBuilds create an easily installable/uninstallable package.
 
Old 03-26-2010, 03:07 PM   #6
gvernold
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks fellas, slackbuilding everything from now on....
 
Old 03-26-2010, 03:11 PM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
remove all the patching in the Slackbuild, run it after chmoding it,
I'd be very dubious about this as the patches contain changes for the lib64 directory structure from the lib standard as is present in Slackware64. They may well work with python 2.6.5 - the safest way would be to look at what they do and manually make the changes to the 2.6.5 source tree. Another way would be to look at the source and see if it's still compatible with the patches - they should however fail if the files don't match so you should be OK.
If it was me I'd just try running the Slackbuild with them in first and see what happens. Then if this fails start looking deeper.

The patches from 2.6.4 change the source files : sysconfig.py, Makefile.pre.in and readline.c. From what i can see they seem compatible with 2.6.5 source but I can't be certain so beware.

Obviously you'll have to change the versions in the Slackbuild.

Quote:
Nope, Python 2.6.4 would do the job so I'll settle for that one, just couldn't find a slackbuild for it.
The sources and Slackbuild for this version are in the -current tree here. This should "just work" (build) on SLackware64 13.
 
Old 03-26-2010, 03:59 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Again, I'm not too familiar with package management systems on Slackware as I have always installed from source but this became a bit of a bind recently as updating software to newer versions involved a lot of hard work. Can anybody give me an ideas on the packaging systems available, the best ones to use, and where I can find information about the packages related to the package managers?
I recomend looking at the the Slackbook - I can't remember if this is on the install disk so forgive my ignorance.

Another very useful tool is Sbopkg from Chess Griffin. It is a tool to automate getting source and Slackbuilds from the Slackbuid site. As you may be noticing - Slackbuilds are a way of building Slackware packages from a script and are the very way all Slackware packages themselves are built.
 
Old 04-12-2010, 02:53 PM   #9
gvernold
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks bgeddy. Great tool.
 
Old 04-12-2010, 03:15 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
There is also slapt-get and gsalpt. I know many Slackers don't like the dependency checking, but I've found for certain things (like the gnome-slackbuild-project, or parts thereof) slapt-get is quite nice.

These are not officially supported.
 
  


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
NDISwrapper works for Slackware 13.0 x86 but not Slackware 13.0 x64 - Belkin F5D8053 thewizkid Slackware 0 01-14-2010 06:18 AM
Newbie looking to dual-boot Gloria x64 into a box already running Windows 7 x64 joshuaingram Linux - Newbie 1 12-17-2009 05:48 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 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