You can only remove packages which are not required by another package.
Note: This only removes the reference to the package in the manifest. The package itself, including its contents, remains intact, even for local packagesA local package already exists on the file system, usually outside the Project folder. To install the package, notify the Package Manager of its location through the Packages window. More info
See in Glossary.
When you remove a package from a project, any Editor or run-time functionality that it implemented is no longer available in that project.
To remove an installed package:
Open the Package Manager window.
If the package scope is set to Built-in packagesBuilt-in packages allow users to toggle Unity features on or off through the Package Manager. Enabling or disabling a package reduces the run-time build size. For example, most Projects don’t use the legacy Particle System. By removing the abstracted package of this feature, the related code and resources are not part of the final built product. Typically, these packages contain only the package manifest and are bundled with Unity (rather than available on the package registry).
See in Glossary, select either In Project or All packages from the package scope drop-down menu.
Click the Remove button.
When the progress bar finishes, the package disappears from the list.
If you want to restore a removed package, follow the instructions for installing a package.