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 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 brd 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

sudo dnf install my-package

Uninstall a package

sudo dnf remove my-package