When installing latex packages for Latex. Users can either install texlive-basics or full version texlive. However, the basic version is light version uses much less strorage. Instead, full version texlive covers most of packages but more storage on disk.

## Install texlive-basic

I choose to install texlive-basic and install the packages required for my Latex file.

Then it shows

We can search the file name directly and manually installs the .sty package.

1. Search the .sty file and save it locally
2. Find the Latex package libary location in the computer by following commands.

where nccfoots.sty can be replaced by any installed package.

It returns like following result

Therefore the libary directory is

go to the directory

create a folder with same name in the libary directory.

copy fontaxes.sty in the folder

register the package.

The package dependency problem will be solved.