Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
presently i am running Gentoo Linux. i keep my system as single booted and now i want to install Slackware-Current as i need gcc 4.x for the project i will work on + i want to have 2.6 kernel whereas Slackware 11 has gcc 3.x and 2.4 kernel.
i tried Google and archives of different forums forums but did not get any information on how to install Slackware-Current from scratch. any ideas or pointers to information ?
presently i am running Gentoo Linux. i keep my system as single booted and now i want to install Slackware-Current as i need gcc 4.x for the project i will work on + i want to have 2.6 kernel whereas Slackware 11 has gcc 3.x and 2.4 kernel.
i tried Google and archives of different forums forums but did not get any information on how to install Slackware-Current from scratch. any ideas or pointers to information ?
thanks
Google "slackware current iso" and you'll find unofficial dvd images @ various mirrors.
If you have the space available (about 9 gigabytes), the best way is to download Alien Bob's mirror-slackware-current.sh script, which creates a local mirror and even creates cdrom or dvd ISO's for you. Luxury!
Read the script first and set it to a reliable, fast, mirror near you that allows rsync and wget. There are a few other variables you may want to set, like whether you want a DVD ISO or cd-rom ISO's or both.
Last edited by Eternal_Newbie; 04-28-2007 at 04:28 PM.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Slackware comes with a 2.4 and a 2.6 kernel. Choose "huge26.s" when booting and install that kernel. After reboot install the kernel source and modules (!) from the CD's /extra/linux-2.6.17.13 folder. Change to /etc/rc.d -- remove the symlink from rc.modules to rc.2.4.33 and create a new one to rc.modules-2.6.17.13.
Sorry I have no clue about building a new tool chain, but at least the 2.6 kernel should make it more simple I guess.
What you should do, is setup your own private mirror of Slackware-current and then create your own ISO images.
This will use much less bandwidth since you only need to re-synchronize the changes in the Slackware directory tree instead of download complete ISOs every week.
A script that you can run from cron that creates new ISO images for you every time it finds a change in the ChangeLog.txt can be found here: mirror-slackware-current.sh
If you save that script to /usr/local/bin and make it executable (chmod +x), you should edit the script and change at least the value of the variable SLACKROOTDIR to a directory on your machine where you (want to) keep your local Slackware mirror. The script uses SLACKROOTDIR=/home/ftp/pub/Linux/Slackware as a default which probably is not what you want.
This is how you can add the script to your account's crontab file:
Code:
30 6 * * * /usr/local/bin/mirror-slackware-current.sh -q -o ALL
It will run every night at 06:30 in silent mode ("-q") which means it will only send you an email when changes were detected and new ISOs made; it will create one DVD ISO image and two CDROM ISO images ("-o ALL").
Run
Code:
mirror-slackware-current.sh -h
to see all the other command line options if you want.
What you should do, is setup your own private mirror of Slackware-current and then create your own ISO images.
This will use much less bandwidth since you only need to re-synchronize the changes in the Slackware directory tree instead of download complete ISOs every week.
A script that you can run from cron that creates new ISO images for you every time it finds a change in the ChangeLog.txt can be found here: mirror-slackware-current.sh
If you save that script to /usr/local/bin and make it executable (chmod +x), you should edit the script and change at least the value of the variable SLACKROOTDIR to a directory on your machine where you (want to) keep your local Slackware mirror. The script uses SLACKROOTDIR=/home/ftp/pub/Linux/Slackware as a default which probably is not what you want.
This is how you can add the script to your account's crontab file:
Code:
30 6 * * * /usr/local/bin/mirror-slackware-current.sh -q -o ALL
It will run every night at 06:30 in silent mode ("-q") which means it will only send you an email when changes were detected and new ISOs made; it will create one DVD ISO image and two CDROM ISO images ("-o ALL").
Run
Code:
mirror-slackware-current.sh -h
to see all the other command line options if you want.
Eric
thanks Bob, i think i need to figure out how this "crontab" thing works. ok, i will try this ISO building method. In my area, Slackware stable 11 CDs are available at a nice cost, so can you tell me one thing:
Is it possible to upgrade GCC from 3.x to 4.x in Slackware 11 without breaking anything ?
i can order 6 CDs set of Slackware. my main target in using Slackware is learning about GNU OS, its internals and Linux internals. some Gentoo folks advised me to use Slackware. i thought i will give this one a try, from Slackware Home page Slackware sounds an attractive and beneficial deal :-)
Is it possible to upgrade GCC from 3.x to 4.x in Slackware 11 without breaking anything ?
It will probably break a lot, but you never know (at least I don't) so there's always the "trial and error" process... upgrade gcc and see what happens.
Is there a reason for this upgrade need?
It will probably break a lot, but you never know (at least I don't) so there's always the "trial and error" process... upgrade gcc and see what happens.
Is there a reason for this upgrade need?
Eric
yes, there is. i downloaded your "script", it is downloading files @ 14 KB/sec. i think it will take 2 days and 2 nights to finish the download (at 1st run) and when i try to put some nearby mirrors (i am in India (Asia)), "script" does not run. seems like no mirror possesses "rsync" capabilities. as you know i need "gcc 4.x" a si am working on a C++ project, So i thought it is better to purchase Slackware 11 CDs and then upgrade to gcc 4.x. now i think i am wrong.
BTW, you seem quite popular (and technically brilliant Slacker) in Slackware Community :-)
as you know i need "gcc 4.x" a si am working on a C++ project
Ah yes, I forgot your original post which contained your reason for wanting to upgrade.
Did you ever try one of the US mirrors to check their download speeds? slackware.mirrors.tds.net::slackware/ and rsync.osuosl.org::slackware/ are quite fast servers.
Ah yes, I forgot your original post which contained your reason for wanting to upgrade.
Did you ever try one of the US mirrors to check their download speeds? slackware.mirrors.tds.net::slackware/ and rsync.osuosl.org::slackware/ are quite fast servers.
Eric
both give the same varying speed of 9-24 KB/sec. Also, my connection carries 256 KB of bandwidth only (which limits the size of download to 29 KB/sec, quite small size :-(
anyway, i will give your script a shot with what i have, i will let the script run 10 hours and then will see what happens.
it seems you could just buy the slack11 disks, then build your own slack-current-d1 using the provided source/slackbuilds for most packages, and and use gcc4.x + down the chain reqs.
alt is to d/l slack-current gcc and install slack-11 disk one (from your list I don't think you need disk 2, except tcl/tk & qt?) then try and upgradepkg to slack-arnuld by building from source using gcc of choice.. ?
I'm confortable with these two scripts:
The first is to get the files (through rsync)
#!/bin/bash
#
# Check slackware-current
#
# Where to download from
# should script it so that the different sources can be listed and
# selected from the command line
#SOURCE="rsync://closeedge.net/slackware/slackware-current"
#SOURCE="rsync://ftp.slackware.com/slackware/slackware-current"
#SOURCE="rsync://ftp.slackware.com/slackware/slackware-9.0/"
#SOURCE="rsync://alphageek.dyndns.org/slackware/slackware-current"
#SOURCE="rsync://rsync.unspunproductions.com:8730/slackware/slackware-current"
#SOURCE="rsync://inferno.vbi.vt.edu/slackware/slackware-current"
#SOURCE="rsync://ftp.linuxslackers.org/slackware/slackware-current"
#SOURCE="rsync://rsync.vbfx.com/slackware/slackware-current"
#SOURCE="rsync://transamrit.net/slackware/slackware-current"
#SOURCE="rsync://rsync.unspunproductions.com:8730/slackware/slackware-current"
#SOURCE="rsync://drazi.geo.uib.no/slackware/slackware-current"
#SOURCE="rsync://rsync.slackware.at/slackware/slackware-current"
#SOURCE="rsync://slackware.ipal.net/slackware-current"
#SOURCE="rsync://rsync.transamrit.net/slackware/slackware-current"
#SOURCE="rsync://rsync.vbfx.com/slackware/slackware-current"
#SOURCE="rsync://drazi.geo.uib.no/slackware/slackware-current"
#SOURCE="rsync://carroll.cac.psu.edu/slackware/slackware-current"
#SOURCE="rsync://inferno.bioinformatics.vt.edu/slackware/slackware-current"
SOURCE="rsync://slackware.mirrors.tds.net/slackware/slackware-current"
# Change as necessary
OPTIONS="-avzP --delete --delete-after"
EXCLUDE="--exclude=source --exclude=pasture --exclude=kdei \
--exclude=zipslack --exclude=extra --exclude=testing --exclude=usb-and-pxe-installers"
As you can see it just check for updates and then you can decide for the upgrade. The iso will be approximately 1.2 Gigs as it perfoms just a barebone install. (Full install anyway)
The second just build the iso image (DVD):
#!/bin/sh
# The script creates an iso image of slackware-current
# Move to slackware-current dir and launch the script with ../iso.sh <date> (ie 30042007)
# Spostarsi nella directory che si vuole masterizzare e lanciare lo script con ../iso
mkisofs -o /home/`whoami`/slackware-dvd-$1.iso \
-R -J -A "Slackware Install" \
-hide-rr-moved \
-v -d -N \
-no-emul-boot -boot-load-size 32 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-V "SlackDVD" .
Please note the "." at the very end of the script...
Hope this helps
ciao
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.