Bring a large pot of salted water to a boil over high heat. Add the pasta and cook according to the package directions.
Heat the butter in a small pan over medium heat. Add the sliced garlic and cook for 2 minutes. Add the minced garlic and cook for another minute.