LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-21-2006, 06:44 AM   #1
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Upgrading Slackware; partitioning scheme question


I've just installed Slackware 10.2. I understand there is an updating technique using rsync and upgradepkg ? But I have no idea what it is .. If there is anyone familiar with this method, please share

Also, I have yet another computer and I want to make a Slackware development workstation on it. But something occured to me [too bad it didn't before I installed Slack on this computer] .. should I install only a minimalistic system (base and whatnot) and then install the 3rd party stuff via packages from linuxpackages.net; slackware.it/pb; develia.org [more up2date packages] or should I install packages via cd and then fetch newer versions from the above mentioned sites and upgradepkg ? What are the pros/cons to the 2 methods ? And which one would you recommend ?

Ah yes .. and! I have a 40 GB hard disk .. I don't plan to install kde/gnome/openoffice/vmware. Should a 3 GB /usr be enough for a devel workstation ? What about /var and /tmp sizes ?
 
Old 01-21-2006, 07:51 AM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by introuble
I've just installed Slackware 10.2. I understand there is an updating technique using rsync and upgradepkg ? But I have no idea what it is .. If there is anyone familiar with this method, please share
I use:

Code:
 wget -N ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/packages/*.tgz && upgradepkg *.tgz
Run regularly (or with a subscription to the slackware-security ML) that would keep you up to date. I've elaborated on that in the past (checking filehashes, running as a cronjob etc.). I see no reason why you couldn't do the same, replacing the URL with the location of the -current repository to keep you running -current (should you so desire)

Quote:
Originally Posted by introuble
Also, I have yet another computer and I want to make a Slackware development workstation on it. But something occured to me [too bad it didn't before I installed Slack on this computer] .. should I install only a minimalistic system (base and whatnot) [...]
Hey, you've got 40GB, why not do a full install? My personal preference is to compile extra stuff from source, whenever feasable.

For a workstation, 2 partitions would do you - a / (with everything) and a /home, but be as elaborate as you like.

These are the sizes of current directories (note NOT partition size) on my laptop, which I'll freely admit has a lot of junk (unused junk at that) on it:

/tmp = about 300MB, /usr = about 2.2GB, /var = about 80MB

Truth is, "correct" (ha!) partition size would be dependant on the function of the machine (mail server = large /var for e.g.) and has been the subject of discussions both here and elsewhere on the net.
 
Old 01-21-2006, 08:03 AM   #3
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
Thanks .. just a quick reply cause I have to leave in a hurry..

Even if I'd have 200 GB, I'd still try to keep my system as bloat-free as possible.

Um ..the command you gave me .. woun't install .. say .. apache .. even if I don't have apache installed on my system ? [apache is in the patches dir]..

Also, this will only upgrade packages .. but what about the rest of the system ? How do I keep -current ?
 
Old 01-21-2006, 08:49 AM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Upgradepkg checks to see what the current installed version of apache is, and upgrades it if appropriate. So if you don't have apache installed, it just spits an error to that effect and moves on to the next package. You can force upgradepkg to install new packages by adding the flag --install-new. Thus it becomes:

Code:
wget -N ftp://ftp.slackware.com/.../*.tgz && upgradepkg --install-new *.tgz
Hey, it's quick and dirty, I know, but it's simple. The downside is you're downloading patches for software not present on your system.

It's probably not the best way to stay up with -current either, on second thoughts.

Somebody stop me if I'm spouting BS here, but I though -current was not necessarily considered stable, more testing or development. I've never felt like I'm 'out of date' by only running stable releases (OK, with the odd thing from -current like firefox 1.5). Investigate some of the 3rd party package managers for Slackware - they've been the subject of numerous threads. I've never used one (installpkg, removepkg, upgradepkg and compile from source is my package management system ). Slackpkg is in the extra/ directory on CD2.
 
Old 01-21-2006, 07:49 PM   #5
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Original Poster
Rep: Reputation: 31
Hmm .. thanks. But considering the nature of my systems [ minimalistic ] I just hand-picked the patches Thanks for the info guys !
 
  


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
Partitioning scheme? i.of.the.storm Linux - Newbie 9 08-28-2005 08:27 PM
partitioning scheme Godsmacker777 Linux - General 2 11-28-2004 03:58 PM
best partitioning scheme equinox Linux - Distributions 5 05-10-2004 11:34 AM
Partitioning scheme pcdebb Linux - Newbie 1 01-20-2004 10:01 AM
Best Partitioning Scheme? rivang Slackware 28 05-19-2003 11:24 AM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
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