How to Install KDE4 on FreeBSD 8.1
1. Before installing you have to update ports tree:
2. Installing X.org:
#cd /usr/ports/x11/xorg
#make install clean
create a X.org configuration file by command:
#Xorg -configure
and copy this file:
#cp /root/xorg.conf.new /etc/X11/xorg.conf
for testing Xorg:
#Xorg -config xorg.conf.new -retro
if installation have been completed is correct – the result of this command must be a X mouse cursor on black and gray grid.
3.Installing KDE4:
#cd /usr/ports/x11/kde4
#make install clean
(ATTENTION! For compilation kde from the port will be need enough time and a lot of free disk space and in virtual part /usr – I have been used near 20Gb)
In depends from your computer it it requires much time. I have been make it about one and a half days, because I decided party to installation and from time to time I have been choosing dependences. You can disable it in /etc/make.conf by string “BATCH=YES”. With this string ports will be build with default dependences.
When installing of KDE finish:
#echo “exec /usr/local/kde4/bin/startkde4” > /home/username/.xinitrc
for running kde from command startx by user-name
and give command by user:
#startx
In my first run keyboard and mouse are didn’t works. Handbook said than I can use HAL to autodetect keyboards and mouse:
#echo "hald_enable=”YES”" >> /etc/rc.conf
#reboot
In the next article I will tell howto enable sound cart support.
PS: for making Xorg and kde from the ports you need to a lot of space and time. You can install xorg and kde4 from packages:
pkg_add -r or pkg_add ftp://url-package. For example :
#pkg_add ftp://ftp.ua.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/x11/xorg-7.5.tbz
or you can define environment variable PACKAGEROOT nearest mirror:
#setenv PACKAGEROOT=ftp://ftp3.ua.freebsd.org
#pkg_add -r xorg-7.5.tbz
same for kde:
#pkg_add ftp://ftp.ua.freebsd.org/pub/FreeBSD/ports/ia64/packages-8-stable/x11/kde4-4.4.5_1.tbz
or
# pkg_add -r kde4-4.4.5_1.tbz
Posted on September 29th, 2010 by admin
Filed under: Software | 7 Comments »