Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更改存档文件的位置,当我说sudo apt-get install <packageName>. 默认情况下,它们被保存在/var/cache/apt/archives.
sudo apt-get install <packageName>
/var/cache/apt/archives
你可以试试这个:
sudo ln -s /your/desired/folder /var/cache/apt/archives
(确保在创建符号链接之前移动/var/cache/apt/archives到)/your/desired/folder
/your/desired/folder