Page 1 of 1
Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 14 Aug 2020, 18:49
by j0nr
I have searched and cannot find instructions on how to install the CLI only. I know this is possible as I had it on my system before... I just can't remember how I did it
If I just do "apt install filebot" it wants to install a full on graphical interface (x11) nearly 1Gb...not right.
How do I just get the CLI please?
Thanks very much.
Re: Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 14 Aug 2020, 19:07
by rednoah
Did you disable auto-install of Recommends dependencies yet?
Re: Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 14 Aug 2020, 23:03
by j0nr
rednoah wrote: ↑14 Aug 2020, 19:07
Did you disable auto-install of Recommends dependencies yet?
I'm sorry, I don't know what that means or how to do it. I am cli only on server edition... No gui.
Thanks
Re: Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 15 Aug 2020, 03:12
by rednoah
If you do not want to install recommended packages you can run apt-get with the --no-install-recommends flag.
https://askubuntu.com/a/179089/332246
Re: Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 19 Aug 2020, 14:47
by j0nr
That did it! Thanks very much.
Have to ask, would this info be useful in the official docs for headless installation?
Re: Install CLI Only On Headless Ubuntu 20.04 Server
Posted: 19 Aug 2020, 16:27
by rednoah
j0nr wrote: ↑19 Aug 2020, 14:47
Have to ask, would this info be useful in the official docs for headless installation?
--no-install-recommends is default on some headless platforms and it is just an
apt option, so not particularly specific to FileBot. I'll add a note for users that are new to
apt package management.