With more and more machine learning projects being used, I started to feel that it was getting too messy and needed to reorganize the articles. Since each project has different kinds of dependencies among packages, it is natural to establish one’s own virtual environment for each case. This article is written later, mainly used as reference for previous articles, to install some common projects or apply common operations.
Of course, this is based on my own computer configuration, such as the fixed file location. If readers refer to it, please modify it according to your own environment.
Please refer to this article Set the shared download cache directory for APT, PIP, and Anaconda to set up a shared download cache to save time. In my articles, I may often include instructions to install unnecessary packages, because these packages have already been cached locally, so I am not particularly concerned about it. If the shared cache is not configured, it will constantly need to re-download for each project.
In order to share cache, users need to join the group called “cudausers”.
To create a new Linux account for testing purposes, the following actions can be applied:
A script named “zhTW.sh” will be generated here, which is mainly used to convert simplified Chinese to traditional Chinese. Its contents are as follows:
Add the following command to the end of ~/.bashrc.
Link shared caches to .cache directories so that many things don’t need to be downloaded again.
Install git-lfs in order to be able to use git clone for large files.
Log in again to make all the settings take effect.