There are two officially supported versions of Arch Linux, pacman and Arch User Repository (AUR).
↓
Since AUR is not officially supported, there is a lot of useful apps, although it increases the risk of viruses, trojans and backdoors being included.
↓
Even in the AUR, it seems that the risk of virus contamination should be mostly concerned unless it is a fairly niche app. (I'm not saying no
↓
Convenience is greatly enhanced by constructing an environment where AUR apps can be installed.
↓
I will explain how to install yay, which can manage AUR packages in the same way as Pacman.
↓
Describe the development environment. Reproducibility may be improved by making the development environment the same.
GIGABYTE AERO 15 4K有機EL 開封レビュー 動画解説付き
↓
Describe the services used and used in this environment. Reproducibility may be improved by making the environment the same.
↓
How to open vps server with Conoha VPS
↓
I do not operate the server with my home server, so I am using the service of the company, but if you can build the environment of your home server with extra PC etc., You might set up on the PC containing Arch linux It seems to work.
↓
Start an application that runs Bash or zsh. You can read about how to do yesterday by looking at the detailed list.
↓
Youtube
Blog https://prototype.tel/how-to-ssh-connect-vps-conoha-en
Youtube
Blog https://prototype.tel/how-to-ssh-connect-vps-conoha-jp
↓
See previous articles on how to install Bash.
↓
Youtube
Youtube
↓
バッシュを起動させたら
ssh ???.???.???.??
と入力してエンター
↓
The part of ??? is the number displayed in VPS of this time.
↓
The authenticity of host ~ ngerprint])? Is displayed, type
yes
then Enter
↓
root@???.???.???.???'s password: is displayed, type the password that you recommended when creating the Arch VPS and enter.
↓
If you see [root @ localhost ~] #
, you can successfully connect to ssh.
↓
Make settings inside SSH.
↓
Type
pacman -Syu elinks
to enter. Update Arch Linux to the latest
↓
:: Proceed with installation? [Y/n]
インストールしますか?
↓
Will be output, so type
y
then enter
↓
==> Image generation successful
と出たら成功。
If you see ==> Image generation successful
, you are successful.
↓
Packages downloaded with pacman will be placed in the
/var/cache/pacman/pkg
directory and the files will be kept there unless you manually remove them.
↓
Even if the package is updated, the old version of the cache file will remain.
↓
Therefore, if you do not manually delete the files on a regular basis, the amount of storage used will increase.
↓
I think it's an important part of using Arch Linux, which is hard to notice. If you update the cache and clear the cache regularly, you can operate the server more stably.
↓
Type
pacman -Sc
then enter. Clear the Archlinax cache
↓
:: Do you want to remove all other packages from cache? [Y/n] キャッシュから他のすべてのパッケージを削除しますか?
↓
Type
y
to enter
↓
:: Do you want to remove unused repositories?
未使用のリポジトリを削除しますか?
↓
Type
y
to enter
↓
Install nano, the most popular text editor that you find intuitive and easy to use.
↓
If you have another familiar editor, we would appreciate it if you could install it.
↓
Type
pacman -S nano
to enter. Install nano.
↓
:: Proceed with installation? [Y/n] is output. Type
y
to enter
↓
The color is changed to improve the visibility of CLI. This action is optional.
↓
Type
nano /etc/pacman.conf
and enter.
↓
Delete the # from #Color in the editor to make it Color. The act of removing the # is called commenting out.
↓
To undo your changes, add a # for Color in the editor and make it #Color.
↓
Although it is an option, you can change the download animation by adding ILovecandy under # Misc options. This is a flavor element.
↓
After making changes, press Ctrl(^) + s to save the changes
↓
Ctrl(^) + x Exit nano with
↓
Give superuser privileges to general users. If you do not do this, ordinary users will not be able to rewrite files inside the root.
↓
Type
pacman -S sudo
and enter.
↓
Type
EDITOR=nano visudo
and enter.
↓
Delete # in
# % wheel ALL = (ALL) ALL
in the editor to make
% wheel ALL = (ALL) ALL
↓
After making changes, press Ctrl(^) + s to save the changes
↓
Ctrl(^) + x Exit nano with
↓
Install the git package needed to download yay files from the git hub
↓
Type
pacman -S git
and enter.
↓
:: Proceed with installation? [Y/n] Will appear, type
y
and enter
↓
Since yay is written in go language, installation of go language is required.
↓
Type
pacman -S go
and enter
↓
Create a general user.
↓
Type
useradd -m -aG wheel {Your username}
and enter.
Here, by adding -m
, a folder of {Your username} is created under the home directory.
↓
Add {Your username} to the wheel group with -aG wheel
. This will put you in the #% wheel ALL = (ALL) ALL
group, so you can add sudo privileges.
↓
Even if you forget to add a group here, you can add or remove it later, but it is a hassle and it would be easier to register all at once in the useradd part.
↓
Type
passwd {Your username}
and enter.
↓
Type
{Type any password you want to}
to enter.
↓
Type
{Again type any password you want to}
and enter.
↓
If you see passwd: password updated successfully Is successful
↓
Type
su {The user name you just created}
and enter.
↓
Change user account from administrator to general user
管理者から一般ユーザーにユーザーアカウントを変更します
↓
Type
cd
and enter.
↓
Go to the document root for regular users.
↓
Download yay in the document root of the created general user.
↓
Since it is a repository created by the user, the risk of cracking increases, yay does not recommend installing yay with root authority or root hierarchy.
↓
Creating a general user is almost mandatory to use yay.
↓
Type
git clone https://aur.archlinux.org/yay.git
and enter
↓
Type
cd yay
and enter
↓
Type
makepkg -si
and enter
↓
[sudo] password for arch: is output, type the password of a general user and enter
↓
:: Proceed with installation? [Y/n] Will appear, type
y
and enter
↓
以上で yay のインストール方法を終了します。
↓
I will explain how to uninstall yay.
↓
Type
makepkg -c
and enter
↓
That's how to uninstall yay.
↓
The existence of the yay folder in the document root of general users is annoying, delete it. Please note that you cannot uninstall yay if this yay folder does not exist (1 lose)
↓
Type
cd ..
and enter
↓
Type
sudo rm -r yay
and enter
↓
[sudo] password for arch: is output, type the password of a general user and enter
↓
Thank you for watching until the end.
↓
If you like the content, it would be very encouraging to make a donation. Thank you for your warm support.
↓
https://www.amazon.com/hz/wishlist/ls/25QWFDBIGH2I
https://www.amazon.co.jp/hz/wishlist/ls/3QXEWZF6CZOWF
1PfRFYr5eYLDcC89bZhGP2jq9oV1oWhaT9
↓
Thank you for watching until the end. I'm glad if you can use it as a reference.
↓
We will continue to update useful information. If you don't mind, please donate. If you donate, I'll be happy to jump.