Skip to content

Instantly share code, notes, and snippets.

@okanon
Last active October 24, 2017 09:48
Show Gist options
  • Save okanon/1e02ea136ff7870b7a2afe14018f061a to your computer and use it in GitHub Desktop.
Save okanon/1e02ea136ff7870b7a2afe14018f061a to your computer and use it in GitHub Desktop.
Install x86_64 ArchLinux GUI

Install GUI x86-64 ArchLinux And Japanese Settings

GUI-Installation

This Gist assumes that the installation of ArchLinux(CUI) is over. If installation is not finished please look at here and finish the installation.

  • Setup sudo

    First of all, install "sudo" so that you can operate with administrator privileges.

    pacman -S --noconfirm sudo
    

    Uncomment% wheel ALL = (ALL) ALL and write {username} ALL=(ALL) ALL

    # visudo
    
    ...
    %wheel ALL=(ALL) ALL
    ...
    
    {username} ALL=(ALL) ALL
    
  • Installation of X environment

    Install X window system server related packages and others collectively.

    pacman -S xorg-server xorg-apps xorg-xinit xorg-xclock xterm xorg-twm
    

    If the CPU is intel, install the xf86-video-intel video driver.

    pacman -S xf86-video-intel
    

    For now, when X is started with startx, installation of X is OK. Three xterm windows start up. When xterm starts up, work on xterm.

    startx
    
  • GNOME Installation

    Install gnome and gnome-extra packages.

    pacman -S gnome gnome-extra gnome-tweak-tool
    

    Enable Display Manager (GDM). Set up so far and restart it, you will be logged in graphically. So far, the desktop environment is in place. If it is an English environment it is enough.

    systemctl enable gdm.service
    reboot
    

    Successful if the desktop is displayed after rebooting. Although it is partly displayed in Japanese, in order to display Japanese, it is necessary to set the following Japanese environment.

  • Setting the Japanese

    In order to create a Japanese environment, AUR 's package is required, so install yaourt. Update pacman's database by filling in /etc/pacman.conf below.

    # vim /etc/pacman.conf
    
    [archlinuxfr]
    SigLevel = Never
    Server = http://repo.archlinux.fr/$arch
    

    After adding, execute the following command. The database of pacman is updated.

    pacman --sync --refresh yaourt
    

    Install mozc and Anthy as Japanese input. For ibus you only need to specify the mozc package. The default input method of GNOME should be ibus. If you use other input methods such as UIM or Fcitx, you will need to install another mozc package.

    yaourt -S mozc
    pacman -S ibus-anthy
    

    Installation takes many time.

    Previously, I felt it was troublesome to install multiple packages and write settings. Now I just install the mozc package and set up GNOME. Very easy.

    Next, setting of gnome setting. Activate gnome settings from the activity. Select Japanese from Language of Region & Language. Log back in to validate the setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment