LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 04-28-2007, 07:45 AM   #1
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Rep: Reputation: 30
install Slackware-Current from scratch


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
 
Old 04-28-2007, 09:08 AM   #2
KStorm
Member
 
Registered: Jul 2006
Distribution: slamd64, pclinuxos2007/08, ubuntu8.04
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by arnuld
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.
 
Old 04-28-2007, 05:23 PM   #3
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
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 05:28 PM.
 
Old 04-29-2007, 06:13 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
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.
 
Old 04-30-2007, 05:06 AM   #5
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by KStorm
Google "slackware current iso" and you'll find unofficial dvd images @ various mirrors.
ok, i got them: ftp://ftp.slackware.no/pub/linux/ISO...ent-ISO-build/

hmm... new build every Monday :-) i wanted to ask one thing, i usually use these applications:

windowmaker
emacs
firefox
cups
ffmpeg
cvs, subversion
vorbis-tools, xmms, xine-ui

i don't use Desktops. do i need all 3 CDs, i ask because my connection takes 1 night to download 1 CD.
 
Old 04-30-2007, 06:17 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
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
 
Old 04-30-2007, 12:06 PM   #7
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob
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 :-)
 
Old 04-30-2007, 12:49 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Quote:
Originally Posted by arnuld
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?

Eric
 
Old 04-30-2007, 01:50 PM   #9
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob
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 :-)
 
Old 04-30-2007, 01:55 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,390

Rep: Reputation: Disabled
Quote:
Originally Posted by arnuld
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.

Eric
 
Old 04-30-2007, 02:19 PM   #11
arnuld
Member
 
Registered: Dec 2005
Location: Punjab (INDIA)
Distribution: Arch
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob
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.
 
Old 05-01-2007, 02:27 AM   #12
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
sorry for the intrusion.

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.. ?

forgive my n00bishness...
 
Old 05-02-2007, 01:53 PM   #13
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
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"

#DEST="/home/current/linux-distros/slackware/slackware-9.0/"
#DEST="/mnt/hd/slackware"
DEST="."

case "$1" in

"-c" )
echo "Checking..."
/usr/bin/rsync $OPTIONS $EXCLUDE --dry-run $SOURCE $DEST
;;

"-d" )
echo "Downloading..."
/usr/bin/rsync $OPTIONS $EXCLUDE $SOURCE $DEST
;;

* )
echo "Usage: `basename $0` {-c|-d}"
echo -e "\t-c : Check for updates"
echo -e "\t-d : Download updates"
exit
;;

esac

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I convert my Vector Soho install to Slackware-current? kazuya1977 VectorLinux 1 08-03-2006 06:16 PM
Install From Slackware current AxXium Slackware 5 05-21-2005 04:02 PM
Can't install slackware-current elyk Slackware - Installation 3 01-20-2005 12:19 AM
slackware current bittorent package install question cinchel Linux - Software 3 10-25-2004 01:25 AM
Slackware-current: promlem with 'install' or 'ginstall'? hjles Slackware 0 06-03-2003 01:39 PM


All times are GMT -5. The time now is 03:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration