I recently installed Fedora 20 (64 bits) in my Thinkpad T440 which comes with a 16 GB solid state driver (SSD) and a 500 GB hard driver (HD). I set /boot (500 MB), /swap (4 GB), and / (~10 GB) in the SSD, and the rest in HD for faster startup and shutdown. However, after updating the system and installing a lot of packages for my work, there is only ~2GB left in /. I want to install the future packages by YUM into an alternative dir in the HD, and when I do 'yum update', all the packages in both / and the alternative dir can be updated properly. I wander how can I do it. Thanks.
相关问题
- How to fix “Bad interpreter” error when using yum?
- Building with rpmbuild under Ubuntu
- httpd-mmn = 20051115 required by “yum install php”
- Install R on RedHat errors on dependencies that do
- Centos7 图形界面能修改yum软件源吗?
相关文章
- Centos7 图形界面能修改yum软件源吗?
- Bash Centos7 “which” command
- How does one easily add posix support to PHP using
- ansible yum not working
- sudo yum install installs only JRE not JDK - Cento
- Unable to install erlang on cent os
- Disable yum transaction check for file conflict
- Cannot build R package “png” Fedora 20
In theory you might be able to use the
--installroot
argument to yum for this. In practice I don't think that's going to be a realistic idea.As zerkms said package install their files to various places around the file-system hierarchy. You can't really just shunt those files to other places and have things work.
A more complicated partitioning scheme might have helped here though I'm not sure how much since I don't know that you can move much of where the system packages go to alternate partitions anymore.
You should attempt to find out what is taking up all your space as you may be able to reclaim a good bit of it with some simple clean up.
For example running
yum clean packages
will clean up downloaded packages that were used to install/update software that might be left behind in the yum cache directories.