How to install Beats App on Unihiker?
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
Hi everyone - I have been making this project from RaniBandi, but I am having trouble installing Beats.
Unihiker TR-808 Drum Machine
https://community.dfrobot.com/makelog-313520.html
I got all the rest installed/working, but
This is the line I am having difficulty with:
$ gem install beats
I was able to install Ruby and Beats on my Windows machine, but Its supposed to “live” on the Unihiker, right?
Thanks in advance!
The following solution is from gpt-4-1106-preview and has been tested successfully:
Question: How do I install the Beats Drum Machine on a Unihiker device running Debian?
Answer:
To install the Beats Drum Machine on your Unihiker device, follow these steps:
1. Update your package list:
```
sudo apt-get update
```
![](https://dfimg.dfrobot.com/64228321aa9508d63a42c28b/enshopforum/8f8be8f8c688795792dc4c4e3029c715.png)
2. Install Ruby:
```
sudo apt-get install ruby-full
```
This command will install Ruby along with its additional packages such as `ruby-dev`, `rubygems-integration`, and documentation.
![](https://dfimg.dfrobot.com/64228321aa9508d63a42c28b/enshopforum/cf51c252c2a09100318fda7b50348faa.png)
3. Install RubyGems:
RubyGems is typically included with Ruby, but if you need to install it separately, you would normally use:
```
sudo apt-get install rubygems
```
However, in this case, it seems that RubyGems is already included with the Ruby installation.
4. Install build-essential:
```sh
sudo apt-get install build-essential
```
This will ensure you have the necessary compiling tools installed, which may be needed for some Ruby gems with native extensions.
![](https://dfimg.dfrobot.com/64228321aa9508d63a42c28b/enshopforum/c7ff122714435cf5cb9b0720d3ccd4d0.png)
5. Install the Beats gem:
```sh
sudo gem install beats
```
This command fetches and installs the Beats gem and its dependencies, such as `wavefile`.
6. Verify the installation:
```sh
gem list beats
```
Running this command should show you that the `beats` gem is now installed.
![](https://dfimg.dfrobot.com/64228321aa9508d63a42c28b/enshopforum/d5166e2f1f3cdaabe7dae2456ad5e0f2.png)
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)