How To Install openjdk-14-dbg on Ubuntu 20.04

In this tutorial we learn how to install openjdk-14-dbg on Ubuntu 20.04. openjdk-14-dbg is Java runtime based on OpenJDK (debugging symbols)

Introduction

In this tutorial we learn how to install openjdk-14-dbg on Ubuntu 20.04.

What is openjdk-14-dbg

openjdk-14-dbg is:

OpenJDK is a development environment for building applications, applets, and components using the Java programming language.

This package contains the debugging symbols. Build-Ids: 012bee656812f1e4243feed7e35e859423ee699d 0432aa24e63d5219fd1d69dac3ef674df74bdca1 045d9636910aa9f92e54442b460eb4781914e1d4 051714614dcbe6c2bf7da561197fe89ec93a815f 0a216148257065a69d0a4b297acd717a124bb377 0e90161af0ff128998b9922ee78342f3bad79949 24d099ddd42099259144b908c05539e1dca8c242 2a731739102826e975ed1b7bd346e9944aa71f6c 2ab9bf9881e240a6bb15f6b09a588d3ee81c97c5 2c5fd79fccaeaf9c0d3ca8182956de70895e02d5 2ddb6c61dc04b51f6b4e0dac1e55202177fbb261 334bd8897acaf4bc7aa8c0dd48d017649fe55242 3682add70d5069e7eb444a13de0ae918cbda511c 3d0ba222a52c86cea614a11c7f0bfa1b33f8b4d2 3d63923c5c3a968b376220cd76bcad3e53f18246 42931418c3fbf83612861d0f28f75bb509994942 490a6a9e9475b7810c0291e022e05420b3f55367 4cf087c28383bdd70fee71607d60145b2cc9663b 4ef79216a5715e7cdaabb6f44a9437b19dbb67c4 565fde204e68587dec76391a8ad8b4ed9dc863e6 6067616aef6ee23410be82c5b5fb02483d6ebe91 60972a62bdb4e9725382e9097e6b5391bf1aeb09 65f72d32726c344fbc6cdee47ad0e8d3cf954d6a 66a9935a3a74ee4f440b2c9b9da96d59d6106489 68611dff3c9b6216732eaa89d711d5d36498caaf 68c405e111667b43ea725458bb943b99282cda0c 6973f6f8d3cbe8c507b36d76f96bd62a22a165dc 7167bca183d56b81da5be6d227278b4cec5ca464 763d1e0aff8411e9c69d099909bb78850fafb58c 783ba6261c521a4b2a244e98f713bd13f0c74612 7ab9689bd4bec0df8b4236e54a21c35a3154d348 80aa471c17cb24e7d61a2f9de5dbd8d8200ecbfb 8282ff6a19a9b527ef46b54340b139c09e04dd64 8299efb5aa764a18aece7ef96b96b3c5808ee951 82d0ccaa9a2bd18f3ae8f88c9016ed643387d551 832c3edd19bb2e23a2d8c23d7bad36299f340c4c 8d9ba23746b042b02fdaa5b8948878b0c4e22b37 8dae54a0977c036e9ab8e7727ec4f52611b91172 94c122d9cfd408b6254ce460c35bff23d20ddf2c 9855bf230b0568956d361b447749cdd8c0e91b10 9cbfe43f8826c779c01c8379dd20e3244c059b74 a2576a7374ee7b8c652873d515fe87e690bf43a4 a551fe69dd521a7cb9563a6b376164b2c1298450 afb3d1f95396030a3e91fe66994f7e47db9ea1ab b367d96a4198ce6edb138286527aff97684c418d b40e2dc3b04164686e540f5ca1e51fb1e42b3ab0 b4474e7a9402b4ccd7b041261d5d8abcb91c6996 bcbce96f04471efa4aaac5acc156386ac3d91d58 bd2d3ecb9e0e514d9a50174b416fa974f036b740 c14212b78f32046ec1b5c102f95813bf90db62d0 c99c4c1800059204abdd109ab4fbca891e6fbca1 cc20a68a9e16baa9fdee277a4c0cce6618d8ec41 cdf1fcc25b9c24b7607428ca67fa6bc0203cec56 ce4cdac649bca73d063625ec8163d5ae7c292659 ce64ac91779fd08d8718c708077587746479cace d11a0793b6f4ee9b01349eefb50fc4cb71112562 d8096212ef8a0c5f8d8e8be170ae82d1a7c04617 dc355c3e86b6713cc40e42544186eb91a64368c3 dde14ff1f8c1fd9f9b73dcdc8e281037c71674e6 e6a3a20e4b74d3b6cb19d5d485d5eba8ff73981f e7d6c09283bf50cc0df096b1fd2a1b1fcc3dd231 e84866fc812857e77a9c015b584f71319c4eb274 e8688cd17c8937e357d77e038907d817873ed321 ea667448ad79a8e728340db83dd093b276dff601 edb0774e2ea8973c9d54e10c56ec9b4da4e0c450 ef37e70ea2d6682e70bacec785999a60cafe6e63 f2db5b63505468a7e36f970ea964fa78612e03d1 f47e4c307ae71a379c26894aaaf0936c2bd1cfe5 f6b7039e238749df3c4cb7e4592622324f2ab673 f8bb8918c3109fc4ea754e7346a8d9a0701f7e69

There are three methods to install openjdk-14-dbg on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install openjdk-14-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install openjdk-14-dbg using apt-get by running the following command:

sudo apt-get -y install openjdk-14-dbg

Install openjdk-14-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openjdk-14-dbg using apt by running the following command:

sudo apt -y install openjdk-14-dbg

Install openjdk-14-dbg Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install openjdk-14-dbg using aptitude by running the following command:

sudo aptitude -y install openjdk-14-dbg

How To Uninstall openjdk-14-dbg on Ubuntu 20.04

To uninstall only the openjdk-14-dbg package we can use the following command:

sudo apt-get remove openjdk-14-dbg

Uninstall openjdk-14-dbg And Its Dependencies

To uninstall openjdk-14-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove openjdk-14-dbg

Remove openjdk-14-dbg Configurations and Data

To remove openjdk-14-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge openjdk-14-dbg

Remove openjdk-14-dbg configuration, data, and all of its dependencies

We can use the following command to remove openjdk-14-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openjdk-14-dbg

References

Summary

In this tutorial we learn how to install openjdk-14-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.