Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How can I find the version of installed Ubuntu?

This question may find silly but here is the question..

My friend sent me a laptop from U.S. and he said he installed KDE on Ubuntu..

How do i confirm that if it is KDE over ubuntu or Kubuntu?

I am looking for some command that i can execute in terminal to find the info

share|improve this question

marked as duplicate by Jorge Castro, dv3500ea, Marco Ceppi Nov 23 '10 at 4:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

4 Answers 4

up vote 1 down vote accepted

Check to see if the ubuntu-desktop package is installed or has ever been installed.

dpkg -l ubuntu-desktop

If you get this:-

No packages found matching ubuntu-desktop.

Then it wasn't installed from an Ubuntu medium, and so chances are it was either built up from minimal install or from a Kubuntu CD.

If you see a line that starts:-

un ubuntu-desktop

Then Ubuntu (GNOME variant) was installed but has now been removed. So chances are it was an Ubuntu install onto which KDE was added.

share|improve this answer
    
popey..what you said is correct. When i ran the command it returned No packages found matching ubuntu-desktop. Also my friend confirmed that he installed this from Kubuntu CD..I was looking for this only..Thanks for your answer. –  javanoob Nov 21 '10 at 12:13
add comment

In terminal type,

lsb_release -a

It will give you the similar output like mine,

karthick@Ubuntu-desktop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04 LTS
Release:    10.04
Codename:   lucid

In my case from the Distributor ID you can see that i am using Ubuntu distribution.

share|improve this answer
    
Here is the output of the above command No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04 LTS Release: 10.04 Codename: lucid So is it KDE over ubuntu? Please tell me –  javanoob Nov 19 '10 at 17:46
    
it is kde over ubuntu. –  tinhed Nov 19 '10 at 18:21
    
tinhed, I think this is not the KDE over ubuntu.. I got a chance to talk to my friend and he said he installed this from a Kubuntu CD.. –  javanoob Nov 21 '10 at 12:11
add comment

Try looking in Synaptic for kubuntu-desktop package installed, as apposed to just KDE packages. I think if you have kubuntu-desktop installed it is pretty sure to be Kubuntu and not just KDE packages installed on Ubuntu, but I haven't used Kubuntu for some time.

share|improve this answer
add comment
cat /proc/version
share|improve this answer
    
Here is the out put from above command. Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 Can u tell me if it is KDE over ubuntu or Kubuntu –  javanoob Nov 19 '10 at 17:44
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.