Welcome back for Part Two of my Linux Mint install and configuration, this part will including installing the opensource Chromium web browser, Guayadeque media player, Dragon media player, Java, GIMP, Wine, Winetricks, Citrix for Linux, Picasa, and anything else I come across along the way! (in no particular order) Parts of this will be mostly copied from my other older posts; however I am actually performing them as I type this up, so I will be editing and changing as needed also. As on my previous posts, anything in the code boxes can be copied and pasted into a terminal window.

I have decided to make a script file for each of these installs, since some of them can take a while. When I finish them (if it is after I post this) you will find them at the end of each section of this blog post. I will also include a script at the very end of this post that will run all of these back to back, if you want each of these applications installed and don’t feel lilke sitting around all day copying and pasting lines of code.

Part Two

  1. Installing Chromium Browser Beta

  2. sudo add-apt-repository ppa:chromium-daily/beta && sudo apt-get update && sudo apt-get dselect-upgrade && sudo apt-get install --install-suggests chromium-browser

    • This will update linux, something we have not yet done, and should be around 375MB of updates, before installing Chromium. Note that I am using the Chromium Beta repository, something I have been using for two years and only once had any issues.
  3. Building Dependencies – what is needed as prereq’s to build from source
    • Go to the application menu and search for software sources
      • Check all the boxes except unstable from the first tab
      • Under other software check everything except the two archive.getdeb and file:/// options
    • Open a terminal window and enter the following:

    • sudo vi /etc/apt/sources.list

      1. jjyyplla-src {ESC}
      2. jyyplla-src {ESC}
      3. jyyplla-src {ESC}
      4. jyyplla-src {ESC}
      5. :wq! {ENTER}

      The above adds the source repositories to your linux install, the below adds essential files for ANY source building.

      sudo apt-get update && sudo apt-get install --install-suggests gcc gcc+ texinfo linux-kernel-headers build-essential ruby rubygems libzip-ruby1.9.1 scons libxml2-dev libgtk2.0-dev python-dev ruby-dev libdbus-glib-1-dev libnotify-dev libgstreamer0.10-dev libxss-dev libcurl4-openssl-dev git-core dpkg dpkg-dev make cmake autoconf

    • This pulls down 232 packages and ~730MB of data with CinaMint 13 installed I received 357 packages using 969MB of additional space with 373MB needed to download
    • You will get prompted for a Kerberos Realm, enter what you have/would call the network in your home (Windows Workgroup name, or the domain name your computer will be connected to) in ALL CAPS.COM
    • You will then be prompted for a hostname, twice, enter the computer name of the computer you are currently installing all of this on, unless you are on a domain
    • This should finish installing a wee bit after you enter that information
  4. Wine
  5. Just a note, there is a ppa you can add to install the latest version of wine (v1.5 at this time) without going through all of this.

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get build-dep wine1.5 && sudo apt-get install wine1.5

    if you want, you can follow the below, but I was not able to get it resolved. Some of this will be needed to build other apps from source later.

    mkdir -p ~/build-loc/wine && cd ~/build-loc/wine && sudo apt-get build-deps wine1.4 && wget http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh && chmod +x *.sh


    vi ./install-wine-deps

    • {ESC} 630G {ENTER}
    • {ESC} yypjcwLinux*Mint*13 {ESC} l6x
    • {ESC} 661G {ENTER}
    • {ESC} 4wcw13 {ESC}
    • {ESC} 686G {ENTER}
    • {ESC} 4wcw13 {ESC}
      • for Ubuntu 12.04 type “{ESC} 14wcw12 {ESC}
      • what you are doing is moving to line 630 and copying the ubuntu12.04 line, then changing it to read linuxmint13 then on to line 661 and changing “Linux*Mint*7 to 13 or Ubuntu*8.04 to 12.04, then again on line 686, else you will receive an OS not supported error message


    sudo apt-get install jed-extra && sudo ./install-wine-deps.sh

  6. This will install 16 new packages using 9,773KB of additional space and remove 1 package AND install 244 new packages using 244MB of additional space and remove 2 packages AND install 4 new packages using 1,867KB of additional space and remove 0 packages
  7. These next couple of installs take a bit of time, a few are short and quick, one is really long. I recommend running the next two in separate windows at the same time. At the end of this list of commands I have put a link where you can download a text file with all of these commands in them, that you can run as a script to do it all in one shot so you can let it go over night, or while you go do something else. I tried this on Mint 13 and I ran in to the following error:

    aclocal: macro `_LT_DECL_SED' required but not defined
    aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
    aclocal: configure.ac: 304: macro `AM_PROG_CC_C_O' not found in library
    autoreconf: aclocal failed with exit status: 1

    The cause is having an older version of automake installed. The default version included with my Mint 13 clean install was 1.7 dated from 2002, there is a new version 1.12 from June 1st 2012 that I install below. (follow the code brackets in order to avoid the errors I received).

    cd ~/build-loc && mkdir automake && cd automake && wget http://ftp.gnu.org/gnu/automake/automake-1.12.1.tar.gz && tar -xf automake-1.12.1.tar.gz && cd automake-1.12.1 && ./configure && make && sudo make install

    After this I try again and I get some new errors…

    configure.ac:110: error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.ac:220: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
    autoreconf2.50: /usr/bin/autoconf failed with exit status: 1

    searching online says you need to install “libtool” well I already did that in one of the above steps, I tried reinstalling it too, no change.

    cd ~/build-loc && mkdir gmp && cd gmp && wget http://ftp.gnu.org/gnu/gmp/gmp-5.0.5.tar.bz2 && tar -xf gmp-5.0.5.tar.bz2 && cd gmp-5.0.5 && ./configure && make && sudo make install

    Tried again, still no change. Tried something new on a whim…

    sudo apt-get build-dep gcc-defaults && sudo apt-get install --install-suggests texi2html libgmp3-dev libmpfr-dev

    This downloaded 19 new packages and used 100MB of space including 35.4MB downloaded AND 24 new packages using 347MB of space. And I still got the same errors, but the good news is that the last two steps at least were necessary evils.

    cd ~/build-loc && mkdir gcc && cd gcc && wget http://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2 && tar -xf gcc-4.7.0.tar.bz2 && cd gcc-4.7.0 && ./contrib/download_prerequisites && mkdir ../make-loc && cd ../make-loc && ~/build-loc/gcc/gcc-4.7.0/configure --prefix=/opt/gcc-4.7.0 && make && sudo make install


    cd ~/build-loc && svn co svn://scm.gforge.inria.fr/svn/mpfr/trunk mpfr && cd mpfr && autoreconf -f -i && autoreconf -f -i && ./configure && make && sudo make install


    cd ~/build-loc && svn checkout svn://scm.gforge.inria.fr/svn/mpc/trunk mpc && cd mpc && autoreconf -f -i && autoreconf -f -i && ./configure && make && sudo make install

    So I found a step that allows you to skip the above, but you need to do one more thing first…

    sudo apt-get install --install-suggests libboost1.46-all-dev binutils libc6-dev

    This installs 250 new packages and downloads 373MB of new data, taking up 1,887MB of disk space! a good number of these are probably not needed by anyone following this guide (including me) and you may want to look into removing them at a later time (such as Tomcat!), but for now the concern is getting these things to build, I am not worried about extra things being installed at this time. I have a good firewall.

    ok, still not working, but I have better news… I have a new error message, a known problem, a patch I can’t find how to install, and a work around…
    Let’s start with the error (something like this, I thought I already had copied it here, then I fixed it and realized I had not, so your error may or may not look like this):

    /usr/bin/ld: error: cannot open crt1.o: No such file or directory
    /usr/bin/ld: error: cannot open crti.o: No such file or directory
    /usr/bin/ld: error: cannot open crtn.o: No such file or directory
    collect2: ld returned 1 exit status
    make: *** [mc] Error 1

    If you have been following along this guide and have done everything from the beginning you will be able to use this work around to fix the build error:

    sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64

    If you are interested in the problem, or the correct solution (a patch to the build process for gcc) you can get it from the gcc patches mailing list. The actual problem is described in the references posts, or you can just go to this Debian bug report for some of it, and if you want more, google debian multiarch changes.

    Hopefully you just ran the link command above. now head on down to the next code section and you should be able to build GCC and move on!

    This next step takes a really long time, long enough to go do your weekly grocery shopping, or get a nice nap. (I got my 6 month old into a stroller, went down the street to a neighbors, visited for a while, came back and it was still running… I’ve been home 2.5 hours now and it is still going) So fire away and go take a break! ***Update on this, with the changes in Mint 13/Ubuntu 12.04 that caused me to have to rewrite this entire section and spend 3 days trying to make it work, the build process ended significantly quicker. Hope you have the same luck.

    cd ~/build-loc && svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn && cd gcc-svn && ./contrib/download_prerequisites && ./contrib/gcc_update && export LIBRARY_PATH=/usr/lib/i386-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu && ./configure && make && sudo make install

    Now we can actually install Wine (note this builds a 32bit AND 64bit install for Wine)

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update && sudo apt-get install libjack-dev libjack0 gstreamer0.10-plugins-good:i386 ia32-libs ia32-libs-multiarch:i386 libasound2-plugins:i386 libjack-jackd2-0 libjack-jackd2-0:i386 gobject* pthread* xext* lib32bz2-dev libpulse-dev && sudo apt-get install --install-suggests flex bison qt3-dev-tools qt4-qmake && sudo apt-get dselect-upgrade

    You may need to know, the default window manager for mint is “MDM”

    mkdir ~/build-loc/wine/ && cd ~/build-loc/wine && git clone git://source.winehq.org/git/wine.git wine-git
    mkdir ~/build-loc/wine/wine64 && cd ~/build-loc/wine/wine64 && ../wine-git/configure --enable-win64 && make && sudo make install
    mkdir ~/build-loc/wine/wine32 && cd ~/build-loc/wine/wine32 && ../wine-git/configure --with-wine64=../wine64 && make && sudo make install

    I get an error message at this point that I have been unable to resolve.cd ~/Down

    cd ~/build-loc && svn checkout http://winetricks.googlecode.com/svn/trunk/ winetricks && sudo cp src/winetricks /usr/local/bin/
    chmod +x ~/build-loc/winetricks/src/install-gecko.sh && ~/build-loc/winetricks/src/install-gecko.sh

    • My best guess was that it took 5-10 minutes to get the git source, 30-45 minutes to build and install wine64 and the same again for wine32. Once I get a script uploaded to do this for you, you may wnat to run it instead of entering each line, so you can start it and then go to bed! It will take me a bit to figure out how to code the Vi editing into a script, I know I can do it, but will have to look up the correct syntax, so it might be a while before I get it done.

    —————————————————————————————
    None of this is necessary with mint 13, as it ships with this version on vlc installed already. But I’ll leave this here incase someone wants to build it anyway.

  8. VLC video player

    1. mkdir ~/build-loc/vlc && cd ~/build-loc/vlc && sudo apt-get build-deps vlc && wget http://download.videolan.org/pub/vlc/2.0.1/vlc-2.0.1.tar.xz && tar -xf vlc-2.0.1.tar.xz && cd ..

    2. That should add 93 packages taking up 37.5MB of space. Now you have the source, but you need to do a few more things before it will build
      • In case you have errors that I do not cover you can download all the necessary dependencies from VLC’s homepage<, please note that these may or may not be up to date versions./li>‘


      sudo apt-get install --install-suggests liba52-0.7.4-dev libgcrypt11-dev libflac-dev libgpod-dev libindicate-dev libzvbi-common libzvbi-dev libzvbi0 libwxgtk2.8-dev libtagc0-dev libsqlite3-dev libcurl4-gnutls-dev yasm

      • When prompted, select No, unless you are installing this on a high end system (6+ CPU cores with 8GB+ RAM), else you may have random system lock ups and not know why


      cd ~/build-loc && svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg && cd ffmpeg && ./configure --prefix=~/build-loc/vlc/vlc-2.0.1/contrib
      make install

    3. Now we can start building a fully functional VLC
      1. cd ~/build-loc/vlc/vlc-2.0.1 && ./bootstrap && ./configure --enable-x11 --enable-xvideo --enable-sdl --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --with-live555-tree=/usr/lib/live
        --enable-caca --enable-skins --enable-skins2 --enable-alsa --enable-qt4 --enable-ncurses
        make && sudo make install


    ------------------------------------------------------------------------------

  9. Citrix
    1. https://www.citrix.com/English/SS/downloads/details.asp?downloadId=2323812&productId=1689163
      • Download the citrix receiver and the USB .deb files for x64 linux


      sudo apt-get install --install-suggests motif-clients && sudo mkdir -p /usr/lib/ICAClient/keystore/cacerts && sudo apt-get install -f && sudo dpkg -i ~/Downloads/icaclient*.deb
      sudo vi /var/lib/dpkg/info/icaclient.postinst

      • The last part of the line above will open the VI editor so you can fix the problem with the following commands.
      • {ESC} :%s/"i\[0-9\]86"/-iE "86_64"/ {ENTER}
      • {ESC} :wq! {ENTER}

      after this first line the license agreement will pop up, obviously you have to agree to it.

      sudo dpkg --configure -a && sudo dpkg -i ~/Downloads/ctxusb*.deb
      sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts
      sudo wget -P /opt/Citrix/ICAClient/keystore/cacerts --no-check-certificate https://certs.godaddy.com/repository/gd-class2-root.crt https://certs.godaddy.com/repository/gd_intermediate.crt https://certs.godaddy.com/repository/gd_cross_intermediate.crt

      • The third line (the wget) is to add the GoDaddy Certificates for Citrix, which my work requires. If you skip this line and then get an SSL 61 error when trying to connect to your citrix and it mentions GoDaddy, come back and run that line then try again. The second line should resolve most non-GoDaddy errors. The GoDaddy errors are caused by GoDaddy changing the filename of their certs, either voluntarily or not. Also, there is no harm in running it now or skipping it and doing it later.
    2. just a note, the first time I set Citrix up on 64 bit Mint 12 it took 3-8 minutes for a click on a citrix app link to open, but it opened EVERY click, so while I was learning this, I clicked maybe 30 times... just an fyi. (seems to be a bit faster now with mint 13, not sure what I did different)

    Not sure I want to do the scripts, as there are so many issues that could happen and it is not that hard to just copy and paste the code from here... will see, I'll either do it or I won't. if someone requests it in the comments, then I'll go ahead and make them.

