FairCom repository setup script
Download and install through FairCom's repository:
Download the script:
curl -LsSO https://repo.faircom.com/faircom_repo_setup.shSet the script to be executable:
chmod +x faircom_repo_setup.shRun the script:
sudo ./faircom_repo_setup.shExample
$ curl -LsSO https://repo.faircom.com/faircom_repo_setup.sh
$ chmod +x faircom_repo_setup.sh
$ sudo ./faircom_repo_setup.sh
Detected glibc 2.41 -> el10
Writing /etc/yum.repos.d/faircom.repo (el7/x86_64)...
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 9.0 KiB/s | 3.4 KiB | 00m00s
FairCom Packages 100% | 4.2 KiB/s | 3.5 KiB | 00m01s
Repositories loaded.
Metadata cache created.
Done. Install FairCom packages with: yum/dnf install <package> (or zypper install <package>)
One-liner
You can also configure the package manager to install FairCom software with a one-liner
curl -fsSL https://repo.faircom.com/faircom_repo_setup.sh | sudo bash
Example
Notice below that a faircom.repo file was installed into /etc/yum.repos.d/ directory
$ ls /etc/yum.repos.d/
fedora-cisco-openh264.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo
$ curl -fsSL https://repo.faircom.com/faircom_repo_setup.sh | sudo bash
Detected glibc 2.41 -> el10
Writing /etc/yum.repos.d/faircom.repo (el7/x86_64)...
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 7.0 KiB/s | 3.4 KiB | 00m00s
FairCom Packages 100% | 4.3 KiB/s | 3.5 KiB | 00m01s
Repositories loaded.
Metadata cache created.
Done. Install FairCom packages with: yum/dnf install <package> (or zypper install <package>)
$ ls /etc/yum.repos.d/
faircom.repo fedora-cisco-openh264.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo
$ cat /etc/yum.repos.d/faircom.repo
[faircom]
name=FairCom Packages
baseurl=https://repo.faircom.com/repository/yum/el7/x86_64/
enabled=1
gpgcheck=0
skip_if_unavailable=1The scripts support dnf/yum (RHEL/Rocky/Alma), zypper (SLES), and apt (Debian/Ubuntu) package managers.
Install packages through the repository
Once configured, FairCom packages can be installed using system's package manager:
sudo dnf install -y faircom-mqExample
$ sudo dnf install -y faircom-mq
Updating and loading repositories:
Repositories loaded.
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
Package Arch Version Repository Size
Installing:
faircom-mq x86_64 5.1.5-173.260728.el7 faircom 566.8 MiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 71 MiB. Need to download 71 MiB.
After this operation, 567 MiB extra will be used (install 567 MiB, remove 0 B).
[1/1] faircom-mq-0:5.1.5-173.260728.el7.x86_64 100% | 14.6 MiB/s | 70.7 MiB | 00m05s
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total 100% | 14.6 MiB/s | 70.7 MiB | 00m05s
Running transaction
[1/3] Verify package files 100% | 7.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 7.0 B/s | 1.0 B | 00m00s
[3/3] Installing faircom-mq-0:5.1.5-173.260728.el7.x86_64 100% | 80.4 MiB/s | 567.8 MiB | 00m07s
>>> Running post-install scriptlet: faircom-mq-0:5.1.5-173.260728.el7.x86_64
>>> Finished post-install scriptlet: faircom-mq-0:5.1.5-173.260728.el7.x86_64
>>> Scriptlet output:
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/faircom-mq.service' → '/usr/lib/systemd/system/faircom-mq.service'.
>>>
Warning: skipped OpenPGP checks for 1 package from repository: faircom
Complete!
Manual package installation
FairCom packages can be downloaded and installed manually:
Download package:
curl -LSsO https://repo.faircom.com/repository/yum/el7/x86_64/faircom-mq-5.1.5-173.260728.el7.x86_64.rpmInstall package:
sudo dnf install -y ./faircom-mq-5.1.5-173.260728.el7.x86_64.rpmExample
$ curl -LSsO https://repo.faircom.com/repository/yum/el7/x86_64/faircom-mq-5.1.5-173.260728.el7.x86_64.rpm
$ sudo dnf install -y ./faircom-mq-5.1.5-173.260728.el7.x86_64.rpm
Updating and loading repositories:
Fedora 42 - x86_64 - Updates 100% | 7.4 KiB/s | 3.4 KiB | 00m00s
Repositories loaded.
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
Package Arch Version Repository Size
Installing:
faircom-mq x86_64 5.1.5-173.260728.el7 @commandline 566.8 MiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 71 MiB. Need to download 0 B.
After this operation, 567 MiB extra will be used (install 567 MiB, remove 0 B).
Running transaction
[1/3] Verify package files 100% | 7.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 9.0 B/s | 1.0 B | 00m00s
[3/3] Installing faircom-mq-0:5.1.5-173.260728.el7.x86_64 100% | 80.2 MiB/s | 567.8 MiB | 00m07s
>>> Running post-install scriptlet: faircom-mq-0:5.1.5-173.260728.el7.x86_64
>>> Finished post-install scriptlet: faircom-mq-0:5.1.5-173.260728.el7.x86_64
>>> Scriptlet output:
>>> Created symlink '/etc/systemd/system/multi-user.target.wants/faircom-mq.service' → '/usr/lib/systemd/system/faircom-mq.service'.
>>>
>>>
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
Complete!
Package repository location
The RPM packages (RHEL/Rocky/Alma/SLES) are located in https://repo.faircom.com/yum/el8/ or https://repo.faircom.com/yum/el7/ for legacy systems in specific architecture subdirectories: x64_86, i386, aarch64, armhfp.
Example
https://repo.faircom.com/repository/yum/el7/i386The package file name format is: {product-name}-{version}-{build}.{build-date}.el{linux-release}.{architecture}.rpm
Example
faircom-mq-5.1.5-169.260720.el7.i686.rpmThe DEB packages (Debian/Ubuntu) are located in https://repo.faircom.com/apt/current/ or https://repo.faircom.com/apt/legacy/ for legacy systems.
The package file name format is: {product-name}_{version}-{build}.{build-date}+glibc{glibc-version}_{architecture}.deb
Example
faircom-mq_5.1.5-169.260720+glibc2.16_amd64.deb