0

I am currently using Ubuntu Desktop 18.04 LTS. Where I work with mainly LibreOffice Calc. But I have to work with a server as well, and I only have one PC. So if I install Ubuntu Server, can I use LibreOffice Calc as well?

Please try to answer as yes or no: Is LibreOffice Calc is preinstalled in ubuntu server or have I to manually install it?

Melebius
  • 11,431
  • 9
  • 52
  • 78
  • 2
    Ubuntu Server does not come with a GUI (a server is more efficient without one), so you'll be pretty-much converting Ubuntu Server 18.04 into a desktop by installing the desktop & required deps to run LibreOffice Calc. Ubuntu Desktop can run server functions too, so why? – guiverc Sep 04 '18 at 06:37
  • "Ubuntu Desktop and Server are essentially the same distribution, just with different default package selection" - so yes. (via) – pLumo Sep 04 '18 at 06:39
  • @RoVo You are saying that LibreOffice Calc is not pre installed in Ubuntu Server? You mean That i have to manually install it. Right? – Uttam Manher Sep 04 '18 at 06:43
  • 3
    Exactly. But to be able to use it you also need to install a desktop environment. Based on your questions I very much doubt that Ubuntu Server is what you want. – pLumo Sep 04 '18 at 06:45
  • 1
    Note that you can also install server packages to your current Desktop edition. – Melebius Sep 04 '18 at 06:46
  • Yes , I want Ubuntu server - with LibreOffice Calc. – Uttam Manher Sep 04 '18 at 06:46
  • @Melebius how can I install server packages? – Uttam Manher Sep 04 '18 at 06:46
  • 2
    sudo apt install <package> or use docker ... But please, the comment section is not for extended discussions, and in general askubuntu is not your tutor. This site is for specific questions about specific issues. – pLumo Sep 04 '18 at 06:47
  • As RoVo mentioned, this looks like an XY problem. For what purpose would you use the Ubuntu Server? Isn’t virtualization also an option for you? – Melebius Sep 04 '18 at 08:10

2 Answers2

0

Usually in Ubuntu Server (and any other server distribution) there isn't the desktop manager (Gnome, KDE, ...). There isn't graphical environment.

But, anyway, you can install it and, obviously you also can install Libreoffice.

To install Gnome:

sudo tasksel ubuntu-desktop

If you want to install another desktop manager (Mate, XFCE, ...) you can follow this guide: https://linuxconfig.org/install-gui-on-ubuntu-server-18-04-bionic-beaver

  • Is there any way to install all packages of Ubuntu server in Ubuntu Desktop? like sudo-apt-get-install ubuntu-server? – Uttam Manher Sep 04 '18 at 06:55
  • yes, you can install server package in Ubuntu desktop. But are you sure you need a server? You need a server to give a service, for example a web server so you have to install apache or nginx, or a mail server so you have to install postifix, dovecot and others packages. Why you think you need a server? – metmarte Sep 04 '18 at 07:02
  • 1
    Your question is a perfect example for an XY Problem. Please open a new question with your specific problem --> what do you want to achieve (not "I need to install a server"). Also do not ask "I want to do this and that", rather "I'm doing this and that and I am stuck at this certain point." – pLumo Sep 04 '18 at 07:05
0

To keep your server efficient, you start it in text mode, and run it in text mode when you need no program with a graphical user interface.

But when you want to run LibreOffice or some other graphical program, you start a graphical window manager with startx instead of installing a full desktop environment. This is described in the following link and links from it,

Ubuntu 16.04 LTS - how is the X server started?

In your case you want to install not only the basic program packages, but also libreoffice and maybe some other program packages too.

sudo apt update
sudo apt install fluxbox xinit xterm libreoffice
sudodus
  • 46,324
  • 5
  • 88
  • 152