As a fedora user, you might be very happy, bored or sometimes scared to see that every 6 months (or so… f18 should have turned gold two months ago 😀 ) your favorite GNU/Linux distrib is having a new major upgrade. Most people prefer upgrading through the package manager (using preupgrade, or since this release, fedup), but this is not my case. I personally prefer sticking with a fresh system instead of counting on the developers not forgetting any use case/upgrade scenario (what, in the case of fedora, a cutting-edge distrib, is likely impossible).
Well, as you might have guessed, this blogpost wont be a tutorial on how to upgrade from f17 to f18, neither will it explain to the newfag how to setup a working fedora, step by step through the redesigned anaconda installer. This post is all about feeling at home as a confirmed user, even after such an important upgrade.
> Steps I do before install
There is no much I do before a major upgrade:
Backup everything in your ~
(useless until you’re happy you did it)
Export my package list
does the trick quite well
Save my yum repo files
> Steps you might want to do once Fedora is installed
go to http://rpmfusion.org/ , don’t forget to import gpg keys too
Update your system
Don’t wait to do a
Make your yum wiser
Yum plugins I use :
Those helps to keep your system free of useless (orphaned) packages and accelerates downloading of packages.
- keepcache=0 ; info here, saves some space
- installonly_limit=0 ; info here, allows keeping an infinite number of installed kernels (good for regression tests)
- clean_requirements_on_remove=1 ; automatically suggest orphaned packages to remove when uninstalling something
Setting proper hostname
just edit /etc/hostname as your convenience, modifying /etc/sysconfig/network probably won’t survive a reboot anymore
If you’re reading this, you probably don’t need that. And if you don’t need it, removing it will prevent your yum to be randomly locked.
This automatic bug reporting tool usually makes no sense if you already report your bugs by yourself.
Specific to f18
Fedora 18 also comes with new stuff to try… or fix:
DNF, yum’s successor is here
and you can try it very easily
After that you car run dnf just as you run yum. The dependency solver is said to be faster. It works well here, and I thought about aliasing it to yum before dnf install vim failed.
New path for your fonts settings
~/.fonts.conf moved to a standard xdg path under ~/.config/fontconfig . To avoid useless warnings, you can do:
Disable /tmp on tmpfs
If you run a low memory system, you might want to keep your /tmp folder where it belongs, to your hard drive. As explained here, running this command and rebooting will do the job:
Prefdm doesn’t exist anymore
and as such, depending on your driver’s stability, you might or not want to read the corresponding release notes.
What about giving SNA a try ?
SNA stands for “Sandybridge New Acceleration” and describes a new rendering algorithm used within the Intel GPU drivers. Despite its name, it doesn’t only targets Sandybridge chips and might well accelerate your old intel chip as well. To enable it, you first need to create a xorg.conf config file.
This is easy, you need to run as root, when your X server is shut down:
and then in the “Device” section of the generated file, add:
Option “AccelMethod” “sna”
that’s all ! This feature isn’t activated by default, even if their developers consider it as stable. The result is likely not to be horrible, but you might encounter some random glitches.
Update: SNA is better used with a recent mesa/intel stack available at https://01.org/linuxgraphics/downloads . There is an official installer making this process easy for you, just grab the “Graphics Installer” corresponding to your fedora version and install the rpm. Then you just have to run (as root) the intel-linux-graphics-installer command that will configure a new repository and install the required packages.
> My advises for your everyday workspace
I recommend using:
- Zsh, which will save your precious time
- Yakuake under kde or gwake under gnome, two drop down terminals, saves space, helps getting organized
That’s all !
I’m still discovering this new fedora and will update this post as soon as I encounter new things to write about.