LinuxQuestions.org
Help answer threads with 0 replies.
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-08-2013, 10:01 AM   #1
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
First time Slack Installation


Hello,

I'm new to linux and I've decided to give Slackware a try. I'm reading about the installtion process and it says that the size of the swap partition should be double the amount of RAM that is installed in the computer. I have 4GB in that box. Should I make a 8GB swap partition? How do I specify the size 8GB or 8192MB?

Thank you,

Last edited by arie01; 01-08-2013 at 10:02 AM.
 
Old 01-08-2013, 10:05 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
That's a very old rule. Nowadays its only usefull if you have a laptop and want to hibernate.

With 4GB of RAM you will not need Swapspace at all. Otherwise I do always create a Swap partition, about 256 or 512 MB probably.

Markus

Last edited by markush; 01-08-2013 at 10:35 AM. Reason: typo
 
Old 01-08-2013, 10:16 AM   #3
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,508

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
I'd say it depends what you plan to do with the system. If you're likely to use a lot of memory-hungry things all at once then you ought to at least specify some swap. Though I agree 8GB is probably excessive for most people. As mentioned to allow hibernation you'll need at least 4GB swap to accommodate it.
 
Old 01-08-2013, 10:25 AM   #4
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Hi 273,

Let's say I really like Slack and I really enjoy working with it. The only thing that might be memory hungry ( although on Windows it appears more hard drive intensive) I could think at the moment is streaming HD movies with possibly transcoding on the fly.
What's your suggestion for a swap partition size in that case?

Thank you,
 
Old 01-08-2013, 10:30 AM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,475

Rep: Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014
if you want to use hibernate/suspend to disk then have swap = 1xRAM + 128M or thereabouts. If you don't intend to use suspend to disk, then swap doesn't matter. Have as much or as little as you like. I wouldn't go any bigger than you need for hibernate though (unless you have a very good reason to).

The 2x ram rule of thumb dates back to a time when computers didn't have nearly as much ram as they do these days, and even back then it wasn't really that good of a guide.

Last edited by GazL; 01-08-2013 at 10:32 AM.
 
Old 01-08-2013, 10:57 AM   #6
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,508

Rep: Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800Reputation: 800
As GazL says, if you want hibernate then go for a little over 4GB (e.g. 4,224MB). Otherwise, personally, I'd say if you have hard drive space to spare go for that anyhow, and if you want to save some hard drive space then 2GB.
You system won't use swap unless it needs to so if you can spare the space you might as well have some "just in case".

Last edited by 273; 01-08-2013 at 11:01 AM.
 
Old 01-08-2013, 11:27 AM   #7
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 154

Rep: Reputation: 15
In my experience watching HD movies doesn't use a lot of ram, and nor does transcoding. Editing, maybe. But if you've got four gigs of ram, that's enough for everything your system wll be running to operate, and firefox and libre office and half the contents of a DVD copied to /dev/shm, so a bit of transcoding with something like x264 won't be lkely to cause trouble.
 
Old 01-08-2013, 12:08 PM   #8
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Hi Stephen Morgan,

You are right. Transcoding is actually CPU intensive, not HD or RAM intensive. Thank you for your your input.
 
Old 01-08-2013, 12:12 PM   #9
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
I finally got my Slack installed and running. I'm now on its KDE. I started Konqueror and went to a site that requires Shockwave and it gave a pop-up to install it. I click Yes and it opened Adobe in a new tab. I have an option to select which type of installation to go with. The options are:

YUM for linux
.tar.gz for other linux
.rpm for other linux
APT for Ubuntu

Which option is the good one for Slack?

Thank you,
 
Old 01-08-2013, 12:18 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
There's a tool rpm2tgz and rpm2txz which converts rpm files to Slackware's tgz or txz files. Those can be installed with the installpkg command.

Markus
 
Old 01-08-2013, 12:56 PM   #11
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Ahh, when you need Flashplayer, you can download it from AlienBob's site: http://connie.slackware.com/~alien/slackbuilds/

