$ sudo apt install task-japanese
$ sudo apt install fonts-ipafont
$ sudo apt install fonts-ipaexfont
$ fc-cache -fv
$ sudo vim /etc/apt/sources.list
元々のapt-lineを消して以下を追加
deb https://deb.debian.org/debian sid main non-free non-free-firmware contrib
MTU(Maximum Transmission Unit)が1500バイトの場合、UDPでデータを送る際にIPフラグメントを起こさずに送信できる最大サイズは以下のように計算できます。
- Ethernetヘッダ: 14バイト
- IPヘッダ: 最小で20バイト
- UDPヘッダ: 8バイト
- それらのヘッダを引いた値: (1500 - 14 - 20 - 8 = 1458)バイト
したがって、フラグメントを起こさずに送信できる最大サイズは1458バイトになります。
$ go run main.go
1
2
3
4
5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log/slog" | |
"os" | |
"path/filepath" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log/slog" | |
"os" | |
"path/filepath" | |
"strings" |
debファイルを取得し、インストールを試みる。
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
(Reading database ... 30014 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (116.0.5845.140-1) over (116.0.5845.140-1) ...