diff --git a/command_line/Makefile b/command_line/Makefile
index c01cd0e0d2c5ed27be1ca11232c316c8d7f2bf78..06f9920cf14dfe84debc235583a4be24239143ac 100644
--- a/command_line/Makefile
+++ b/command_line/Makefile
@@ -18,12 +18,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom_cmd
 
 dev_install:
 	@echo Install the package for developers...
diff --git a/gui/Makefile b/gui/Makefile
index 1f1f23a03b023503193252fb8f3863b51fd3444f..d347f622e5a84a3d1c332b427290bb43af7a686f 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -18,12 +18,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom_gui
 
 dev_install:
 	@echo Install the package for developers...
diff --git a/library/Makefile b/library/Makefile
index 1c38c7a77b7f831a8491d988c06954ec1953c26b..74ce1e35a8a7438ccb40b96e9df3fe4303741d0b 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -22,12 +22,11 @@ sdist:
 
 install:
 	@echo Install the package...
-	python2.7 setup.py install --record files.txt
+	pip install .
 
 uninstall: files.txt
 	@echo Uninstalling the package...
-	cat files.txt | xargs rm -rf
-	rm files.txt
+	pip uninstall cadbiom
 
 dev_install:
 	@echo Install the package for developers...