Take a look at his packages, there's a lot of useful software available.

Markus
 
Old 01-08-2013, 01:20 PM   #12
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
Good to see you up and running, it wasn't that difficult, was it

For flash player I usually use tar.gz option and copy the .so file manually to firefox plugin directory. Firefox usually provides better web experience. For example FF was able to play youtube videos in HTML 5 but still got smoother video with Flash plugin. Konqueror just displayed a black box and that was about it.
 
Old 01-08-2013, 01:37 PM   #13
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Hi wigry,

Yeah, it wasn't so bad. But now I have to start breaking my head to see how I get around it.
The thing is, I don't think I'll need the Slack box for anything advanced. What I want it for is to be able to install/uninstall packages and to learn bash and maybe a few other things. If I find a good package, I'll keep using it.

I can use it as a desktop right after installation and find pretty much anything I need on daily basis.

Any advice as to what can I start using it for?

Thank you,
 
Old 01-08-2013, 02:38 PM   #14
wigry
Member
 
Registered: Jul 2004
Distribution: slackware
Posts: 218

Rep: Reputation: 52
You can do anything with it. You can browse the web, watch movies, read email and do not have to bother yourself with any linux related detail. Only learn the package installation routine and thats all.

Or you can start doing the advanced stuff like you mentioned, bash scripting (always a useful knowledge) or try to explore the etc directory and see how Slackware works and how it is configured (so you know if you need to change something, where to look) or perhaps try to compile the latest kernel which is always a rewarding experience, once you get it done Or start downloading interesting software from the net in source form and compile it yourself using the infamous "./configure && make && make install" routine etc etc. Also read that slackware book beyond the installation and don't forget the powerful man pages that provide all kinds of useful information about all the commands available.

One idea is to really dive into Vi/Vim ( http://www.vim.org/about.php ). If you master it, you have the ability to do advanced text editing right from the command line. Vi/Vim is a different experience for sure and might be again quite frighting at first as it feels even hostile with its rudimentary interface but the power is there beneath that non-existent shell. You can do very very powerful text alterations using just few key strokes. But you need to learn it and memorize its strange commands but again very useful knowledge for the future. This seems a good place to start http://linuxconfig.org/Vim_Tutorial

Also one very interesting thing to explore is technology called LaTeX ( http://en.wikipedia.org/wiki/LaTeX http://www.ctan.org/tex/ ) which is basically a way to program or describe document contents using a plain text file, then let the Latex lay it out for you and produce elegant PDF documents. Slackware contains full TeTeX support for that purpose. Again quite old technology but once you master it, Word cannot get anywhere close in the quality of the resulting piece. And you don't even need to start X to produce a document as a simple text editor like Vim is all you need. How such a thing came into existence? Well the laser printers were available before decent GUI-s and there was a need to produce elegant documents from the text mode console. Good place to start: http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/

So Slackware works perfectly as a simple desktop but does not get on the way if you want to dig deeper.

Last edited by wigry; 01-08-2013 at 03:09 PM.
 
1 members found this post helpful.
Old 01-08-2013, 02:58 PM   #15
arie01
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Hi wigry,

I will definitely dig deeper!
I will start by reading some of the books recommended in my previous post and see how it goes. I putty'd into the box and I'm palying around with it right now.

Hey, how do I get to start KDE over SSH? Can I use putty for this or it is not supported by it?
I'm thinking if I get access to the desktop through SSH, I'll be able to use my time to learn it better.

Thank you,
 
  


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
Setting time and time zone altogether properly in Slack-current, KDE4 spaceballs Slackware 3 04-20-2011 06:15 AM
Time zone sets inappropriate time during Ubuntu 9.04 installation TristanDee Ubuntu 6 07-24-2009 07:42 AM
First time with Slack. Hedon Slackware 15 11-29-2005 06:23 PM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 04:03 PM


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