Heat the oil in a deep pan or in a wok. Fennel, sliced as thinly as possible, sauté for 10 minutes over low heat. After 4 minutes add the shallots and garlic and sauté briefly. Salt, pepper and deglaze with orange juice.
In the meantime, cook the pasta until al dente according to the instructions on the packet. Drain and collect 100 ml of pasta water. Add both to the fennel vegetables and mix well. Fold in the pecorino, fennel greens and salami and serve immediately.