# How to covert old package to use the new package manager

**URL:** <https://discourse.julialang.org/t/how-to-covert-old-package-to-use-the-new-package-manager/20797>\
**Category:** General Usage\
**Created:** [February 14, 2019, 10:28pm UTC](https://discourse.julialang.org/t/how-to-covert-old-package-to-use-the-new-package-manager/20797 "2019-02-14T22:28:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lstagner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lstagner/32/448_2.png) [@lstagner](https://discourse.julialang.org/u/lstagner)\
**Post date:** [February 14, 2019, 10:28pm UTC](https://discourse.julialang.org/t/how-to-covert-old-package-to-use-the-new-package-manager/20797/1 "2019-02-14T22:28:10Z")

</div>

How do you convert a package to use the new package system.

using `activate` and adding packages will create the `Project.toml` file but it won’t have the name, uuid, version and author fields and `generate` complains that the project already exists.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 14, 2019, 11:00pm UTC](https://discourse.julialang.org/t/how-to-covert-old-package-to-use-the-new-package-manager/20797/2 "2019-02-14T23:00:42Z")

</div>

EDIT: Step 1: rename the folder of the old package. 2. Generate the package with the correct name, and then 3. copy the files from the old package to the new one. Works fine for me.
