If you want to install a package on your Ubuntu System and you are unsure of what is the package name like, well in such cases you can open up the Terminal app and make use of the apt search command followed by a string or a regular expression.
Say I want to look for all the available openjdk's.
Example:# apt search ^openjdk-.*jdk$
Sorting... Done
Full Text Search... Done
openjdk-11-jdk/jammy-updates,jammy-security 11.0.19+7~us1-0ubuntu1~22.04.1 arm64
OpenJDK Development Kit (JDK)
openjdk-17-jdk/jammy-updates,jammy-security 17.0.7+7~us1-0ubuntu1~22.04.2 arm64
OpenJDK Development Kit (JDK)
openjdk-18-jdk/jammy-updates,jammy-security 18.0.2+9-2~22.04 arm64
OpenJDK Development Kit (JDK)
openjdk-19-jdk/jammy-updates,jammy-security 19.0.2+7-0ubuntu3~22.04 arm64
OpenJDK Development Kit (JDK)
openjdk-8-jdk/jammy-updates,jammy-security 8u372-ga~us1-0ubuntu1~22.04 arm64
OpenJDK Development Kit (JDK)

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Ubuntu,
- Install Oh My Zsh on Ubuntu Docker complete steps
- Installing Home-brew on Ubuntu
- Install Golang (Go) on Ubuntu
- Install specific JRE on Ubuntu using apt
- How to stop/start/restart apache server using command [Ubuntu]
- How to install zsh shell on Ubuntu
- Quick steps to install Nginx on Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- Add new user in Ubuntu Linux using Terminal Command
- Fix Ubuntu /bin/sh: 1: zsh: not found error
- How to install Python on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to stop MongoDB Server running on Ubuntu
- Install postgres Client using apt-get command
- How to kill service running on a port on Ubuntu Linux
- [fix] openssl No such file or directory error C++
- Fix - sudo: systemctl: command not found
- Access Windows share folder in Ubuntu Device in Network
- Add or remove users from sudo group - Ubuntu
- Quickly install Apache Server on Ubuntu Linux
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
More Posts:
- How to install Python 3.9 using brew on Mac - Python
- Fix: Windows 10/11 Update Install Error - 0x80070103 - Windows
- How to create Jira API Token for Atlassian Account to connect Jira Cloud REST API - Jira
- Java SE JDBC Select Statement Example - Java
- Where is .zshrc file located in macOS - MacOS
- Align html element at the center of page vertically and horizontally - Html
- How to detect Browser and Operating System Name and Version using JavaScript - JavaScript
- How to Concatenate Strings in Bash Scripting - Bash