Install CLI Only On Headless Ubuntu 20.04 Server

Any questions? Need some help?
Post Reply
j0nr
Posts: 4
Joined: 28 Nov 2016, 23:03

Install CLI Only On Headless Ubuntu 20.04 Server

Post 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 :roll:

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.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Install CLI Only On Headless Ubuntu 20.04 Server

Post by rednoah »

Did you disable auto-install of Recommends dependencies yet?
:idea: Please read the FAQ and How to Request Help.
j0nr
Posts: 4
Joined: 28 Nov 2016, 23:03

Re: Install CLI Only On Headless Ubuntu 20.04 Server

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Install CLI Only On Headless Ubuntu 20.04 Server

Post by rednoah »

If you do not want to install recommended packages you can run apt-get with the --no-install-recommends flag.
:arrow: https://askubuntu.com/a/179089/332246
:idea: Please read the FAQ and How to Request Help.
j0nr
Posts: 4
Joined: 28 Nov 2016, 23:03

Re: Install CLI Only On Headless Ubuntu 20.04 Server

Post by j0nr »

That did it! Thanks very much.

Have to ask, would this info be useful in the official docs for headless installation?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Install CLI Only On Headless Ubuntu 20.04 Server

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply