Useful command lines

Determining the Board’s IP Address

Use ip a command:

root@m3ulcb:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    inet 10.0.12.15/24 brd 10.0.2.255 scope global eth0
      valid_lft forever preferred_lft forever

dnf / package management

Add repo (1st time)

dnf config-manager --add-repo repository_url

List the repositories

dnf repolist

Update the repo

dnf update --refresh

Install the package on board

dnf install my-package

Un-install a package

dnf remove my-package