How to install language support completely using command line?

14,082
sudo apt install $(check-language-support)

That should make the Language Support prompt shut up. :) It may install both some English and non-English packages

Share:
14,082

Related videos on Youtube

fullmooninu
Author by

fullmooninu

http://namegrep.com https://github.com/fullmooninu Nothing else to report, sir.

Updated on September 18, 2022

Comments

  • fullmooninu
    fullmooninu almost 2 years

    After a fresh ubuntu/lubuntu/xubuntu install, if you go to language support, you'll get the message prompt "language support is not installed completely", to install the language support.

    How do you trigger the installation of language support using bash command line? In a way to automate post-installation further.

    note: not sure if this only happens if you have extra languages/locales in ubuntu, but since I'm not anglo, it probably has.

  • fullmooninu
    fullmooninu almost 8 years
    Never used apt to install stuff before, only apt-get and dpkg, any reason why you prefer it here and in general? And the syntax? what does the $ mean?
  • Gunnar Hjalmarsson
    Gunnar Hjalmarsson almost 8 years
    @fullmooninu: apt is a newer simplified tool, but apt-get works fine too. the $(command) syntax is equivalent to `command`.
  • fullmooninu
    fullmooninu almost 8 years
    So that is equivalent to sudo apt-get install check-language-support or to sudo apt-get install check-language-support;check-language-support ?
  • fullmooninu
    fullmooninu almost 8 years
    I didn't know what check-language-support does, as you say, lists packages to be installed. Also because in this machine it is listing nothing. Hence my question about the expanding syntax. I'll test this in a VM and give you the answer.
  • Gunnar Hjalmarsson
    Gunnar Hjalmarsson almost 8 years
    @fullmooninu: If check-language-support outputs an empty list, the language support is complete, and hence you shouldn't be prompted to install anything when opening Language Support. In other words: The command installs additional language support if there is something left to install.
  • fullmooninu
    fullmooninu almost 8 years
    Tested. Works fine :) Can you add the man description to your answer just for completeness? "check-language-support - returns the list of missing packages in order to provide a complete language environment". Tyvm.
  • Admin
    Admin about 2 years
    echo $(check-language-support) will show what actually you have to install :) Great answer, thanx!