Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update if installed via Ubuntu APT? #776

Open
danfratamico opened this issue Apr 17, 2024 · 3 comments
Open

How to update if installed via Ubuntu APT? #776

danfratamico opened this issue Apr 17, 2024 · 3 comments

Comments

@danfratamico
Copy link

I installed version 1.7.17 via Ubuntu 22.04 APT. How can I go about installing the latest 2.5.2 version? Is there an APT repo I can install?

@C0RD
Copy link

C0RD commented Apr 18, 2024

2.5.2 is in Ubuntu 24 https://packages.ubuntu.com/source/noble/mysqltuner

You can download the *.deb at https://packages.ubuntu.com/noble/all/mysqltuner/download and install it with 'dpkg -i'

@Ndhasjv
Copy link

Ndhasjv commented May 5, 2024

Is there an APT repo I can install?

@C0RD
Copy link

C0RD commented May 5, 2024

The Line for the repo is mentioned on top of the download-page mentioned above.

To only fetch mysqltuner from that, you need to fiddle with /etc/apt/preferences.

Example: (should be placed in /etc/apt/preferences.d/mysqltuner)

Package: mysqltuner
Pin: release a=noble
Pin-Priority: 900

Further reading:

  • man apt_preferences
  • man sources.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants