I went with the TI 4.1 kernel since I wanted all of the PRU + remoteproc stuff.
This was also a Linux learning experience, and it went well and resulted in a working BBG.
However, I am missing a “standard” Linux feature, and I would like to know how to install.
I’m looking for the “file” command, which is normally found in /usr/bin
I think this is included in a library called libmagic1, I found it with apt-cache search and installed the package.
However, I still do not see the file command anywhere.
This seems like something basic, what part of the process am I missing?
I went with the TI 4.1 kernel since I wanted all of the PRU + remoteproc
stuff.
This was also a Linux learning experience, and it went well and resulted
in a working BBG.
However, I am missing a "standard" Linux feature, and I would like to know
how to install.
I'm looking for the "file" command, which is normally found in /usr/bin
sudo apt-get update ; sudo apt-get install file
I think this is included in a library called libmagic1, I found it with
apt-cache search and installed the package.
However, I still do not see the file command anywhere.
This seems like something basic, what part of the process am I missing?
When in doubt, you can search the apt cache to see if the package exists. Such as . . .
$ sudo apt-get update
$ apt-cache search
Additionally, If you do not know what the package name might be, and apt-cache search is not workign as you migth expect. You can google "debian package " and you should find the online listing for debian packages. Sometimes, it may also be required to use the specific debian version code name such as “Wheezy”, or “Jessie” . . .
I did indeed do an apt-cache search and some googling. I totally failed on this one. As you might imagine, the search term “file” gets a few hits.
But, your suggestion to search “debian package file” nails it! I wouldn’t have thought of that one, thank you!