Ok, so my FreeBSD box boots, I have the beastie to welcome me to my system, KDE launches when I type startx, my mouse and KB both work from the console and in KDE, and my system is nearly completely up to date.  All looking good so far, now I need to get some things working in KDE, I am not sure if I want to install the ATI drivers… it always leads me back to the dreaded “blank black screen”  so I may hold out on doing that, as the last time I installed them I had to do a reinstall of the system to get booted again.  Although I may not have to worry about that since I have KDE setup to load only when I tell it to.

 

The first thing I noticed is there is no GUI package management system, I do not mind running it from the console, in fact I may just prefer it; however I do not like not having the option to do so.  so here is a list of things I need to do to get everything where I want it… (not in any particular order)

 

  1. install VirtualBox (done but not running/needs configuration)
  2. install VMWare Workstation (I have a license for either 6.0 or 6.5 on ebay for linux x64 a while back for $5, I was the only one who bid.  I have the iso somewhere on one of my drives)
  3. mount all my ntfs drives and setup nfs support (all done before I started writing this except for 2 folders I want mounted in specific places)
  4. test my remote and local network ssh login (should be setup already, except forwarding the port on the router)
  5. get Google Chrome working
  6. test audio and video playback (can I watch hulu?)
  7. get my VM‘s to launch and successfully run programs (should be easy after installing the correct apps and configuring them, worried about the ATI drivers)
  8. install firefox (my backup browser for when web pages don’t work in chrome)
  9. test remote access to FreeBSD for my mounted ntfs drives (I have a friend in Korea that is willing to help)
  10. begin converting  my ntfs drives to a better FS
  11. convert my drives from MBR to GPT to utilize GUID‘s
  12. find a port/package manager GUI interface for KDE
  13. eliminate all traces of Gnome from my computer (several packages I have installed have dependencies that have Gnome in the name, need to find out if they are necessary and nuke em if not!!)
  14. build my first kernel
  15. get wine installed and working (in case I have something that will refuses to run in a VM)
  16. either install some older DOS games (<—two different links there) or find something newer out there install and get them working (VM or wine, just for fun and to say “oh yeah I love that game, I still it installed on my system…”)
  17. get Xorg port forwarding to work with cygwin.
  18. setup a respectable backup system (currently my backup drive turned into emergency storage when I had a few HDD’s all fail within weeks of each other last year, now I have new drives and enough storage space, I even copied the data off the external backup, but have not yet done a backup of FreeBSD.  Might make this item number one!!)
  19. get java working (part of getting hulu to run)
  20. get flash working (part of getting hulu to run)

 

