Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-26-2010, 02:29 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2010
Posts: 11
Rep:
|
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!
|
|
|
|
03-26-2010, 02:38 PM
|
#2
|
|
Member
Registered: Dec 2008
Posts: 747
Rep: 
|
Quote:
Originally Posted by gvernold
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?
|
|
|
|
03-26-2010, 02:43 PM
|
#3
|
|
Member
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994
Rep:
|
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...?
|
|
|
|
03-26-2010, 02:51 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2010
Posts: 11
Original Poster
Rep:
|
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?
|
|
|
|
03-26-2010, 03:02 PM
|
#5
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,183
|
Quote:
Originally Posted by gvernold
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.
|
|
|
|
03-26-2010, 03:07 PM
|
#6
|
|
LQ Newbie
Registered: Mar 2010
Posts: 11
Original Poster
Rep:
|
Thanks fellas, slackbuilding everything from now on....
|
|
|
|
03-26-2010, 03:11 PM
|
#7
|
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
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.
|
|
|
|
03-26-2010, 03:59 PM
|
#8
|
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
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.
|
|
|
|
04-12-2010, 02:53 PM
|
#9
|
|
LQ Newbie
Registered: Mar 2010
Posts: 11
Original Poster
Rep:
|
Thanks bgeddy. Great tool.
|
|
|
|
04-12-2010, 03:15 PM
|
#10
|
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|