Let $A$ be a Noetherian UFD, how can I compute $\text{Pic}(A):=\text{Pic}(\text{Spec}(A))?$
The Picard group of a scheme $X$ is defined as the group of isomorphism classes of invertible $\mathcal{O}_X$ modules, where an invertible $\mathcal{O}_X$ module is a quasi-coherent module $\mathcal{L}$ for which there's another quasi-coherent $\mathcal{O}_X$ module $\mathcal{N}$ such that $\mathcal{L} \otimes_{\mathcal{O}_X} \mathcal{N} \cong \mathcal{O}_X. $
Now if we assume that $X$ is spectral, ie $X=\text{Spec}(A)$, then quasi-coherent $\mathcal{O}_X$ correspond to $A-$modules, thus invertible, quasi-coherent $\mathcal{O}_X$-modules correspond to invertible $A$-modules.
Hence $\text{Pic}(X)=\text{Pic}(A)=\{\left[M \right] \ | \ M \text{ is an invertible } A \text{-module} \}.$
But now I don't know how to compute this group.