# How do I install this on Rocky Linux 8?

**URL:** <https://forums.rockylinux.org/t/how-do-i-install-this-on-rocky-linux-8/18214>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [April 19, 2025, 11:39am UTC](https://forums.rockylinux.org/t/how-do-i-install-this-on-rocky-linux-8/18214 "2025-04-19T11:39:01Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [April 19, 2025, 4:29pm UTC](https://forums.rockylinux.org/t/how-do-i-install-this-on-rocky-linux-8/18214/13 "2025-04-19T16:29:55Z")

</div>

OK, so first install mock - in this example my username is `ian` so you will need to change that for yours:

```auto
dnf install mock
gpasswd -a ian mock

```

you will now need to logout and log back in again for that to be active. Now we can start building audacity from the source rpm. First download the Audacity 3.5.1 source rpm from one of the two links:

Main page with links: [audacity-3.5.1-4.fc41 | Build Info | koji](https://koji.fedoraproject.org/koji/buildinfo?buildID=2559283)  
Direct download for source rpm: [https://kojipkgs.fedoraproject.org//packages/audacity/3.5.1/4.fc41/src/audacity-3.5.1-4.fc41.src.rpm](https://kojipkgs.fedoraproject.org//packages/audacity/3.5.1/4.fc41/src/audacity-3.5.1-4.fc41.src.rpm)

that package now ends up in `/home/ian/Downloads` on my system. Now we can build it, as mentioned there are two stages, one to deal with dependencies, the second to build the package.

```auto
mock -r rocky+epel-8-x86_64 --installdeps audacity-3.5.1-4.fc41.src.rpm
mock -r rocky+epel-8-x86_64 audacity-3.5.1-4.fc41.src.rpm

```

I built in Rocky 9 but I’ve adjusted the commands to match your environment. Now if that does fail to build, you can try an older version of 3.4.2 from these links:

Main page with links: [audacity-3.4.2-1.fc40 | Build Info | koji](https://koji.fedoraproject.org/koji/buildinfo?buildID=2396150)  
Direct download for source rpm: [https://kojipkgs.fedoraproject.org//packages/audacity/3.4.2/1.fc40/src/audacity-3.4.2-1.fc40.src.rpm](https://kojipkgs.fedoraproject.org//packages/audacity/3.4.2/1.fc40/src/audacity-3.4.2-1.fc40.src.rpm)

maybe 3.5.1 will build for Rocky 8, so worth a try. After it’s finished building, you will have an RPM, so now I did this:

```auto
cp /var/lib/mock/rocky+epel-9-x86_64/result/audacity-3.5.1-4.el9.x86_64.rpm /home/ian/Downloads

```

yours will be different because it will reference `rocky+epel-8-x86_64` directory, and the audacity rpm will most likely be `audacity-3.5.1-4.el9.x86_64.rpm ` so:

```auto
cp /var/lib/mock/rocky+epel-8-x86_64/result/audacity-3.5.1-4.el8.x86_64.rpm /home/ian/Downloads

```

and then after that you can install it:

```auto
dnf install -y /home/ian/Downloads/audacity-3.5.1-4.el8.x86_64.rpm

```

and then after that when you run Audacity it should look like my screenshots 🙂

 ![Screenshot from 2025-04-19 18-20-47](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/9/929a2bc7c9f4cd7152f24e252f94782e3c288e25.jpeg)

---

_[View the full topic](https://forums.rockylinux.org/t/how-do-i-install-this-on-rocky-linux-8/18214)._
