Click to See Complete Forum and Search --> : Apt-getting KDE2?


CRT_Monkey
12-08-2000, 11:34 AM
Hey could anyone print out a line I can add to my sources.list file that would allow me to apt-get install kde2?

The line that was using before has now become a broken link I think. Everytime I do an apt-get update, that source line gives me an error 404. It worked like a charm before but now it doesn't so......... http://www.linuxnewbie.org/ubb/smile.gif

TIA

ColdPack
12-08-2000, 11:50 AM
It's in the debian woody tree.
Just get it from there (or a debian mirror close to you).
Then just "apt-get install kdebase".

------------------
"What do people mean when they say the computer went down on them?"
---Marilyn Pittman

CRT_Monkey
12-08-2000, 12:15 PM
I'm kinda new to Debian so I'm gonna need to be pointed right at a website with the line I need to add the sources.list.

I just don't know how to format a line to add to my list so that that it works right.

rod
12-08-2000, 12:39 PM
CRT_Monkey... are you using woody?

Regards,
Rod

ColdPack
12-08-2000, 12:50 PM
Here's Craig's monster sources.list --> http://www.bsu-hog.org/sources.list

Look for the ones that have "woody" in them or "unstable". That will do it for ya.
Type them EXACTLY as you see them (the ones with the "#" in front are, of course, commented out so they won't be used. If you want that line used you, of course, remove that "#".)
Run apt-get update then apt-get install kdebase.
That's it!
(Again, you don't need this whole list... just the debian sites or debian mirrors with the word "woody" or "unstable".)

------------------
"What do people mean when they say the computer went down on them?"
---Marilyn Pittman

[This message has been edited by ColdPack (edited 08 December 2000).]

CRT_Monkey
12-08-2000, 01:33 PM
Thanks for the link ColdPack, I'll give that a shot.

rod, actually I'm using Storm Linux which I understand is Debian "potato" currently with a few of the rough spots ironed out.

rod
12-08-2000, 02:22 PM
You could add the following to your /etc/apt/sources.list


deb ftp://ftp.eecs.umich.edu/debian unstable main contrib non-free


Comment out the others in the list. Then run:

apt-get update

apt-get install kdebase as ColdPack suggested.

That should get KDE installed. After installing KDE you may want to comment out the new line we just put in /etc/apt/sources.list and put it back to it's original configuration. If not everything you get with apt will be from the unstable tree.

A good idea, when changing your sources.list is to, run apt-get autoclean.


Regards,
Rod

CRT_Monkey
12-08-2000, 03:34 PM
rod, GREAT! That's exactly what I needed. Got KDE2 up n runnin' no prob.

Thanks for the input! http://www.linuxnewbie.org/ubb/biggrin.gif

http://www.linuxnewbie.org/ubb/cool.gif Debian http://www.linuxnewbie.org/ubb/cool.gif

veloctTX
12-08-2000, 04:55 PM
I ordered my Storm Linux CD from cheapbytes so I should be getting it soon. I may try to do a ftp install of it since I got broadband now. I've been using Mandrake 7.1 and 7.2 and would like to move on to another distro for learning purposes and Debian sounds very good to me. My hardware is pretty straight forward and the only thing I would see as a setback would be having 2 identical ne2k-pci NIC's like I do. I use one to connect to my print server and one for the internet. SB Live is supported so it looks promising. I'm very excited to try Storm.

stack
12-08-2000, 08:25 PM
If I were to follow Rod's instructions, I assume that it wouldn't upgrade itself whenever I "apt-get upgrade"?

Correct?

rod
12-08-2000, 08:50 PM
stack... as long as you edit your /etc/apt/sources.list back to it's original configuration you will only be getting stable packages when upgrading. I used this method in the past and it worked fine. I use unstable only now.

A second opinion is always welcome and incouraged.

Regards
Rod

klamath
12-08-2000, 08:52 PM
If you removed (or commented out) the line in /etc/apt/sources.list, Debian wouldn't be able to find any upgrades - so no, it wouldn't be upgraded.

To upgrade it periodically, just uncomment the line and run 'apt-get install kdebase' again. That will check for updated to KDE (and only KDE2), and install them if available.

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)

stack
12-08-2000, 09:38 PM
Thanks for the answers!

stack
12-08-2000, 11:01 PM
Okay...I installed it....

Now how would I go about adding KDE as an option to the GUI login manager (the one that Helix Gnome installed) ?

rod
12-08-2000, 11:19 PM
You have to add a executable in /etc/gdm/Sessions

Not quite sure how but it should look something like this:


#!/bin/sh
#

if [ -x /usr/bin/kde ]; then
exec /usr/bin/kde

fi

How to put this in and make it executable I don't know and would be interested myself on how to do this.


Regards,
Rod

CRT_Monkey
12-08-2000, 11:22 PM
stack, this is how I do it and it seems to work. I CD to /etc/gdm/Sessions and the type # ln Debian kde2 <enter> Then hit # ls and you should see all the DE/WM options with a kde2 and a kde present. # rm kde and you should then have kde2 as an option at the login screen.


Worked for me, YMMV. http://www.linuxnewbie.org/ubb/smile.gif

Funny thing about this kde2 version I downloaded, can't seem to locate Konqueror anywhere. Wierd.

rod
12-08-2000, 11:28 PM
CRT... Konqueror is not included in the base package. You will have to get apt pointed at unstable again and apt-get update and then apt-get install konqueror.

This link is for unstable packages availible:
http://packages.debian.org/unstable/

Regards,
Rod

stack
12-09-2000, 02:05 AM
Thanks again!

Lin-X
12-09-2000, 11:56 AM
Originally posted by rod:
You have to add a executable in /etc/gdm/Sessions

Not quite sure how but it should look something like this:


#!/bin/sh
#

if [ -x /usr/bin/kde ]; then
exec /usr/bin/kde

fi

How to put this in and make it executable I don't know and would be interested myself on how to do this.


Regards,
Rod

1) Name the script to whatever you want.

2) In a command prompt type:
chmod + x filename or you can use numbers but use the simple way http://www.linuxnewbie.org/ubb/smile.gif.


------------------
Lin-X has been brought to you by a GNU generation.

rod
12-09-2000, 05:50 PM
Lin-X... thanks for the small script lesson.


Regards,
Rod