# Guide on how to tag files with replay gain without messing with the plugin. (Linux)

**URL:** https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717
**Category:** MusicBrainz Picard
**Tags:** tutorial, replay-gain, picard
**Created:** [March 8, 2022, 1:18am UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717 "2022-03-08T01:18:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![drench](https://community.metabrainz.org/user_avatar/community.metabrainz.org/drench/32/49044_2.png) [@drench](https://community.metabrainz.org/u/drench)
#### Post date: [March 8, 2022, 1:18am UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/1 "2022-03-08T01:18:37Z")

</div>

Hello all! I like replaygain for pop music, so I am here to share with you the ultimate solution I found.

Which is to utilize the script provided here by this blogger:

> **[ReplayGain in Linux](https://www.bobulous.org.uk/misc/Replay-Gain-in-Linux.html)**
>
> A guide to tagging your audio files with ReplayGain volume adjustment data. Plus a list of audio players in Linux that make use of ReplayGain data.

Necessary installations for command `metaflac`:

> **[command-not-found.com - metaflac](https://command-not-found.com/metaflac)**
>
> Install metaflac command on any operating system.

I decided not to use the plug in because there is too much that I have to mess with, including downloading external executable and pointing picard to use it, saving problems etc.

My way is a little easier.

1. Open folder location
2. open command prompt at locatoin
3. `cd ..`
4. `sh tfrwg.sh [name of album folder]

Whoalla.

---

<div class="post-metadata">

### Author: ![outsidecontext](https://community.metabrainz.org/user_avatar/community.metabrainz.org/outsidecontext/32/90_2.png) [@outsidecontext](https://community.metabrainz.org/u/outsidecontext)
#### Post date: [March 8, 2022, 10:33am UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/2 "2022-03-08T10:33:32Z")

</div>

My recommendation instead of using the individual tools like mp3gain etc. would be to use a single more modern tool like [loudgain](https://github.com/Moonbase59/loudgain) (which I personally use) or [regainer](https://github.com/kepstin/regainer).

Both are using the [ReplayGain 2.0](https://wiki.hydrogenaud.io/index.php?title=ReplayGain_2.0_specification) specification.

Multiple people have also talked about updating the replaygain plugin by integrating the functionality of either loudgain or regainer directly into Picard, but so far nobody has actually done it 🙂

---

<div class="post-metadata">

### Author: ![drench](https://community.metabrainz.org/user_avatar/community.metabrainz.org/drench/32/49044_2.png) [@drench](https://community.metabrainz.org/u/drench)
#### Post date: [March 8, 2022, 8:34pm UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/3 "2022-03-08T20:34:47Z")

</div>

Good to know, will check those apps out.

I think the `metaflac` is also replay gain 2.0, or is it not?

---

<div class="post-metadata">

### Author: ![outsidecontext](https://community.metabrainz.org/user_avatar/community.metabrainz.org/outsidecontext/32/90_2.png) [@outsidecontext](https://community.metabrainz.org/u/outsidecontext)
#### Post date: [March 8, 2022, 11:16pm UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/4 "2022-03-08T23:16:27Z")

</div>

Not sure, might be. But if is definitely FLAC only.

---

<div class="post-metadata">

### Author: ![drench](https://community.metabrainz.org/user_avatar/community.metabrainz.org/drench/32/49044_2.png) [@drench](https://community.metabrainz.org/u/drench)
#### Post date: [March 9, 2022, 12:42am UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/5 "2022-03-09T00:42:36Z")

</div>

Yes, that is indeed a problem with my method.

---

<div class="post-metadata">

### Author: ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)
#### Post date: [March 9, 2022, 11:33am UTC](https://community.metabrainz.org/t/guide-on-how-to-tag-files-with-replay-gain-without-messing-with-the-plugin-linux/575717/6 "2022-03-09T11:33:39Z")

</div>

Also, FWIW, regainer is made and maintained by fellow MB editor @kepstin 🙂