Sorry about not getting this up sooner, I thought I posted it before I went out of town last week, but I found it today sitting here the drafts section still needing some work…

Tagged with:
 

Ok, so first, sorry I have not posted in a while.  First I was out of the continental united states for a couple of weeks in December, then had some pet problems in early January, followed up with breaking the crap out of my leg January 16th. I cracked my Tibia clean through about 3 inches above my ankle and then the tibia split up the bone about 6 inches, followed by cracking my fibula clean through just above the split in my tibia.  I have a lovely 8″ metal plate in my leg with 15 screws now.  so I do actually have a couple of good reasons for not posting.  I just started feeling somewhat better, I got my appetite back this past Saturday and my pain is mostly manageable even though I rarely find a comfortable position to sit/lay. in

Happier news…

Sprint is finally getting an Android phone with the new 1GHz SnapDragon processor by Qualcomm (extra cool it is capable of going up to 1.5 GHz if I remember correctly). The HTC Super-sonic. Hopefully late March, early April!! finally! I’ve been waiting since October…

Next up, back to my lovely PC, most everything seems to be working just fine now, I am running with the default BIOS settings and it works at least; however the PC sits on the BIOS POST image for almost 2 minutes before it actually starts POSTing.  Not sure what to do about that, I think I need to wait for the next BIOS update to fix that, but for now… it works.

