LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2010, 12:48 AM   #1
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
Building a Working Linux System


Hello All,

I installed the minimal-command line system from the kubuntu CD on my laptop,which is guess is roughly around 200mb after installation. I wish to install a Desktop Environment preferably KDE and i wanted to know how and where do i begin from?

Do i need to have a working XORG prior to installation of KDE and do i also need to install Window mangers and e.t.c? What all packages/libraries and components do i need to install first? I'm really not sure where should i begin from :-).

Initially what i am trying to do is to have working GUI system,then later on i can install rest of the packages and software that i need,like office,GPU drivers,browser e.t.c.

Secondly,for a minimal KDE system,what metapackages are to be installed from this site? I believe kdebase,kdebase-runtime,kdebase-workspace are required.


Thanks

Last edited by kdelover; 01-04-2010 at 12:51 AM.
 
Old 01-04-2010, 01:51 AM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I regularly do this with Debian netinstall.
For KDE minimal run command:
Code:
sudo aptitude install xorg kde-minimal kdm
Once it is finished and the the prompt returns, run this command to start up graphics:
Code:
sudo /etc/init.d/kdm start
Then you can install synaptic if you like to see what all software is available. Aptitude is better at resolving dependency issues and does a better job removing stuff cleanly with the "purge" option.
 
Old 01-04-2010, 01:52 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
The package manager will handle installing the packages that you need. Selecting the kde desktop when installing the system would have done this for you.
xorg libraries and drivers are compiled with dependencies on the installed libraries, and kde and it's apps are dependent on specific versions of xorg and other things that the distribution was compiled with.
maybe someone will post a simple apt command for you to install up to what you need.
 
Old 01-04-2010, 01:54 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Just one thing to note, although Debian recommends using aptitude over apt-get, I think Ubuntu recommends apt-get.

Cheers,

Evo2.
 
Old 01-04-2010, 02:06 AM   #5
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
I wanted to make sure i install only stuff that i need,thats why i opted for this approach. I dont really wnat to install kde games koffice and lot of stuff that it comes with.

Do i need to install the video drivers and input drivers separately after installing the xorg?

@whansard- Well i dont need the direct commands that i need to enter,what i wanted was the procedure ,am doing this so that i could learn how to build a minimal desktop system.

Last edited by kdelover; 01-04-2010 at 02:08 AM.
 
Old 01-04-2010, 02:17 AM   #6
gherardo
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
To precisely answer your question you should describe your needs more precisely, in particular the resources you have (disk space available for Linux, RAM; CPU, ...) and what do you want to do. I go on with a generic answer.

Before trying to tune Ubuntu, you should check if other distros could do better. Ubuntu is an excellent non minimal easy going distro, good for everyday's life (I use it, with gnome); minimalising it sounds a bit of nonsense.

In addition, for a minimal install KDE does not seem to be the proper choice, it is heavy regarding both disk space and needed RAM (this is also true for Gnome, though it is slightly less resources demanding).

There is a fork distribution of Ubuntu, called Xubuntu, with a much lighter, though efficient, default X-window system, which has the merit of being already fine tuned with the distro.

Otherwise, you should consider leaving the Ubuntu universe. There are excellent, clean distros which are not burdened by "microsoftism", like Slackware and SUSE (and many others).

If you like to try and test, and you really need to take the most from a small system, there are distros devised for optimisation, like Gentoo, where you really build the system step by step. But I would not recommend if you have no real experience of Linux internals (unless you have some experience as a C programmer): things like "ls", "ln", "chmod", "swapon", "mkfs", "mount", "fstab"... should have a precise technical meaning to you. Or you have a lot of spare time, in which case Gentoo is the university of Linux internals.

If you want to know more about the infinitely many distros, there is dedicated forum: "Distro reviews", which you might find useful.

Good luck!
 
Old 01-04-2010, 02:23 AM   #7
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
Ok here are my specs for the laptop

Amd turion X2 M500 2.2Ghz
4 Gb ram
Ati radeon HD4650 1GB
320 GB HDD.

I'm in no hurry,so i dont mind trying and testing it out untill it works.
 
Old 01-04-2010, 02:27 AM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by kdelover View Post
Do i need to install the video drivers and input drivers separately after installing the xorg?
Those commands I posted will get you graphics using free display drivers, all input devices will be configured and running. Depending on which graphics card you have, you may want to try proprietary drivers for extra capabilities after the fact.

