# gitee **Repository Path**: kerrydu/gitee ## Basic Information - **Project Name**: gitee - **Description**: gitee -- install, and uninstall Stata packages from Gitee website - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-02-25 - **Last Updated**: 2025-04-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## A demo vedio See [here](https://www.bilibili.com/video/BV1zV411d7xf/) _____________________________________________ # gitee install, and uninstall Stata packages from Gitee website ![](https://gitee.com/kerrydu/gitee/raw/master/gitee.gif) ### Installation * Stata 14/15 ```stata net install gitee, from(https://gitee.com/kerrydu/gitee/raw/master) ``` gitee install can be used in Stata User Menu. Prompt `giteeinstallmenu` in Stata Command window for this purpose. * Stata 16 ``` * If curl has been installed kgitee gitee * If Stata 14 is used as the installer kgitee gitee,stata(yourpath/StataMP-64.exe) ``` ### Notation Stata 16 is blocked by Gitee.com due to its user agent. curl is used to download the Stata files. Thus, you should install [**curl**](https://curl.haxx.se/) and add curl into the system path before using **gitee** in Stata 16. ----------------------------------------------------------------- # createpkg createpkg and install Stata packages from Stata files (.ado,.mata,.mlib,.sthlp,...) ![](https://gitee.com/kerrydu/gitee/raw/master/createpkg.gif) ### Installation ```stata net install createpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg) ``` ### Stata User Menu Prompt createpkgmenu in Stata command window and the procedure is completed automatically. ### Notation `createpkg` is included in `installpkg` now. ---------------------------------------------------------------------- # installpkg install Stata packages from zipfiles or pkgfiles in directory ![](https://gitee.com/kerrydu/gitee/raw/master/installpkg.gif) ![](https://gitee.com/kerrydu/gitee/raw/master/installpkg2.gif) ![](https://gitee.com/kerrydu/gitee/raw/master/installpkg3.gif) ### Installation * Stata 14/15 ```stata net install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg) * Alternatively gitee install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg) ``` * Stata 16 ``` gitee install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg) ``` ### Usage in Stata User Menu installpkg can be used in Stata User Menu after adding the following commands into the profile.do If profile.do is absent, create it in the root directory of StataMP.exe or StataSE.exe. ```stata window menu append submenu "stUser" "InstallPackage" window menu append item "InstallPackage" "InstallPackage" "db installpkg" window menu refresh ``` Alternatively, the installpkgmenu commad provides a convient way to add installpkg into Window User Menu. Prompt installpkgmenu in Stata command window and the procedure is completed automatically. ### Notation `createpkg` is `included` in installpkg now.