<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% !TeX root = ../tlmgr-intro-zh-cn.tex

\section{åŸºæœ¬æ&nbsp;¼å¼ä¸Žè¯´æ˜Ž}

\subsection{{\mdseries\tlmgr} å‘½ä»¤çš„åŸºæœ¬æ&nbsp;¼å¼:}


% \begin{lstlisting}
%         +\tlmgr+ [+\textit{global option}+] &lt;+\textit{action}+&gt; [+\textit{action-specific option}+] [+\textit{operand}+]
% \end{lstlisting}

\begin{quote}
    \tlmgr{} \texttt{[}\op{\textit{global options}}\texttt{]} \texttt{&lt;}\ac{\textit{action}}\texttt{&gt;} \texttt{[}\op{\textit{action-specific options}}\texttt{]} \oarg{operand}
\end{quote}

\subsection{æ–‡æ¡£è®°å·è¯´æ˜Ž}

\begin{enumerate}[(1)]
    \item \tlmgr çš„\textbf{é€‰é¡¹} (option) åˆ†ä¸ºå…¨å±€é€‰é¡¹ä¸Žç‰¹å®šå‘½ä»¤çš„é€‰é¡¹, å®ƒä»¬ä¸€èˆ¬ä»¥ \texttt{-} æˆ– \texttt{-{}-} å¼€å¤´. ä½†æ˜¯æ‰€æœ‰çš„é€‰é¡¹å¯ä»¥åœ¨ä¸€æ¡å‘½ä»¤çš„ä»»æ„ä½ç½®, æŒ‰ä»»æ„é¡ºåºè°ƒç”¨. ä¸€æ¡å‘½ä»¤ä¸­ç¬¬ä¸€ä¸ªä¸æ˜¯é€‰é¡¹çš„å‚æ•°ä¼šç§°ä¸ºè¿™æ¡å‘½ä»¤çš„ä¸»è¦\textbf{æ“ä½œ} (action). 
    \item åœ¨æ‰€æœ‰çš„æƒ…å†µä¸­, \texttt{-option} ä¸Ž \texttt{-{}-option} ç­‰ä»·. 
    \item æ–‡æ¡£ä¸­è¢«ä¸­æ‹¬å· \texttt{[arg]} æ¡†èµ·æ¥çš„ä¸ºå¯é€‰å‚æ•°, å¦‚ \texttt{install [\textit{option}]},
    \item æ–‡æ¡£ä¸­è¢«å°–æ‹¬å· \texttt{&lt;arg&gt;} æ¡†èµ·æ¥çš„ä¸ºå¿…é€‰å‚æ•°, å¦‚ \texttt{info &lt;\textit{pkg}&gt;},
    \item æ–‡æ¡£ä¸­è¢«ç«–çº¿ \texttt{|} åˆ†éš”çš„å‚æ•°ä¸º $ n $ é€‰ $ 1 $, å¦‚ \op{-repository} \marg{url\textup{|}path} è¡¨ç¤ºé€‰é¡¹ \op{-repository} åŽé¢å¯ä»¥é€‰æ‹©è¿œç«¯åœ°å€ \texttt{\textit{url}} æˆ–æœ¬åœ°ä½ç½® \texttt{\textit{path}},
    \item æ–‡æ¡£ä¸­ç”¨æ–œä½“æ&nbsp;‡å‡ºçš„å‚æ•° \texttt{\textit{arg}} è¡¨ç¤ºå‚æ•°çš„ç±»åž‹, ç”¨ç›´ç«‹ä½“æ&nbsp;‡å‡ºçš„å‚æ•° \texttt{arg} è¡¨ç¤ºå‚æ•°éœ€è¦ç›´æŽ¥å¡« \texttt{arg}, æ¯”å¦‚ \ac{backup} \marg{pkgs\textup{|-all}} è¡¨ç¤º \ac{backup} æ“ä½œåŽå¯ä»¥è·Ÿå‚æ•° \texttt{-all} æˆ–è½¯ä»¶åŒ…ç±»åž‹çš„å‚æ•°. 
\end{enumerate}
</pre></body></html>