And if you try to do it with apt-get instead of aptitude, you'll end up spending an eternity trying to resolve dependencies just to end up installing what aptitude will in one command.
 
Old 01-04-2010, 02:29 AM   #9
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
@ Thanks brains,ill try it out.By the way i was reading the arch linux wiki,it has good approach on how to a build a working system from a minimal system. I guess i could use that as a guide.

 
Old 01-04-2010, 02:45 AM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Brains View Post
And if you try to do it with apt-get instead of aptitude, you'll end up spending an eternity trying to resolve dependencies just to end up installing what aptitude will in one command.
Dependencies? Perhaps you are talking about "recommends".

If so apt-get can do this with flags or entries in apt.conf. Eg.

Code:
sudo apt-get install --install-recommends foo bar baz
And don't get me wrong, I too think aptitude is better than apt-get, but it is probably better if the OP sticks with what his distro advocates.

Cheers,

EVo2.
 
Old 01-17-2010, 05:35 AM   #11
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
Sorry for the delay , i got my system working this is what i did

-> installed ubuntu server ( comes with no gui)
-> installed hal and dbus
-> installed xorg,with input drivers and the free driver for my ati radeon hd4650 mobility card
-> installed a basic window manager like icewm and fluxbox
-> started x
-> installed the prop. ati radeon drivers from ati site.Before that i had to install the linux headers.
-> installed kdebase-workspace and other stuff that i needed.
 
Old 01-17-2010, 06:20 AM   #12
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
sounds good!

You got a pic of your fluxbox/ice desktop?
did you customize it?

whats your install weight? under or over 2GB?

what version of buntu? 9.04 or 9.10?

you should maybe try fvwm-crystal; beautiful
 
Old 01-17-2010, 06:28 AM   #13
linuxpokernut
Member
 
Registered: Jul 2007
Distribution: Slackware 14
Posts: 237
Blog Entries: 8

Rep: Reputation: 59
Quote:
Originally Posted by gherardo View Post
To precisely answer your question you should describe your needs more precisely, in particular the resources you have (disk space available for Linux, RAM; CPU, ...) and what do you want to do. I go on with a generic answer.

...

Good luck!
What was wrong with the question? He stated exactly what he wanted to do. You want him to do something else, obviously.

Glad to hear you got it running how you want. You can search these forums for fluxbox configuration tips and you will not be disappointed.
 
Old 01-17-2010, 06:48 AM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Good work. That goes to prove that you can do what you want with any distro.
 
Old 01-17-2010, 07:02 AM   #15
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Original Poster
Rep: Reputation: 36
hi linus,

I installed ubuntu server 9.10.Even though i have icewm and fluxbox,i mainly use kde.icewm is just a fallback.Well total weight after installing the kdebase and some libs was something around 1.2GB. Later,i installed lot of stuff which i actually need,like

Browser- FF,chrome
File manager- dolphin,konqueror
mediaplayers - Vlc and mplayer with all the codecs
Music players- amarok and songbird
pim - kontact
Office- scribus & abiword
emulator- wine and also sun virtualbox
security - iptables from netfilter site along with clamav
eyecandy - compiz n emerald.
mysql

Lastly i installed the alsa-lib,alsa-driver and alsa-util from the alsa site. I had tough time making the audio work as i had to download dependencies like curses e.t.c.

I guess the installation size after installing all that is somewhere around 3.4 GB.I used remastersys to make a bootable iso and the iso is around 1.4 Gigs.

I can take the snapshot of the system when i am home.

Last edited by kdelover; 01-17-2010 at 07:10 AM.
 
  


Reply



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
Building a linux box for emulator system johnnyblack Linux - Newbie 6 11-03-2009 03:36 PM
Building My First Linux System FloridaArt LinuxQuestions.org Member Intro 3 05-08-2008 12:42 PM
Building a system for Linux verlaine101 Linux - Hardware 1 12-29-2006 12:43 PM
Help in building a basic linux system tuxfood Programming 4 03-22-2004 03:39 PM
building a amd system for linux illtbagu Linux - Hardware 6 01-03-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 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
Open Source Consulting | Domain Registration