トップ 一覧 Farm 検索 ヘルプ RSS ログイン

Diary/2025-8-17の変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!Ubuntu 24.04 @家マシン
長らく Ubuntu 22.04 だった家マシンを Ubuntu 24.04 にアップグレード,
というかクリーンインストール./home を別ディスクにしててよかった.
今回は,Ubuntu server 24.04のイメージでインストール.
家マシンだけどWiFiで接続するので
 miyo@tama:% sudo cat /etc/netplan/50-cloud-init.yaml
 # This is the network config written by 'subiquity'
 network:
   version: 2
   ethernets:
     enx3495db2e5302:
       dhcp4: false
       dhcp6: false
       optional: true
   wifis:
     wlp1s0:
       access-points:
         <SSID>:
           password: <PASSWORD>
       dhcp4: true
       dhcp6: true
とか.ファイルは,オーナをrootに,パーミッションを -rw------- とかにしとく.
デスクトップ環境はxubutuに.
 sudo apt install xubuntu-desktop
あとは,自分の過去のリストなどをみながら,いろいろセットアップ.
* システム設定 - https://www.wasamon.net/miyo/index.cgi?page=Diary%2F2025%2D4%2D17
* Xubuntu 22.04のときのインストール https://www.wasamon.net/miyo/index.cgi?page=Diary%2F2024%2D7%2D13
* Xubuntu 24.04では入ってなかった https://www.wasamon.net/miyo/index.cgi?page=Diary%2F2025%2D4%2D24
* BLEの設定 https://www.wasamon.net/miyo/index.cgi?page=Diary%2F2025%2D5%2D28
* emacs-27.2のビルド https://www.wasamon.net/miyo/index.cgi?page=Diary%2F2025%2D8%2D1
* FPGA開発環境 https://github.com/acri-room/acri-olb/blob/0299d96f955b153fefdbd58e62c0354b02eb15c4/client/installation.txt

emacs-27.2のビルドにいくつか不足してた
 sudo apt install libtinfo6 libncurses-dev terminfo
フォントはいつものmigmix
 sudo apt install fonts-migmix
Vivado 2024.2などlibtinfo.so.5が必要なものがあるが,Ubuntu 24.04にはlibtinfo5はないので,
 sudo apt install libtinfo6 # emacsビルド用にインストールしてた
 cd /usr/lib/x86_64-linux-gnu/
 sudo ln -sf libtinfo.so.6 libtinfo.so.5
とりあえず,これでごまかせる.

ちなみに,lmgrd動かしたいときは,
 cd /lib64
 sudo ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.2
 sudo ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3
とかする必要があるけど,このマシンでは不要.