[Linux] [Initial Settings] Install & Uninstall


Beginning of the beginning


Create & install package list


sudo dpkg-query -f '${binary:Package}\n' -W > packages_list.txt


sudo xargs -a packages_list.txt apt install


・ Tomboy ・ Redshift ・ Xreader ・ Xviewer ・ Onboard ・ Gucharmap ・ Firefox ・ Hexchat ・ Thunderbird ・ Simple-scan ・ Pix ・ Rhythmbox ・ Xplayer ・ Vim-tiny ・ Vim-common ・ Onboard ・ Mint welcome

sudo apt purge firefox hexchat thunderbird tomboy redshift xreader xviewer xviewer gucharmap simple-scan pix rhythmbox xplayer mintwelcome  onboard vim-tiny vim-common 


apt (package available with apt)

** Input, font, codec **


development of

** Multimedia **


ubuntu-defaults-ja PPA added

wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add -
wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add -
sudo wget https://www.ubuntulinux.jp/sources.list.d/bionic.list -O /etc/apt/sources.list.d/ubuntu-ja.list


sudo add-apt-repository ppa:mmstick76/alacritty

Bulk installation with apt

apt system

sudo apt update && \
sudo apt install -y libncurses5-dev libncursesw5-dev libclang-dev \
ubuntu-defaults-ja ubuntu-restricted-extras git make build-essential \
fcitx-mozc vim-gnome fonts-migmix gimp \ thunar ffmpegthumbnailer nomacs vlc \
audacious alacritty zsh ncdu xbindkeys \
xdotool cmake python3-dev python-dev \
libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 \ tree

npm system

sudo apt install nodejs npm && sudo npm install -U npm && sudo npm install -g yarn n && sudo n stable


After installing git Clone dotfiles from git

git clone https://github.com/username/dotfiles.git

git review

[Git] Push from local to remote and make minor corrections


YouCompleteMe setup

cd ~/.vim/plugged/YouCompleteMe && ./install.py --all


Since the alias of ls`` cat'grep' is set to ʻexa bat`` ripgrep`, it is necessary to install from cargo of rust.

Rust installation

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


exa installation

cargo install exa


cargo install bat


procs installation

cargo install procs


cargo install ripgrep


cargo install fd-find

Bulk installation with cargo

cargo install exa bat procs ripgrep fd-find

Change shell to Zsh

chsh -s /bin/zsh

Log in again to complete the change

Change theme


Clone repository

git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"

Shell options

extended_Set glob

for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"

By setting this, all extended notations such as exclusion patterns and case identification are possible. https://gihyo.jp/dev/serial/01/zsh-book/0004

Other settings

Import from dotfiles

Error handling

When you cannot execute / usr / local / bin / zsh when you try to sudo su

thunar extension

The one that displays thunar thumbnails

tumbler tumbler-plugins-extra

Non-apt (package not available with apt)


Foxt Reader https://www.foxitsoftware.com/pdf-reader

sudo chmod a+x FoxitReader*.run && sudo ./FoxitReader*.run




sudo dpkg --add-architecture i386 && \
wget -nc https://dl.winehq.org/wine-builds/winehq.key && \
sudo apt-key add winehq.key


sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' && \
sudo apt update

Stable version

sudo apt install --install-recommends winehq-stable

When the stable version is not stable(Lol)

sudo apt install --install-recommends winehq-devel

When it cannot be installed due to an error

Example) Error: winehq-devel: Depends: wine-devel (= x.xx ~ bionic)

This cannot be installed due to a missing package called faudio. Add packages from a third-party PPA.


sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
sudo apt update && apt upgrade

Japanese font installation

sudo apt install -y winetricks \ && winetricks

--Install this and that

Insert backup file

--Copy and paste the configuration files backed up on the SSD

Recommended Posts

[Linux] [Initial Settings] Install & Uninstall
[Linux] [Initial Settings] System Settings
[Linux] [Initial Settings] Getting Started
[Linux] [Initial Settings] [Flutter] Summary
[Linux] [Initial Settings] Backup & Recovery
[Linux] [Initial Settings] Table of Contents
Flask initial settings
linux mono uninstall
[Linux] DNS settings
[Linux] su, sudo settings
Linux, Windows proxy settings
Install Minecraft on Arch Linux
Install Linux on your Chromebox
Anaconda 4.4.0 Initial Settings for Windows
Install the JDK on Linux
Initial settings from Kubuntu installation
Install tomcat 5.5 on Amazon Linux.
Raspbian initial settings (Raspberry Pi 4)
Install Homebrew on Amazon Linux 2
Install strongSwan 5.9.1 on Amazon Linux 2
[Linux] [Initial Settings] Table of Contents for Development Environment Setup
Install Python Pillow on Amazon Linux
Install oracle java8 on amazon linux2
Install CUDA on Linux Mint Mate 20
Install Arch Linux on DeskMini A300
Install tensorflow in Docker (LINUX) (memo)
How to install wkhtmltopdf (Amazon Linux2)
[Linux] Install Python 3 without administrator privileges
How to install VMware-Tools on Linux
Install pyenv on EC2 (Amazon Linux)
How to install MBDyn (Linux Ubuntu)
[Note] Install Imagick on Amazon Linux2
Linux ssh port forwarding (tunnel) settings
Initial settings for Mac (for data analysts)