How to find and remove older versions of packages

While in development i added a package which version was 1.0v, now it is 1.5v. How to keep only 1.5v in application to save the memory.