How To Install can-utils on Fedora 36
Introduction
In this tutorial we learn how to install can-utils
on Fedora 36.
What is can-utils
CAN is a message-based network protocol designed for vehicles originally created by Robert Bosch GmbH. SocketCAN is a set of open source CAN drivers and a networking stack contributed by Volkswagen Research to the Linux kernel. This package contains some user space utilities for Linux SocketCAN subsystem.
We can use yum
or dnf
to install can-utils
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install can-utils.
Install can-utils on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install can-utils
using dnf
by running the following command:
sudo dnf -y install can-utils
Install can-utils on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install can-utils
using yum
by running the following command:
sudo yum -y install can-utils
How To Uninstall can-utils on Fedora 36
To uninstall only the can-utils
package we can use the following command:
sudo dnf remove can-utils
can-utils Package Contents on Fedora 36
/usr/bin/asc2log
/usr/bin/bcmserver
/usr/bin/can-calc-bit-timing
/usr/bin/canbusload
/usr/bin/candump
/usr/bin/canfdtest
/usr/bin/cangen
/usr/bin/cangw
/usr/bin/canlogserver
/usr/bin/canplayer
/usr/bin/cansend
/usr/bin/cansequence
/usr/bin/cansniffer
/usr/bin/isotpdump
/usr/bin/isotpperf
/usr/bin/isotprecv
/usr/bin/isotpsend
/usr/bin/isotpserver
/usr/bin/isotpsniffer
/usr/bin/isotptun
/usr/bin/j1939acd
/usr/bin/j1939cat
/usr/bin/j1939spy
/usr/bin/j1939sr
/usr/bin/log2asc
/usr/bin/log2long
/usr/bin/mcp251xfd-dump
/usr/bin/slcan_attach
/usr/bin/slcand
/usr/bin/slcanpty
/usr/bin/testj1939
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/1c02864c247a8135c9e65f914a6287e3a2f3b9
/usr/lib/.build-id/09
/usr/lib/.build-id/09/70e894523f2895e27f1ca2d36801ea557cf84a
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/fb016b9e4a3a1564adf66e2053f2f55de2dc07
/usr/lib/.build-id/20
/usr/lib/.build-id/20/01cf3607bd1e56de8faee117f45930fba08c8e
/usr/lib/.build-id/20/a3409c64a81c44871b8827531a6930f6cc01f5
/usr/lib/.build-id/21
/usr/lib/.build-id/21/97c98f83df184c78187a394840fae0309bc35e
/usr/lib/.build-id/27
/usr/lib/.build-id/27/a56933c4ff9ca9b01de0be5c590ef3dd8db0be
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/e9b824e9678803508bd31d57cecb578eec743f
/usr/lib/.build-id/47
/usr/lib/.build-id/47/3c4158388a9b42df8d2a788ee7c3c3eefd245a
/usr/lib/.build-id/48
/usr/lib/.build-id/48/08e61134c62f7c7aeb0fe62a779f9ccba5a231
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/4a504dfa666ec43c2ff78d00cf55c52ca8b958
/usr/lib/.build-id/85
/usr/lib/.build-id/85/eaa699144dcde2b8d097b7804f073c8489820e
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/56645a52211073a84f6e84c653d5d5d785d41f
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/420a032153890c9d11930def8333d58fa11ece
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/a808b59ff5f9a754afcede0649c434e08f90b2
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/335f5ebda1fec9e90635ebb7a4c8f8b1685386
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/111cf109a42b72dd81187b032e266c514b01e8
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a1533d43a24bcda99075780bb0da7cd7c6a00d
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/1c1c5d14ac61e3fd8b827324ec71fd715b5998
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/49b5a32a2b284af3817c27a2b8dd837c33b027
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/a671bcebce6fe2836a95f2ec6f2e39f2af56e5
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/d34b4daeb95d24b23dd2a2a66dc571986390ac
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/11bab4755f9602987422cf4b73573e52964483
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/45121cc2c50b2c05939b49c6a2007d2fe9fe4d
/usr/lib/.build-id/d9/c483af8dcdbb120ecc797cab2bb5ffa768f70a
/usr/lib/.build-id/da
/usr/lib/.build-id/da/9d375880c5e13d050c313d7d918ce2621cc0ee
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/914933d0450770d849362dae8a4aa46feb6175
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/3c018b20d46971d9ee6f7eecbef53178e4125e
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/271b811090593aced5e2b0d51caf688c4c702e
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/370770b312376835b21ff179f78ca8aaeffbed
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/4199d3a00a1929c098d4532e8af68395aeb556
/usr/share/doc/can-utils
/usr/share/doc/can-utils/README.md
/usr/share/licenses/can-utils
/usr/share/licenses/can-utils/COPYING
References
Summary
In this tutorial we learn how to install can-utils
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).