红联Linux门户
Linux帮助

Installing Gnome from CLI

发布时间:2009-03-27 15:50:49来源:红联作者:jerry520
I have Ubuntu 8.10 on my laptop, dual booting with WinXP.

Because I do not use a printer with my laptop, I decided to remove cups. I went into the package manager and removed all packages related to cups. I was warned of other packages (OpenOffice, Firefox,.. a very long list covering almost everything!) that had a dependency on cups. I assumed that only the dependency would be removed but on rebooting I find myself stuck at the command prompt.

How can I now restore the Gnome desktop?

A couple of points:
1. I'm no expert (as you can figure out), so a simple solution will be appreciated.
2. I'd like to install all packages from my LiveCD (I'm not sure if I can connect to the internet, I believe I also managed to remove the network manager etc)
3. I am ok with a minimal number of packages (Gnome+Firefox+connectivity to the internet) to be installed right now as I would like to upgrade to 9.04 when its out.
4. I do not want to experiment too much on my own as I don't want to lose Windows and have to do a complete re-install of both Win and Ubuntu.

I did some digging around the the following should get me started:
Code:

$ sudo apt-cdrom add

followed by
Code:

$ sudo apt-get install ubuntu-desktop

Will this work? What else will I have to do to get my drivers (display, wireless etc) up and running?

Thanks!!
Thwelve is offline Reply With Quote
文章评论

共有 0 条评论