Repository navigation
Add blog: How to use Valkey's new packages #693
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
Open
Andriciuc
wants to merge
7
commits into
valkey-io:main
Choose a base branch
from
Andriciuc:add-how-to-use-valkey-pkgs-blog
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+122
−0
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
84c30a5
Add blog: How to use Valkey's new packages
Andriciuc 07429a2
Add Evgeniy Patlan author profile
Andriciuc 4b05321
Refine author bio and update blog copy
Andriciuc 62fad68
Add Evgeniy Platan author photo
Andriciuc f224af2
Refine Valkey package installation article with feedback
Andriciuc 40652e1
Mark Valkey packages post as draft again
Andriciuc 3e9e9c1
Update package guide and author profile
Andriciuc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| title: Evgeniy Patlan | ||
| extra: | ||
| photo: '/assets/media/authors/evgeniypatlan.jpg' | ||
| github: EvgeniyPatlan | ||
| --- | ||
|
|
||
| Evgeniy Patlan is an expert in build and release processes from Percona. He is an experienced build and release engineer, software engineer with a demonstrated history of working in the information technology and services industry. Skilled in Perl, JavaScript, Python, Session Initiation Protocol (SIP), SOAP, and Linux System Administration. Strong engineering professional with a specialist focused on computer systems, programming, system administration, network technologies. | ||
114 changes: 114 additions & 0 deletions
114
content/blog/2026-10-15-how-to-use-valkey-linux-packages/index.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,114 @@ | ||
| +++ | ||
| title = "How to use Valkey packages" | ||
| date = 2026-11-25 | ||
| draft = true | ||
| description = "Install Valkey from DEB and RPM repositories. Learn how to choose a package source, configure the repository, and verify the installation." | ||
|
Andriciuc marked this conversation as resolved.
Resolved
|
||
| authors = ["dragosandriciuc", "evgeniypatlan"] | ||
| [taxonomies] | ||
| blog_type = ["How-to"] | ||
| [extra] | ||
| featured = true | ||
| featured_image = "/assets/media/featured/random-01.webp" | ||
| +++ | ||
|
|
||
| Installing databases shouldn't require you to choose between convenience and control. | ||
| Valkey packages provide a straightforward way to install Valkey while keeping installation, updates, and system integration within your operating system's package management workflow. | ||
| You can manage Valkey alongside other software on your system without compiling it from source for every update. | ||
|
|
||
| The project started publishing Debian packages (DEB) and Red Hat Package Manager packages (RPM) with Valkey 9.1, and the repositories also carry earlier releases back to 7.2. | ||
|
|
||
| Let's look at why packages are useful, where you can get them, and how to install Valkey from the package repositories. | ||
|
|
||
| ## Why would I use packages? | ||
|
|
||
| The Valkey project offers multiple installation paths: | ||
|
|
||
| - [Docker Hub](https://hub.docker.com/r/valkey/valkey/), | ||
| - [Valkey downloads page binaries](https://valkey.io/download/), | ||
| - [Valkey Package Repository](https://valkey.io/valkey-release-automation/). | ||
|
|
||
| So, how does the last one differ from the other options? | ||
|
|
||
| The package repositories provide verified packages and a maintained distribution path for Valkey. | ||
| Using a package repository for Valkey rather than compiling it from source offers several advantages: | ||
|
|
||
| - Automated dependency management: the package manager handles dependencies required by the packaged Valkey installation. | ||
| - Streamlined updates and security patches: Instead of manually tracking releases and re-compiling the binaries, utilizing a repository allows you to update Valkey smoothly using standard system tools like `sudo apt upgrade` or `sudo dnf upgrade`. | ||
| - Cryptographic verification: packages from the Valkey package repository are digitally signed, so you can verify the packages come from the Valkey project and are unmodified. | ||
| - System integration: repository installations automatically set up system services, configure appropriate file permissions, and handle pathing for core components like [`valkey-server`](https://valkey.io/topics/server/) and [`valkey-cli`](https://valkey.io/topics/cli/). | ||
|
|
||
| These advantages simplify installation, reduce the maintenance burden, and support good security practices. | ||
|
|
||
| The Valkey release automation also connects package releases with the wider Valkey release process. | ||
| It builds binaries, uploads release artifacts, updates the hashes repository, and updates the container and Helm projects. | ||
|
|
||
| ## Which package source to use | ||
|
|
||
| Choose the package source that matches your operational requirements: | ||
|
|
||
| | Requirement | Package source to consider | | ||
| | ----------------------------------------------- | -------------------------------------- | | ||
| | Get Valkey releases directly from the project | [Valkey packages](https://valkey.io/valkey-release-automation/) | | ||
| | Follow the distribution's lifecycle | [Distribution packages](https://repology.org/project/valkey/versions) | | ||
| | Get vendor support or a service level agreement (SLA) | Vendor packages | | ||
| | Support specific architectures or older systems | Check vendor and distribution coverage | | ||
|
|
||
| ## Install Valkey using packages | ||
|
|
||
| Valkey packages offer you a direct path from upstream to your system, independent of distro release timing. | ||
| To install the package: | ||
|
|
||
| 1. Go to the [Valkey Package Repositories](https://valkey.io/valkey-release-automation/) website. | ||
| 2. Select the Valkey version you wish to install and the operating system you use. | ||
| The package repositories provide packages starting with Valkey 7.2 as of October 2026. | ||
| 3. Follow the installation instructions presented in the documentation below to get Valkey up and running. | ||
|
|
||
| For example, to install Valkey 9.1 on Oracle Linux 10 or Red Hat Enterprise Linux (RHEL) 10: | ||
|
|
||
| 1. Import the GNU Privacy Guard (GPG) signing key: | ||
|
|
||
| ```bash | ||
| sudo rpm --import https://download.valkey.io/packaging/GPG-KEY-valkey.asc | ||
| ``` | ||
|
|
||
| 2. Add the Valkey repository: | ||
|
|
||
| ```bash | ||
| sudo tee /etc/yum.repos.d/valkey.repo << 'EOF' | ||
| [valkey] | ||
| name=Valkey 9.1 Packages for Oracle Linux 10 / RHEL 10 | ||
| baseurl=https://download.valkey.io/packaging/valkey-9.1/rpm/el10/$basearch/ | ||
| enabled=1 | ||
| gpgcheck=1 | ||
| gpgkey=https://download.valkey.io/packaging/GPG-KEY-valkey.asc | ||
| EOF | ||
| ``` | ||
|
|
||
| 3. Install Valkey: | ||
|
|
||
| ```bash | ||
| sudo dnf makecache | ||
| sudo dnf install valkey | ||
| ``` | ||
|
|
||
| 4. Start Valkey: | ||
|
|
||
| ```bash | ||
| sudo systemctl enable --now valkey@default | ||
| ``` | ||
|
|
||
| 5. Verify Valkey: | ||
|
|
||
| ```bash | ||
| valkey-server --version | ||
| valkey-cli ping # PONG | ||
| ``` | ||
|
|
||
| That's it! | ||
| All packages are signed with Valkey's GPG key. | ||
| Download the public key: [GPG-KEY-valkey.asc](https://valkey.io/valkey-release-automation/GPG-KEY-valkey.asc). | ||
|
|
||
| ## What to do next | ||
|
|
||
| Valkey's RPM and DEB packages provide a standard way to install and maintain Valkey through your operating system's package manager. | ||
| Try the Valkey packages and share feedback about the package installation process in the [Valkey release automation repository](https://github.com/valkey-io/valkey-release-automation). | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.