You are here

How to Russify Your Ubuntu Server for Russian Language Support


How to Russify Your Ubuntu Server for Russian Language Support

Most VPS hosting providers use default English OS templates for virtual machines, lacking Russian language support. This can be problematic if you need to edit documents with Russian characters on an English Ubuntu setup.

A similar situation can arise during automated Ubuntu installations, such as in VMWare Workstation.

To enable Russian language support and Russify your system, follow these commands:

sudo su
apt-get update
apt-get upgrade
apt-get install language-pack-ru
dpkg-reconfigure locales
dpkg-reconfigure keyboard-configuration
dpkg-reconfigure console-setup
echo 'FRAMEBUFFER=Y' >> /etc/initramfs-tools/initramfs.conf
update-initramfs –u
reboot now

In summary:

  1. Connect as the superuser.

sudo su
  1. Update and upgrade packages.

apt-get update
apt-get upgrade
  1. Install the Russian language pack.

apt-get install language-pack-ru
  1. Reconfigure locales.

dpkg-reconfigure locales

Check ru_RU.UTF8

How to Russify Your Ubuntu Server for Russian Language Support - configure locales

Check ru_RU.UTF-8 as default.

How to Russify Your Ubuntu Server for Russian Language Support - configure locales

To check the current locale, use:

cat /etc/default/locale

It should look like this:

#  File generated by update-locale
LANG=ru_RU.UTF-8
#LANGUAGE="en_US:"
  1. Reconfigure keyboard settings.

dpkg-reconfigure keyboard-configuration

Select generic 105-key keyboard.

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

Choose your country.

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

Select the Russian layout.

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

Choose your prefered toggling method.

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

The other parameters may be left as is.

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

How to Russify Your Ubuntu Server for Russian Language Support - configure keyboard settings

  1. Reconfigure console settings.

dpkg-reconfigure console-setup

Select UTF-8.

How to Russify Your Ubuntu Server for Russian Language Support - configure console settings

Choose "guess the optimal character set".

How to Russify Your Ubuntu Server for Russian Language Support - configure console settings

The remaining settings should be left as is.

How to Russify Your Ubuntu Server for Russian Language Support - configure console settings

How to Russify Your Ubuntu Server for Russian Language Support - configure console settings

  1. Enable framebuffer.

echo 'FRAMEBUFFER=Y' >> /etc/initramfs-tools/initramfs.conf
update-initramfs –u
  1. Reboot your system.

reboot now

Your Ubuntu Server is now Russified.

0 0

Share the article with your friends in social networks, maybe it will be useful to them.


If the article helped you, you can >>thank the author<<