So, I used a bootable CD with Paragon Defrag on it to Defrag my Windows 7 boot HDD and then used the Fedora 12 KDE x64 Live CD to install Fedora on the HDD by shrinking my Win7 partition by 100Gigs and then installed Fedora on it.

Now, the next time I booted into Windows 7 I got a message that my copy of Windows was not Genuine.  Not sure what’s up with that, but I haven’t done anything about it, and I have not gotten the message again.

Now back to Fedora… I added the proprietary drivers for my Motherboard’s ATI Radeon 3300HD in an attempt to try to use wine to play Dungeons and Dragons Online (DDO) and a couple of other things, mostly some older games…  after rebooting, I no longer get a GUI, just a blank black screen and about 8 lines down a blinking cursor.  I can type, I can hit enter, but it does not respond.  This has been going on since January 5th or so.  Today I found out that Fedora has Virtual terminals just like FreeBSD, so very cool, I can at least get to a prompt today.  Now I cannot find any assistance online for configuring the ATI drivers so I can get them to work.  I know that a couple of versions ago they changed the command to configure the drivers, but I can’t find any helpful, current, information for this.  I am lucky I found the aticonfig command again.  I think I can figure it out from here though.  It just bugs me that the only info I could find said not to use the drivers, then if you go to Wine‘s website they tell you if you don’t use the proprietary drivers that you can expect your games not to run well.  What a pain. (not as big of a pain as my leg though)  after searching for “aticonfig linux” I found some more info…

Will try and update again this week on how things are going, I am also working on my taxes so who knows… right now I am doing it on TurboTax.com but I think I will try a couple of others before I submit, even though I have used Turbo Tax for 15 years or so.

Tagged with:
 
10 visitors online now
6 guests, 4 bots, 0 members
Max visitors today: 11 at 02:27 pm PDT
This month: 18 at 05-16-2013 04:40 pm PDT
This year: 33 at 01-22-2013 09:22 pm PST
All time: 1100 at 08-08-2011 08:11 pm PDT