My installation steps for Debian + KDE + Firefox + LibreOffice

If you are a user of Debian + KDE, this post may interest you. Let's assume you already installed Debian Wheezy, If that is not the case, this guide it can serve you perfectly for it. Let's also assume that you did an installation using a Netinstall and now you have to add the packages you use the most.

Let's also assume that you have good bandwidth to continue with this tutorial. All this we will do as root

You can put all these steps in a single Script. I put them separately so that they are better understood, but basically this is what I do.


The first thing we do is add our repositories to the /etc/sources.list file:

# Adding our repositories echo "deb wheezy wheezy main contrib non-free"> /etc/apt/sources.list echo "deb wheezy main non-free ">> /etc/apt/sources.list

Not surprisingly, if they have a faster repository path, they just have to replace all of this. Alright, now we update:

# Updating aptitude update && aptitude upgrade -y && reboot

Installing the Desktop Environment and the packages I use

Once the PC restarts, well I install the packages I need. My graphics card is a Intel integrated so I directly install the package xserver-xorg-video-intel, but if you are new or don't know which card you have, you can simply install the package xserver-xorg-video-all.

# I install everything I need aptitude install xorg xserver-xorg-video-intel kde-full apper qtcurve kde-config-gtk-style mc ssh rcconf rsync amarok gimp pidgin inkscape quassel-kde4 smplayer -y

As you can see I install the meta-package: kde-full. In this way I will not miss anything so that KDE work as God intended, with all its tools.

If you want an update more adapted to your needs, you can take a look at this post and this other

Installing LibreOffice

Packages LibreOffice that are in the repositories of Wheezy They are not very old, but they are not the last. I prefer install LibreOffice from the binaries it offers us The Document Foundation.

Once the packages are downloaded, I unzip them and install them as follows:

# Unzip the xfv LibreOffice_4.0.2_Linux_x86-64_deb.tar.gz tar xfv LibreOffice_4.0.2_Linux_x86-64_deb_helppack_es.tar.gz tar xfv LibreOffice_4.0.2_Linux_x86-64_deb_lang instead. mv LibreOffice_4.0.2.2_Linux_x86-64_deb / DEBS / desktop-integration / *. deb LibreOffice_4.0.2.2_Linux_x86-64_deb / DEBS / mv LibreOffice_4.0.2.2_Linux_x86-64_deb_helppack_es / DEBS_inux-in4.0.2.2_en / DEBS_inux-in86_deBS / *. deb LibreOffice. DEBS / mv LibreOffice_64_Linux_x4.0.2.2-86_deb_langpack_es / DEBS / *. Deb LibreOffice_64_Linux_x4.0.2.2-86_deb / DEBS / # We install dpkg -i LibreOffice_64_Linux_x4.0.2.2-86_deb / DEBS / DEBS
They should take into account that the name of the packages and folders change depending on the version and architecture they download

Installing Firefox

In particular I prefer to use Firefox and not IceweaselWell, when there are new updates I don't have to wait for the Debian repositories to update. The steps to install Firefox are:

# Download Firefox wget # Unzip the tar file xfv firefox-21.0 .tar.bz2 # We create the folder where mkdir ~ / .local / apps / # We copy the unzipped folder to the folder where mv firefox will be hosted ~ / .local / apps / # We create a symbolic link to / usr / bin sudo ln -s /home/elav/.local/apps/firefox/firefox / usr / bin / firefox # We create the .desktop sudo echo "[Desktop Entry]"> /usr/share/applications/firefox.desktop sudo echo "Name = Firefox ">> /usr/share/applications/firefox.desktop sudo echo" GenericName = Web browser ">> /usr/share/applications/firefox.desktop sudo echo" Comment = Browse the internet ">> / usr / share /applications/firefox.desktop sudo echo "Exec = / home / elav / .local / apps / firefox / firefox% u" >> /usr/share/applications/firefox.desktop sudo echo "Terminal = false" >> / usr /share/applications/firefox.desktop sudo echo "Icon = / home / elav / .local / apps / firefox / icons / mozico n128.png ">> /usr/share/applications/firefox.desktop sudo echo" Type = Application ">> /usr/share/applications/firefox.desktop sudo echo" Categories = Application; Network; WebBrowser; " >> /usr/share/applications/firefox.desktop sudo echo "MimeType = text / html; text / xml; application / xhtml + xml; application / xml; application / vnd.mozilla.xul + xml; application / rss + xml ; application / rdf + xml; image / gif; image / jpeg; image / png; " >> /usr/share/applications/firefox.desktop sudo echo "StartupWMClass = Firefox-bin" >> /usr/share/applications/firefox.desktop sudo echo "StartupNotify = true" >> / usr / share / applications / firefox .desktop # We set Firefox as the default browser for the system sudo update-alternatives --install / usr / bin / x-www-browser x-www-browser /home/elav/.local/apps/firefox/firefox 100

