"Necessarily" is already an adverb derived from the adjective "necessary".
However, you might be looking for ways to express similar meanings. Here are some options:
For emphasizing necessity:
* -ly: You could use "-ly" with an adjective that conveys necessity, such as "essential", "crucial", or "indispensable". For example, "essentially" or "indispensably".
* -wise: You could use "-wise" with an adjective that conveys necessity, such as "mandatory" or "compulsory". For example, "mandatory-wise" or "compulsory-wise".
For expressing a lack of necessity:
* -less: You could use "-less" with an adjective that conveys necessity, such as "necessary" itself. This would create "unnecessarily".
Remember, while these options exist, they might not always be the most natural or grammatically correct choice. It's best to consider the context and choose the most appropriate phrasing.