The rest of the applications

This is all the necessary I need to work. The rest I am installing as needed. Normally I have all this in a single Script, so it is much easier 😀

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

68 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   pandev92 said

    Before you copy the part of firefox completely and without looking at xD, remind you that you must replace "elav" with your home name xd

    1.    kikee said

      Instead of "/home/elav/.local/apps….". you can put:

      "~ / .Local / apps /…" or "$ HOME / .local / apps /…"

  2.   kennatj said

    Now that we are, how can I give k3b permission to burn DVD?

    1.    merlin the debianite said

      If I remember correctly, no special permissions are needed, you just click on record, always ensuring that it burns to the dvd rom and does not create an image.

    2.    one of some said

      If you need to adjust permissions install the growisofs package and so it will appear within permissions in the KDE preferences 😉

  3.   merlin the debianite said

    Easy enough but for lazy reasons I always use Iceweasel with gnash.


    1.    pandev92 said

      I tried gnash a long time ago, but it is even more consumer than flash, in the end I gave up.

      1.    merlin the debianite said

        It is already improved now in terms of resources they are the same, I know it is not encouraging but something is something.


    2.    cat said

      the Youtube player with gnash is too archaic, I prefer the flashplugin even though Adobe has turned its back on Linux

      1.    pandev92 said

        The problem is not so much watching videos on YouTube, but that in full screen they slow me down exaggeratedly, and that I have an i5 xD processor…, I better use html5 before

        1.    kik1n said

          Haha, thinking it was my video card but it is the flashplugin.

          A comparison of flash and gnash or another of the same type would be good.

        2.    eliotime3000 said

          If you want to download the flash player directly from, download the file that says "APT for Ubuntu 10.04+", or you go to the Debian console and type obviously as root "apt-get install flashplugin-nonfree" and it will automatically run a script in which it downloads the tarball and configures it for all the browsers you have without exception (I used the 2nd method and to tell the truth, it has been much easier and lazier than with the method).

          It is unfortunate that Gnash is so poorly developed that its performance has much to be desired. As for the Debian fork of Firefox, I just add the backport that recently came out for Wheezy, and to tell the truth, it's great as always.

    3.    eliotime3000 said

      At the moment, I use Iceweasel but I don't use gnash because its performance is terrible, so I start installing the script that the repos have in Debian to automatically configure the Flash Player that downloads it directly from (To invoke the script, I just type "apt-get install flashplugin-nonfree" and voila: Flash player configured for Iceweasel, Chromium, Opera and other browsers).

  4.   Citux said

    I have been liking it very well, since I have switched to Debian-Kde for a couple of weeks since due to lack of time I have trusted its stability.
    @elav a question, what difference is there in creating a directory to host Firefox than having it in / opt /?

    1.    elav said

      If I create it in my directory, I will only be able to run it myself .. because I don't have any more users on my PC, but if it is not your case, it should be in / opt

      1.    Citux said

        Thanks for your answer 🙂

        1.    elav said

          You're welcome ^^

  5.   Horacio said

    elav, in the program selection options of the installer you select only standard utilities and in the case of being on a laptop? Or do you not select any option? Thanks

    1.    elav said

      Well, I use a Laptop and with the standard utilities everything works 😀

  6.   kik1n said

    This is the correct way to install firefox isn't it? Without installing from the ubuntu repos, lmint, lmde. Because I feel like debian loses stability.

    1.    elav said

      It does not lose any stability .. believe me.

      1.    eliotime3000 said

        I believe you, because I tried the official Firefox, and to tell the truth, it is the same as Iceweasel. Finally I decided to opt for Iceweasel due to the convenience it offers me when updating and unfortunately Debian has not added a script that allows you to install Mozilla Firefox as it does with the flash player.

        Anyway, I'm used to Iceweasel and I like the weasel logo hugging the purple sphere that appears on the home page.

  7.   Cala said

    Good contribution 😀

  8.   3rn3st0 said

    Very useful and easy to follow tutorial, too. Thanks for sharing the information. In any case, I will take the opportunity to ask you to make a guide like this for other desktops: GNOME; Xfce and if it is not too much to ask, make an OpenBox without a desktop (we are crazy, lol).

  9.   Leo said

    I use the Mint Debian repositories for Firefox (for lazy 😀)

    1.    Rainbow_fly said

      pss xD how do I accommodate the firefox useragent?

        1.    cat said

          that if something more general would be to write:

          Mozilla / 5.0 (X11; your_distro; Linux x86_64; rv: 21.0) Gecko / 20100101 Firefox / 21.0 your_desktop_environment

          ... and obviously replace "your_distro" and "your_desktop_environment" by the ones you use respectively

          1.    Rainbow_fly said

            Let's see..

          2.    Rainbow_fly said

            Thanks guys: 3

          3.    cat said

            you're welcome, yes in some distros like * buntu for example it is not necessary to set the desktop environment because it is obvious xD

          4.    Leo said

            That useragent is more up to date. Sometimes I forget to update version.

  10.   Leo said

    Question, I noticed you installed smplayer which is better Mplayer or Gstreamer engine? I hope I asked something coherent, ha

    1.    pandev92 said

      the gstreamer pfff engine, to watch normal videos, you won't notice much difference, but for example to watch animes with non-standard substitutions, things like acceleration by vdpau etc, mplayer will always be better.

  11.   Rainbow_fly said

    buuu, I just installed firefox stealing a linux mint xD repo, how could I not come up with something as basic as downloading it from the web?

    1.    eliotime3000 said

      Do you already have the Firefox updated in Mint? I want to believe.

  12.   Christopher castro said

    Well, I like Debian + LXDE - OpenBox + Mutter + Iceweasel + VLC + Theme Adwainta Cupertino + Rhythmbox + Gnome-terminal + Nautilus - Pcmanfm + Faenza + Gnome-tweak-took + qtconfig-qt4 + etc ...

    I liked the appearance and consumption is

  13.   George said

    I did not know the update-alternatives well, thank you! I will add it to my own script (that I left it in the paste of desdelinux for weeks) ... personally for security measures, I prefer to host programs in the system folders (var, usr) , not in the user's folder, thus preventing any user from doing mischief. The same thing that if I encrypt my folder, the guests / other users could not open firefox ... mmm I see it impractical

  14.   AlonsoSanti14 said

    I install firefox from the LMDE repos

  15.   Alberto Aru said

    I have annoyed the integrated menu: \ Any suggestions?

  16.   Federico said

    Very good input, debian is great.

  17.   José Miguel said

    Well, for Libre Office there are simpler solutions:


    1.    Alberto Aru said

      That way I ran out of integration menus

      1.    José Miguel said

        Do you use Debian? ...

        1.    José Miguel said

          Check if you have the integration package installed. In my case it is "libreoffice-kde", in gnome "libreoffice-gnome".

          I had no problem.


  18.   cractoh said

    Hi, I'm new to debian, I come from centos 6.4, it is very good dristo, only that the repositories are somewhat complicated, the problem I have in debian is with, the wifi my card is a broadcom, bcm4311 and my laptop is old, I rescue it from death is a .compaq v5000 with, 1gb of ramen centos the wifi will be activated when the installation is finished, here I can not activate it, hardware not activated appears, and I want to stay with debian I am reading tutorials but, I can not find the one to help me , activate the wifi, I already tried the ubuntu, kubuntu, lubuntu family, but they seem like enemies of my pc, none worked, the pages were frozen or the desktop always had to disconnect the power because it did not give me the option to restart windwos, I do not return more, debian and centos work that it seems that it will be releasing pc, I would not like to leave debian only for the wifi, any help is welcome, thanks and kind regards to all from Colombia

  19.   cractoh said

    /home/euclides/Descargas/firmware-iwlwifi_0.36+wheezy.1_all(1) (2)
    /home/euclides/Descargas/firmware-iwlwifi_0.36+wheezy.1_all(1)I have these files but I don't know how to make them work, or install them, I had them in a usb at the time of installation when I wonder if I had the files in a removable media, I told him if he was supposed to install them, automatically, or so I thought.

    1.    elendilnarsil said

      I always follow this guide, as I have the broadcom 4312:

      Adding anything else that worked for me the first time.

  20.   elendilnarsil said

    Well, I stayed with Iceweasel, yes, I activated the backport and now I'm in version 22.0, which allows me to use my favorite add-ons. To say that I am enjoying my arrival to Debian with KDE more than when I was with Chakra.

    1.    eliotime3000 said

      I support you. I am also a supporter of backports.

      1.    elendilnarsil said


  21.   Martin said

    What happens to me whenever I want to use Firefox downloaded from the website, is that it does not take the system theme and it looks half square, like windows 95.

    1.    eliotime3000 said

      What desktop environment do you use? KDE, XFCE or LXDE? If you have no idea what desktop environment you use, take a screenshot of your desktop to find out exactly what desktop environment you use.

  22.   Zerimar said

    My understanding is that LibreOffice 4.0.3 is already in the wheezy backports

  23.   burjans said

    If I remember correctly, Firefox is in the Crunchbang repos, you just have to download the .deb and install it with GDebi and on the other hand LibreOffice is in Debian wheezy-backports:


    1.    eliotime3000 said

      I use the console, navigate to the folder in which I unzip the .deb packages that come to me in the tarball of the official libreoffice site and obviously give it as root "dpkg -i * .deb" and the matter is solved.

      This way I don't get confused with the internet connection, but it is a good way to install LibreOffice without having to deal with so many steps.

  24.   shoujo said

    All the shit you have to do to update and install .l.
    use windows 😉

    1.    elav said

      Ya, it would be like switching from shit to get into shit .. Leave, I stay on my shit.

      1.    logic said

        good contribution, I am in full migration from ubuntu to debian and I am art of inventions and that they disrupt me.
        I will try to do it as they tell me but there would be some way of a script that once installed the base system would do everything as you mentioned at the beginning of the post.
        Thank you all very much for making it easier for us to learn every day.
        to Win's comment honestly there is no color between linux and win.
        a greeting

  25.   st0rmt4il said

    Good: D!

    Greetings and thanks for the tip!

  26.   3kal said

    Very good article.

    Thanks to the Debian installation guide I have been able to install it without complication in SinceLinux they have very good information for novice users like me xD.


  27.   jmsanzd said

    Hello, elav.

    I have installed Libreoffice in Debian Testing 64, but when I open the video hyperlinks, it opens the terminal, and it does not go to the Youtube page. However, downloaded as PPT, it does open them correctly for me. Does this happen to anyone else? How do I fix it?

    Thanks for your blog.

  28.   jmsanzd said

    Hi. I'm the one from just now.

    The problem was the configuration of preferred applications: I had Debian Browser as the default browser, instead of Mozilla, and that is why I opened with the terminal. Once this is changed, there are no more problems.

    Thanks for everything.

  29.   Jacob said

    I wanted to install Thunderbird and I followed the same steps to install firefox, just change the names and paths, omit the "MimeType" and in –install change "x-www-browser" to "mailx" and that's it. works wonders for me !!!

  30.   Jacob said

    I wanted to install Thunderbird and I followed the same steps to install firefox, just change the names and paths, omit the "MimeType" and in –install change "x-www-browser" to "mailx" and that's it. works wonders for me !!!

  31.   James_Che said

    Friend is the same and It is that 'I read that' from Debian they had recommended not to add the latter, so I have that doubt, thanks in advance for answering